| // ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field |
| |
| // AUTO GENERATED FILE, DO NOT EDIT. |
| // |
| // Generated by `package:ffigen`. |
| import 'dart:ffi' as ffi; |
| import 'package:ffi/ffi.dart' as pkg_ffi; |
| |
| /// Tests calling Objective-C string methods |
| class StringTestObjCLibrary { |
| /// Holds the symbol lookup function. |
| final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName) |
| _lookup; |
| |
| /// The symbols are looked up in [dynamicLibrary]. |
| StringTestObjCLibrary(ffi.DynamicLibrary dynamicLibrary) |
| : _lookup = dynamicLibrary.lookup; |
| |
| /// The symbols are looked up with [lookup]. |
| StringTestObjCLibrary.fromLookup( |
| ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName) |
| lookup) |
| : _lookup = lookup; |
| |
| late final ffi.Pointer<ffi.Double> _NSFoundationVersionNumber = |
| _lookup<ffi.Double>('NSFoundationVersionNumber'); |
| |
| double get NSFoundationVersionNumber => _NSFoundationVersionNumber.value; |
| |
| set NSFoundationVersionNumber(double value) => |
| _NSFoundationVersionNumber.value = value; |
| |
| late final ffi.Pointer<NSInteger> _NSNotFound = |
| _lookup<NSInteger>('NSNotFound'); |
| |
| int get NSNotFound => _NSNotFound.value; |
| |
| set NSNotFound(int value) => _NSNotFound.value = value; |
| |
| late final ffi.Pointer<ffi.Double> _kCFCoreFoundationVersionNumber = |
| _lookup<ffi.Double>('kCFCoreFoundationVersionNumber'); |
| |
| double get kCFCoreFoundationVersionNumber => |
| _kCFCoreFoundationVersionNumber.value; |
| |
| set kCFCoreFoundationVersionNumber(double value) => |
| _kCFCoreFoundationVersionNumber.value = value; |
| |
| late final ffi.Pointer<CFIndex> _kCFNotFound = |
| _lookup<CFIndex>('kCFNotFound'); |
| |
| int get kCFNotFound => _kCFNotFound.value; |
| |
| set kCFNotFound(int value) => _kCFNotFound.value = value; |
| |
| late final ffi.Pointer<CFNullRef> _kCFNull = _lookup<CFNullRef>('kCFNull'); |
| |
| CFNullRef get kCFNull => _kCFNull.value; |
| |
| set kCFNull(CFNullRef value) => _kCFNull.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorDefault = |
| _lookup<CFAllocatorRef>('kCFAllocatorDefault'); |
| |
| CFAllocatorRef get kCFAllocatorDefault => _kCFAllocatorDefault.value; |
| |
| set kCFAllocatorDefault(CFAllocatorRef value) => |
| _kCFAllocatorDefault.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorSystemDefault = |
| _lookup<CFAllocatorRef>('kCFAllocatorSystemDefault'); |
| |
| CFAllocatorRef get kCFAllocatorSystemDefault => |
| _kCFAllocatorSystemDefault.value; |
| |
| set kCFAllocatorSystemDefault(CFAllocatorRef value) => |
| _kCFAllocatorSystemDefault.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorMalloc = |
| _lookup<CFAllocatorRef>('kCFAllocatorMalloc'); |
| |
| CFAllocatorRef get kCFAllocatorMalloc => _kCFAllocatorMalloc.value; |
| |
| set kCFAllocatorMalloc(CFAllocatorRef value) => |
| _kCFAllocatorMalloc.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorMallocZone = |
| _lookup<CFAllocatorRef>('kCFAllocatorMallocZone'); |
| |
| CFAllocatorRef get kCFAllocatorMallocZone => _kCFAllocatorMallocZone.value; |
| |
| set kCFAllocatorMallocZone(CFAllocatorRef value) => |
| _kCFAllocatorMallocZone.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorNull = |
| _lookup<CFAllocatorRef>('kCFAllocatorNull'); |
| |
| CFAllocatorRef get kCFAllocatorNull => _kCFAllocatorNull.value; |
| |
| set kCFAllocatorNull(CFAllocatorRef value) => _kCFAllocatorNull.value = value; |
| |
| late final ffi.Pointer<CFAllocatorRef> _kCFAllocatorUseContext = |
| _lookup<CFAllocatorRef>('kCFAllocatorUseContext'); |
| |
| CFAllocatorRef get kCFAllocatorUseContext => _kCFAllocatorUseContext.value; |
| |
| set kCFAllocatorUseContext(CFAllocatorRef value) => |
| _kCFAllocatorUseContext.value = value; |
| |
| ffi.Pointer<ObjCSel> _registerName1(String name) { |
| final cstr = name.toNativeUtf8(); |
| final sel = _sel_registerName(cstr.cast()); |
| pkg_ffi.calloc.free(cstr); |
| return sel; |
| } |
| |
| ffi.Pointer<ObjCSel> _sel_registerName( |
| ffi.Pointer<pkg_ffi.Char> str, |
| ) { |
| return __sel_registerName( |
| str, |
| ); |
| } |
| |
| late final __sel_registerNamePtr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCSel> Function( |
| ffi.Pointer<pkg_ffi.Char>)>>('sel_registerName'); |
| late final __sel_registerName = __sel_registerNamePtr |
| .asFunction<ffi.Pointer<ObjCSel> Function(ffi.Pointer<pkg_ffi.Char>)>(); |
| |
| ffi.Pointer<ObjCObject> _getClass1(String name) { |
| final cstr = name.toNativeUtf8(); |
| final clazz = _objc_getClass(cstr.cast()); |
| pkg_ffi.calloc.free(cstr); |
| return clazz; |
| } |
| |
| ffi.Pointer<ObjCObject> _objc_getClass( |
| ffi.Pointer<pkg_ffi.Char> str, |
| ) { |
| return __objc_getClass( |
| str, |
| ); |
| } |
| |
| late final __objc_getClassPtr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<pkg_ffi.Char>)>>('objc_getClass'); |
| late final __objc_getClass = __objc_getClassPtr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<pkg_ffi.Char>)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSValue1 = _getClass1("NSValue"); |
| late final ffi.Pointer<ObjCObject> _class_NSObject1 = _getClass1("NSObject"); |
| late final ffi.Pointer<ObjCSel> _sel_load1 = _registerName1("load"); |
| void _objc_msgSend_0( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_0( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_0Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initialize1 = |
| _registerName1("initialize"); |
| late final ffi.Pointer<ObjCSel> _sel_init1 = _registerName1("init"); |
| instancetype _objc_msgSend_1( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_1( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_1Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_new1 = _registerName1("new"); |
| late final ffi.Pointer<ObjCSel> _sel_allocWithZone_1 = |
| _registerName1("allocWithZone:"); |
| instancetype _objc_msgSend_2( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<_NSZone> zone, |
| ) { |
| return __objc_msgSend_2( |
| obj, |
| sel, |
| zone, |
| ); |
| } |
| |
| late final __objc_msgSend_2Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<_NSZone>)>>('objc_msgSend'); |
| late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<_NSZone>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_alloc1 = _registerName1("alloc"); |
| late final ffi.Pointer<ObjCSel> _sel_dealloc1 = _registerName1("dealloc"); |
| late final ffi.Pointer<ObjCSel> _sel_finalize1 = _registerName1("finalize"); |
| late final ffi.Pointer<ObjCSel> _sel_copy1 = _registerName1("copy"); |
| late final ffi.Pointer<ObjCSel> _sel_mutableCopy1 = |
| _registerName1("mutableCopy"); |
| late final ffi.Pointer<ObjCSel> _sel_copyWithZone_1 = |
| _registerName1("copyWithZone:"); |
| late final ffi.Pointer<ObjCSel> _sel_mutableCopyWithZone_1 = |
| _registerName1("mutableCopyWithZone:"); |
| late final ffi.Pointer<ObjCSel> _sel_instancesRespondToSelector_1 = |
| _registerName1("instancesRespondToSelector:"); |
| bool _objc_msgSend_3( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCSel> aSelector, |
| ) { |
| return __objc_msgSend_3( |
| obj, |
| sel, |
| aSelector, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_3Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_conformsToProtocol_1 = |
| _registerName1("conformsToProtocol:"); |
| bool _objc_msgSend_4( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> protocol, |
| ) { |
| return __objc_msgSend_4( |
| obj, |
| sel, |
| protocol, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_4Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_methodForSelector_1 = |
| _registerName1("methodForSelector:"); |
| IMP _objc_msgSend_5( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCSel> aSelector, |
| ) { |
| return __objc_msgSend_5( |
| obj, |
| sel, |
| aSelector, |
| ); |
| } |
| |
| late final __objc_msgSend_5Ptr = _lookup< |
| ffi.NativeFunction< |
| IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< |
| IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_instanceMethodForSelector_1 = |
| _registerName1("instanceMethodForSelector:"); |
| late final ffi.Pointer<ObjCSel> _sel_doesNotRecognizeSelector_1 = |
| _registerName1("doesNotRecognizeSelector:"); |
| void _objc_msgSend_6( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCSel> aSelector, |
| ) { |
| return __objc_msgSend_6( |
| obj, |
| sel, |
| aSelector, |
| ); |
| } |
| |
| late final __objc_msgSend_6Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_forwardingTargetForSelector_1 = |
| _registerName1("forwardingTargetForSelector:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_7( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCSel> aSelector, |
| ) { |
| return __objc_msgSend_7( |
| obj, |
| sel, |
| aSelector, |
| ); |
| } |
| |
| late final __objc_msgSend_7Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_forwardInvocation_1 = |
| _registerName1("forwardInvocation:"); |
| void _objc_msgSend_8( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> anInvocation, |
| ) { |
| return __objc_msgSend_8( |
| obj, |
| sel, |
| anInvocation, |
| ); |
| } |
| |
| late final __objc_msgSend_8Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSMethodSignature1 = |
| _getClass1("NSMethodSignature"); |
| late final ffi.Pointer<ObjCSel> _sel_methodSignatureForSelector_1 = |
| _registerName1("methodSignatureForSelector:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_9( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCSel> aSelector, |
| ) { |
| return __objc_msgSend_9( |
| obj, |
| sel, |
| aSelector, |
| ); |
| } |
| |
| late final __objc_msgSend_9Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_instanceMethodSignatureForSelector_1 = |
| _registerName1("instanceMethodSignatureForSelector:"); |
| late final ffi.Pointer<ObjCSel> _sel_allowsWeakReference1 = |
| _registerName1("allowsWeakReference"); |
| bool _objc_msgSend_10( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_10( |
| obj, |
| sel, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_10Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_retainWeakReference1 = |
| _registerName1("retainWeakReference"); |
| late final ffi.Pointer<ObjCSel> _sel_isSubclassOfClass_1 = |
| _registerName1("isSubclassOfClass:"); |
| late final ffi.Pointer<ObjCSel> _sel_resolveClassMethod_1 = |
| _registerName1("resolveClassMethod:"); |
| late final ffi.Pointer<ObjCSel> _sel_resolveInstanceMethod_1 = |
| _registerName1("resolveInstanceMethod:"); |
| late final ffi.Pointer<ObjCSel> _sel_hash1 = _registerName1("hash"); |
| int _objc_msgSend_11( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_11( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_11Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_superclass1 = |
| _registerName1("superclass"); |
| late final ffi.Pointer<ObjCSel> _sel_class1 = _registerName1("class"); |
| late final ffi.Pointer<ObjCObject> _class_NSString1 = _getClass1("NSString"); |
| late final ffi.Pointer<ObjCSel> _sel_length1 = _registerName1("length"); |
| late final ffi.Pointer<ObjCSel> _sel_characterAtIndex_1 = |
| _registerName1("characterAtIndex:"); |
| int _objc_msgSend_12( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int index, |
| ) { |
| return __objc_msgSend_12( |
| obj, |
| sel, |
| index, |
| ); |
| } |
| |
| late final __objc_msgSend_12Ptr = _lookup< |
| ffi.NativeFunction< |
| unichar Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithCoder_1 = |
| _registerName1("initWithCoder:"); |
| instancetype _objc_msgSend_13( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> coder, |
| ) { |
| return __objc_msgSend_13( |
| obj, |
| sel, |
| coder, |
| ); |
| } |
| |
| late final __objc_msgSend_13Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_stringWithCString_encoding_1 = |
| _registerName1("stringWithCString:encoding:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_14( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<pkg_ffi.Char> cString, |
| int enc, |
| ) { |
| return __objc_msgSend_14( |
| obj, |
| sel, |
| cString, |
| enc, |
| ); |
| } |
| |
| late final __objc_msgSend_14Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<pkg_ffi.Char>, |
| pkg_ffi.UnsignedInt)>>('objc_msgSend'); |
| late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_UTF8String1 = |
| _registerName1("UTF8String"); |
| ffi.Pointer<pkg_ffi.Char> _objc_msgSend_15( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_15( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_15Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<pkg_ffi.Char> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< |
| ffi.Pointer<pkg_ffi.Char> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_description1 = |
| _registerName1("description"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_16( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_16( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_16Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_debugDescription1 = |
| _registerName1("debugDescription"); |
| late final ffi.Pointer<ObjCSel> _sel_getValue_size_1 = |
| _registerName1("getValue:size:"); |
| void _objc_msgSend_17( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ffi.Void> value, |
| int size, |
| ) { |
| return __objc_msgSend_17( |
| obj, |
| sel, |
| value, |
| size, |
| ); |
| } |
| |
| late final __objc_msgSend_17Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Void>, NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Void>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_objCType1 = _registerName1("objCType"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithBytes_objCType_1 = |
| _registerName1("initWithBytes:objCType:"); |
| instancetype _objc_msgSend_18( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ffi.Void> value, |
| ffi.Pointer<pkg_ffi.Char> type, |
| ) { |
| return __objc_msgSend_18( |
| obj, |
| sel, |
| value, |
| type, |
| ); |
| } |
| |
| late final __objc_msgSend_18Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Void>, |
| ffi.Pointer<pkg_ffi.Char>)>>('objc_msgSend'); |
| late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Void>, ffi.Pointer<pkg_ffi.Char>)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSNumber1 = _getClass1("NSNumber"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithChar_1 = |
| _registerName1("initWithChar:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_19( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_19( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_19Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.Char)>>('objc_msgSend'); |
| late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedChar_1 = |
| _registerName1("initWithUnsignedChar:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_20( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_20( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_20Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedChar)>>('objc_msgSend'); |
| late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithShort_1 = |
| _registerName1("initWithShort:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_21( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_21( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_21Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.Short)>>('objc_msgSend'); |
| late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedShort_1 = |
| _registerName1("initWithUnsignedShort:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_22( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_22( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_22Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedShort)>>('objc_msgSend'); |
| late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithInt_1 = |
| _registerName1("initWithInt:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_23( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_23( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_23Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.Int)>>('objc_msgSend'); |
| late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedInt_1 = |
| _registerName1("initWithUnsignedInt:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_24( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_24( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_24Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedInt)>>('objc_msgSend'); |
| late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithLong_1 = |
| _registerName1("initWithLong:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_25( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_25( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_25Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.Long)>>('objc_msgSend'); |
| late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedLong_1 = |
| _registerName1("initWithUnsignedLong:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_26( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_26( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_26Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLong)>>('objc_msgSend'); |
| late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithLongLong_1 = |
| _registerName1("initWithLongLong:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_27( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_27( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_27Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.LongLong)>>('objc_msgSend'); |
| late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedLongLong_1 = |
| _registerName1("initWithUnsignedLongLong:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_28( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_28( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_28Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLongLong)>>('objc_msgSend'); |
| late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithFloat_1 = |
| _registerName1("initWithFloat:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_29( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| double value, |
| ) { |
| return __objc_msgSend_29( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_29Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Float)>>('objc_msgSend'); |
| late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithDouble_1 = |
| _registerName1("initWithDouble:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_30( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| double value, |
| ) { |
| return __objc_msgSend_30( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_30Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend'); |
| late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithBool_1 = |
| _registerName1("initWithBool:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_31( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| bool value, |
| ) { |
| return __objc_msgSend_31( |
| obj, |
| sel, |
| value ? 1 : 0, |
| ); |
| } |
| |
| late final __objc_msgSend_31Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Uint8)>>('objc_msgSend'); |
| late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithInteger_1 = |
| _registerName1("initWithInteger:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithUnsignedInteger_1 = |
| _registerName1("initWithUnsignedInteger:"); |
| late final ffi.Pointer<ObjCSel> _sel_charValue1 = _registerName1("charValue"); |
| int _objc_msgSend_32( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_32( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_32Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.Char Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_unsignedCharValue1 = |
| _registerName1("unsignedCharValue"); |
| int _objc_msgSend_33( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_33( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_33Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.UnsignedChar Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_shortValue1 = |
| _registerName1("shortValue"); |
| int _objc_msgSend_34( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_34( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_34Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.Short Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_unsignedShortValue1 = |
| _registerName1("unsignedShortValue"); |
| int _objc_msgSend_35( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_35( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_35Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.UnsignedShort Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_intValue1 = _registerName1("intValue"); |
| int _objc_msgSend_36( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_36( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_36Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.Int Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_unsignedIntValue1 = |
| _registerName1("unsignedIntValue"); |
| int _objc_msgSend_37( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_37( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_37Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.UnsignedInt Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_longValue1 = _registerName1("longValue"); |
| int _objc_msgSend_38( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_38( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_38Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.Long Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_unsignedLongValue1 = |
| _registerName1("unsignedLongValue"); |
| late final ffi.Pointer<ObjCSel> _sel_longLongValue1 = |
| _registerName1("longLongValue"); |
| int _objc_msgSend_39( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_39( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_39Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.LongLong Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_unsignedLongLongValue1 = |
| _registerName1("unsignedLongLongValue"); |
| int _objc_msgSend_40( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_40( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_40Ptr = _lookup< |
| ffi.NativeFunction< |
| pkg_ffi.UnsignedLongLong Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_floatValue1 = |
| _registerName1("floatValue"); |
| double _objc_msgSend_41( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_41( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_41Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Float Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< |
| double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_doubleValue1 = |
| _registerName1("doubleValue"); |
| double _objc_msgSend_42( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_42( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_42Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Double Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< |
| double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_boolValue1 = _registerName1("boolValue"); |
| late final ffi.Pointer<ObjCSel> _sel_integerValue1 = |
| _registerName1("integerValue"); |
| late final ffi.Pointer<ObjCSel> _sel_unsignedIntegerValue1 = |
| _registerName1("unsignedIntegerValue"); |
| late final ffi.Pointer<ObjCSel> _sel_stringValue1 = |
| _registerName1("stringValue"); |
| late final ffi.Pointer<ObjCSel> _sel_compare_1 = _registerName1("compare:"); |
| int _objc_msgSend_43( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> otherNumber, |
| ) { |
| return __objc_msgSend_43( |
| obj, |
| sel, |
| otherNumber, |
| ); |
| } |
| |
| late final __objc_msgSend_43Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_isEqualToNumber_1 = |
| _registerName1("isEqualToNumber:"); |
| late final ffi.Pointer<ObjCSel> _sel_descriptionWithLocale_1 = |
| _registerName1("descriptionWithLocale:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_44( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> locale, |
| ) { |
| return __objc_msgSend_44( |
| obj, |
| sel, |
| locale, |
| ); |
| } |
| |
| late final __objc_msgSend_44Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSEnumerator1 = |
| _getClass1("NSEnumerator"); |
| late final ffi.Pointer<ObjCSel> _sel_nextObject1 = |
| _registerName1("nextObject"); |
| late final ffi.Pointer<ObjCObject> _class_NSOrderedCollectionChange1 = |
| _getClass1("NSOrderedCollectionChange"); |
| late final ffi.Pointer<ObjCSel> _sel_object1 = _registerName1("object"); |
| late final ffi.Pointer<ObjCSel> _sel_changeType1 = |
| _registerName1("changeType"); |
| int _objc_msgSend_45( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ) { |
| return __objc_msgSend_45( |
| obj, |
| sel, |
| ); |
| } |
| |
| late final __objc_msgSend_45Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Int32 Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend'); |
| late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_index1 = _registerName1("index"); |
| late final ffi.Pointer<ObjCSel> _sel_associatedIndex1 = |
| _registerName1("associatedIndex"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithObject_type_index_1 = |
| _registerName1("initWithObject:type:index:"); |
| instancetype _objc_msgSend_46( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> anObject, |
| int type, |
| int index, |
| ) { |
| return __objc_msgSend_46( |
| obj, |
| sel, |
| anObject, |
| type, |
| index, |
| ); |
| } |
| |
| late final __objc_msgSend_46Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, ffi.Int32, NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_initWithObject_type_index_associatedIndex_1 = |
| _registerName1("initWithObject:type:index:associatedIndex:"); |
| instancetype _objc_msgSend_47( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> anObject, |
| int type, |
| int index, |
| int associatedIndex, |
| ) { |
| return __objc_msgSend_47( |
| obj, |
| sel, |
| anObject, |
| type, |
| index, |
| associatedIndex, |
| ); |
| } |
| |
| late final __objc_msgSend_47Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Int32, |
| NSUInteger, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int, int, int)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSIndexSet1 = |
| _getClass1("NSIndexSet"); |
| late final ffi.Pointer<ObjCSel> _sel_indexSet1 = _registerName1("indexSet"); |
| late final ffi.Pointer<ObjCSel> _sel_indexSetWithIndex_1 = |
| _registerName1("indexSetWithIndex:"); |
| instancetype _objc_msgSend_48( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_48( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_48Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexSetWithIndexesInRange_1 = |
| _registerName1("indexSetWithIndexesInRange:"); |
| instancetype _objc_msgSend_49( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| ) { |
| return __objc_msgSend_49( |
| obj, |
| sel, |
| range, |
| ); |
| } |
| |
| late final __objc_msgSend_49Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange)>>('objc_msgSend'); |
| late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithIndexesInRange_1 = |
| _registerName1("initWithIndexesInRange:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithIndexSet_1 = |
| _registerName1("initWithIndexSet:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithIndex_1 = |
| _registerName1("initWithIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_isEqualToIndexSet_1 = |
| _registerName1("isEqualToIndexSet:"); |
| late final ffi.Pointer<ObjCSel> _sel_count1 = _registerName1("count"); |
| late final ffi.Pointer<ObjCSel> _sel_firstIndex1 = |
| _registerName1("firstIndex"); |
| late final ffi.Pointer<ObjCSel> _sel_lastIndex1 = _registerName1("lastIndex"); |
| late final ffi.Pointer<ObjCSel> _sel_indexGreaterThanIndex_1 = |
| _registerName1("indexGreaterThanIndex:"); |
| int _objc_msgSend_50( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_50( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_50Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexLessThanIndex_1 = |
| _registerName1("indexLessThanIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_indexGreaterThanOrEqualToIndex_1 = |
| _registerName1("indexGreaterThanOrEqualToIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_indexLessThanOrEqualToIndex_1 = |
| _registerName1("indexLessThanOrEqualToIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_getIndexes_maxCount_inIndexRange_1 = |
| _registerName1("getIndexes:maxCount:inIndexRange:"); |
| int _objc_msgSend_51( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<NSUInteger> indexBuffer, |
| int bufferSize, |
| NSRangePointer range, |
| ) { |
| return __objc_msgSend_51( |
| obj, |
| sel, |
| indexBuffer, |
| bufferSize, |
| range, |
| ); |
| } |
| |
| late final __objc_msgSend_51Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<NSUInteger>, |
| NSUInteger, |
| NSRangePointer)>>('objc_msgSend'); |
| late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<NSUInteger>, int, NSRangePointer)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_countOfIndexesInRange_1 = |
| _registerName1("countOfIndexesInRange:"); |
| int _objc_msgSend_52( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| ) { |
| return __objc_msgSend_52( |
| obj, |
| sel, |
| range, |
| ); |
| } |
| |
| late final __objc_msgSend_52Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange)>>('objc_msgSend'); |
| late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_containsIndex_1 = |
| _registerName1("containsIndex:"); |
| bool _objc_msgSend_53( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_53( |
| obj, |
| sel, |
| value, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_53Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_containsIndexesInRange_1 = |
| _registerName1("containsIndexesInRange:"); |
| bool _objc_msgSend_54( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| ) { |
| return __objc_msgSend_54( |
| obj, |
| sel, |
| range, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_54Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange)>>('objc_msgSend'); |
| late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_containsIndexes_1 = |
| _registerName1("containsIndexes:"); |
| late final ffi.Pointer<ObjCSel> _sel_intersectsIndexesInRange_1 = |
| _registerName1("intersectsIndexesInRange:"); |
| late final ffi.Pointer<ObjCSel> _sel_enumerateIndexesUsingBlock_1 = |
| _registerName1("enumerateIndexesUsingBlock:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_enumerateIndexesWithOptions_usingBlock_1 = |
| _registerName1("enumerateIndexesWithOptions:usingBlock:"); |
| void _objc_msgSend_55( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int opts, |
| ffi.Pointer<ObjCObject> block, |
| ) { |
| return __objc_msgSend_55( |
| obj, |
| sel, |
| opts, |
| block, |
| ); |
| } |
| |
| late final __objc_msgSend_55Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_enumerateIndexesInRange_options_usingBlock_1 = |
| _registerName1("enumerateIndexesInRange:options:usingBlock:"); |
| void _objc_msgSend_56( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| int opts, |
| ffi.Pointer<ObjCObject> block, |
| ) { |
| return __objc_msgSend_56( |
| obj, |
| sel, |
| range, |
| opts, |
| block, |
| ); |
| } |
| |
| late final __objc_msgSend_56Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange, ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexPassingTest_1 = |
| _registerName1("indexPassingTest:"); |
| int _objc_msgSend_57( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_57( |
| obj, |
| sel, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_57Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexWithOptions_passingTest_1 = |
| _registerName1("indexWithOptions:passingTest:"); |
| int _objc_msgSend_58( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int opts, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_58( |
| obj, |
| sel, |
| opts, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_58Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexInRange_options_passingTest_1 = |
| _registerName1("indexInRange:options:passingTest:"); |
| int _objc_msgSend_59( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| int opts, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_59( |
| obj, |
| sel, |
| range, |
| opts, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_59Ptr = _lookup< |
| ffi.NativeFunction< |
| NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange, ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexesPassingTest_1 = |
| _registerName1("indexesPassingTest:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_60( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_60( |
| obj, |
| sel, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_60Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexesWithOptions_passingTest_1 = |
| _registerName1("indexesWithOptions:passingTest:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_61( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int opts, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_61( |
| obj, |
| sel, |
| opts, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_61Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Int32, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, int, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_indexesInRange_options_passingTest_1 = |
| _registerName1("indexesInRange:options:passingTest:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_62( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| int opts, |
| ffi.Pointer<ObjCObject> predicate, |
| ) { |
| return __objc_msgSend_62( |
| obj, |
| sel, |
| range, |
| opts, |
| predicate, |
| ); |
| } |
| |
| late final __objc_msgSend_62Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| NSRange, |
| ffi.Int32, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, NSRange, int, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_enumerateRangesUsingBlock_1 = |
| _registerName1("enumerateRangesUsingBlock:"); |
| late final ffi.Pointer<ObjCSel> _sel_enumerateRangesWithOptions_usingBlock_1 = |
| _registerName1("enumerateRangesWithOptions:usingBlock:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_enumerateRangesInRange_options_usingBlock_1 = |
| _registerName1("enumerateRangesInRange:options:usingBlock:"); |
| late final ffi.Pointer<ObjCObject> _class_NSMutableIndexSet1 = |
| _getClass1("NSMutableIndexSet"); |
| late final ffi.Pointer<ObjCSel> _sel_addIndexes_1 = |
| _registerName1("addIndexes:"); |
| late final ffi.Pointer<ObjCSel> _sel_removeIndexes_1 = |
| _registerName1("removeIndexes:"); |
| late final ffi.Pointer<ObjCSel> _sel_removeAllIndexes1 = |
| _registerName1("removeAllIndexes"); |
| late final ffi.Pointer<ObjCSel> _sel_addIndex_1 = _registerName1("addIndex:"); |
| void _objc_msgSend_63( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int value, |
| ) { |
| return __objc_msgSend_63( |
| obj, |
| sel, |
| value, |
| ); |
| } |
| |
| late final __objc_msgSend_63Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_removeIndex_1 = |
| _registerName1("removeIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_addIndexesInRange_1 = |
| _registerName1("addIndexesInRange:"); |
| void _objc_msgSend_64( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| ) { |
| return __objc_msgSend_64( |
| obj, |
| sel, |
| range, |
| ); |
| } |
| |
| late final __objc_msgSend_64Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange)>>('objc_msgSend'); |
| late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_removeIndexesInRange_1 = |
| _registerName1("removeIndexesInRange:"); |
| late final ffi.Pointer<ObjCSel> _sel_shiftIndexesStartingAtIndex_by_1 = |
| _registerName1("shiftIndexesStartingAtIndex:by:"); |
| void _objc_msgSend_65( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int index, |
| int delta, |
| ) { |
| return __objc_msgSend_65( |
| obj, |
| sel, |
| index, |
| delta, |
| ); |
| } |
| |
| late final __objc_msgSend_65Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger, NSInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSOrderedCollectionDifference1 = |
| _getClass1("NSOrderedCollectionDifference"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithChanges_1 = |
| _registerName1("initWithChanges:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_additionalChanges_1 = |
| _registerName1( |
| "initWithInsertIndexes:insertedObjects:removeIndexes:removedObjects:additionalChanges:"); |
| instancetype _objc_msgSend_66( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> inserts, |
| ffi.Pointer<ObjCObject> insertedObjects, |
| ffi.Pointer<ObjCObject> removes, |
| ffi.Pointer<ObjCObject> removedObjects, |
| ffi.Pointer<ObjCObject> changes, |
| ) { |
| return __objc_msgSend_66( |
| obj, |
| sel, |
| inserts, |
| insertedObjects, |
| removes, |
| removedObjects, |
| changes, |
| ); |
| } |
| |
| late final __objc_msgSend_66Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_1 = |
| _registerName1( |
| "initWithInsertIndexes:insertedObjects:removeIndexes:removedObjects:"); |
| instancetype _objc_msgSend_67( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> inserts, |
| ffi.Pointer<ObjCObject> insertedObjects, |
| ffi.Pointer<ObjCObject> removes, |
| ffi.Pointer<ObjCObject> removedObjects, |
| ) { |
| return __objc_msgSend_67( |
| obj, |
| sel, |
| inserts, |
| insertedObjects, |
| removes, |
| removedObjects, |
| ); |
| } |
| |
| late final __objc_msgSend_67Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_insertions1 = |
| _registerName1("insertions"); |
| late final ffi.Pointer<ObjCSel> _sel_removals1 = _registerName1("removals"); |
| late final ffi.Pointer<ObjCSel> _sel_hasChanges1 = |
| _registerName1("hasChanges"); |
| late final ffi.Pointer<ObjCSel> _sel_inverseDifference1 = |
| _registerName1("inverseDifference"); |
| late final ffi.Pointer<ObjCObject> _class_NSArray1 = _getClass1("NSArray"); |
| late final ffi.Pointer<ObjCSel> _sel_objectAtIndex_1 = |
| _registerName1("objectAtIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithObjects_count_1 = |
| _registerName1("initWithObjects:count:"); |
| instancetype _objc_msgSend_68( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ffi.Pointer<ObjCObject>> objects, |
| int cnt, |
| ) { |
| return __objc_msgSend_68( |
| obj, |
| sel, |
| objects, |
| cnt, |
| ); |
| } |
| |
| late final __objc_msgSend_68Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Pointer<ObjCObject>>, |
| NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ffi.Pointer<ObjCObject>>, int)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSMutableArray1 = |
| _getClass1("NSMutableArray"); |
| late final ffi.Pointer<ObjCSel> _sel_addObject_1 = |
| _registerName1("addObject:"); |
| late final ffi.Pointer<ObjCSel> _sel_insertObject_atIndex_1 = |
| _registerName1("insertObject:atIndex:"); |
| void _objc_msgSend_69( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> anObject, |
| int index, |
| ) { |
| return __objc_msgSend_69( |
| obj, |
| sel, |
| anObject, |
| index, |
| ); |
| } |
| |
| late final __objc_msgSend_69Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, NSUInteger)>>('objc_msgSend'); |
| late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_removeLastObject1 = |
| _registerName1("removeLastObject"); |
| late final ffi.Pointer<ObjCSel> _sel_removeObjectAtIndex_1 = |
| _registerName1("removeObjectAtIndex:"); |
| late final ffi.Pointer<ObjCSel> _sel_replaceObjectAtIndex_withObject_1 = |
| _registerName1("replaceObjectAtIndex:withObject:"); |
| void _objc_msgSend_70( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| int index, |
| ffi.Pointer<ObjCObject> anObject, |
| ) { |
| return __objc_msgSend_70( |
| obj, |
| sel, |
| index, |
| anObject, |
| ); |
| } |
| |
| late final __objc_msgSend_70Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSUInteger, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithCapacity_1 = |
| _registerName1("initWithCapacity:"); |
| late final ffi.Pointer<ObjCObject> _class_NSItemProvider1 = |
| _getClass1("NSItemProvider"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = |
| _registerName1( |
| "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); |
| void _objc_msgSend_71( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| int visibility, |
| ffi.Pointer<ObjCObject> loadHandler, |
| ) { |
| return __objc_msgSend_71( |
| obj, |
| sel, |
| typeIdentifier, |
| visibility, |
| loadHandler, |
| ); |
| } |
| |
| late final __objc_msgSend_71Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Int32, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = |
| _registerName1( |
| "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); |
| void _objc_msgSend_72( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| int fileOptions, |
| int visibility, |
| ffi.Pointer<ObjCObject> loadHandler, |
| ) { |
| return __objc_msgSend_72( |
| obj, |
| sel, |
| typeIdentifier, |
| fileOptions, |
| visibility, |
| loadHandler, |
| ); |
| } |
| |
| late final __objc_msgSend_72Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Int32, |
| ffi.Int32, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int, int, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_registeredTypeIdentifiers1 = |
| _registerName1("registeredTypeIdentifiers"); |
| late final ffi.Pointer<ObjCSel> _sel_hasItemConformingToTypeIdentifier_1 = |
| _registerName1("hasItemConformingToTypeIdentifier:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = |
| _registerName1( |
| "hasRepresentationConformingToTypeIdentifier:fileOptions:"); |
| bool _objc_msgSend_73( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| int fileOptions, |
| ) { |
| return __objc_msgSend_73( |
| obj, |
| sel, |
| typeIdentifier, |
| fileOptions, |
| ) != |
| 0; |
| } |
| |
| late final __objc_msgSend_73Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend'); |
| late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< |
| int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int)>(); |
| |
| late final ffi.Pointer<ObjCObject> _class_NSProgress1 = |
| _getClass1("NSProgress"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = |
| _registerName1( |
| "loadDataRepresentationForTypeIdentifier:completionHandler:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_74( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| ffi.Pointer<ObjCObject> completionHandler, |
| ) { |
| return __objc_msgSend_74( |
| obj, |
| sel, |
| typeIdentifier, |
| completionHandler, |
| ); |
| } |
| |
| late final __objc_msgSend_74Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = |
| _registerName1( |
| "loadFileRepresentationForTypeIdentifier:completionHandler:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = |
| _registerName1( |
| "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); |
| late final ffi.Pointer<ObjCSel> _sel_suggestedName1 = |
| _registerName1("suggestedName"); |
| late final ffi.Pointer<ObjCSel> _sel_setSuggestedName_1 = |
| _registerName1("setSuggestedName:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithObject_1 = |
| _registerName1("initWithObject:"); |
| late final ffi.Pointer<ObjCSel> _sel_registerObject_visibility_1 = |
| _registerName1("registerObject:visibility:"); |
| void _objc_msgSend_75( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> object, |
| int visibility, |
| ) { |
| return __objc_msgSend_75( |
| obj, |
| sel, |
| object, |
| visibility, |
| ); |
| } |
| |
| late final __objc_msgSend_75Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend'); |
| late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, int)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_registerObjectOfClass_visibility_loadHandler_1 = |
| _registerName1("registerObjectOfClass:visibility:loadHandler:"); |
| late final ffi.Pointer<ObjCSel> _sel_canLoadObjectOfClass_1 = |
| _registerName1("canLoadObjectOfClass:"); |
| late final ffi.Pointer<ObjCSel> _sel_loadObjectOfClass_completionHandler_1 = |
| _registerName1("loadObjectOfClass:completionHandler:"); |
| late final ffi.Pointer<ObjCSel> _sel_initWithItem_typeIdentifier_1 = |
| _registerName1("initWithItem:typeIdentifier:"); |
| instancetype _objc_msgSend_76( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> item, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| ) { |
| return __objc_msgSend_76( |
| obj, |
| sel, |
| item, |
| typeIdentifier, |
| ); |
| } |
| |
| late final __objc_msgSend_76Ptr = _lookup< |
| ffi.NativeFunction< |
| instancetype Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< |
| instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<ObjCSel> _sel_initWithContentsOfURL_1 = |
| _registerName1("initWithContentsOfURL:"); |
| late final ffi.Pointer<ObjCSel> |
| _sel_registerItemForTypeIdentifier_loadHandler_1 = |
| _registerName1("registerItemForTypeIdentifier:loadHandler:"); |
| void _objc_msgSend_77( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| NSItemProviderLoadHandler loadHandler, |
| ) { |
| return __objc_msgSend_77( |
| obj, |
| sel, |
| typeIdentifier, |
| loadHandler, |
| ); |
| } |
| |
| late final __objc_msgSend_77Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| NSItemProviderLoadHandler)>>('objc_msgSend'); |
| late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, NSItemProviderLoadHandler)>(); |
| |
| late final ffi.Pointer<ObjCSel> |
| _sel_loadItemForTypeIdentifier_options_completionHandler_1 = |
| _registerName1("loadItemForTypeIdentifier:options:completionHandler:"); |
| void _objc_msgSend_78( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> typeIdentifier, |
| ffi.Pointer<ObjCObject> options, |
| NSItemProviderCompletionHandler completionHandler, |
| ) { |
| return __objc_msgSend_78( |
| obj, |
| sel, |
| typeIdentifier, |
| options, |
| completionHandler, |
| ); |
| } |
| |
| late final __objc_msgSend_78Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| NSItemProviderCompletionHandler)>>('objc_msgSend'); |
| late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< |
| void Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>, |
| NSItemProviderCompletionHandler)>(); |
| |
| late final ffi.Pointer<ffi.Pointer<ObjCObject>> |
| _NSItemProviderPreferredImageSizeKey = |
| _lookup<ffi.Pointer<ObjCObject>>('NSItemProviderPreferredImageSizeKey'); |
| |
| ffi.Pointer<ObjCObject> get NSItemProviderPreferredImageSizeKey => |
| _NSItemProviderPreferredImageSizeKey.value; |
| |
| set NSItemProviderPreferredImageSizeKey(ffi.Pointer<ObjCObject> value) => |
| _NSItemProviderPreferredImageSizeKey.value = value; |
| |
| late final ffi.Pointer<ffi.Pointer<ObjCObject>> |
| _NSExtensionJavaScriptPreprocessingResultsKey = |
| _lookup<ffi.Pointer<ObjCObject>>( |
| 'NSExtensionJavaScriptPreprocessingResultsKey'); |
| |
| ffi.Pointer<ObjCObject> get NSExtensionJavaScriptPreprocessingResultsKey => |
| _NSExtensionJavaScriptPreprocessingResultsKey.value; |
| |
| set NSExtensionJavaScriptPreprocessingResultsKey( |
| ffi.Pointer<ObjCObject> value) => |
| _NSExtensionJavaScriptPreprocessingResultsKey.value = value; |
| |
| late final ffi.Pointer<ffi.Pointer<ObjCObject>> |
| _NSExtensionJavaScriptFinalizeArgumentKey = |
| _lookup<ffi.Pointer<ObjCObject>>( |
| 'NSExtensionJavaScriptFinalizeArgumentKey'); |
| |
| ffi.Pointer<ObjCObject> get NSExtensionJavaScriptFinalizeArgumentKey => |
| _NSExtensionJavaScriptFinalizeArgumentKey.value; |
| |
| set NSExtensionJavaScriptFinalizeArgumentKey(ffi.Pointer<ObjCObject> value) => |
| _NSExtensionJavaScriptFinalizeArgumentKey.value = value; |
| |
| late final ffi.Pointer<ffi.Pointer<ObjCObject>> _NSItemProviderErrorDomain = |
| _lookup<ffi.Pointer<ObjCObject>>('NSItemProviderErrorDomain'); |
| |
| ffi.Pointer<ObjCObject> get NSItemProviderErrorDomain => |
| _NSItemProviderErrorDomain.value; |
| |
| set NSItemProviderErrorDomain(ffi.Pointer<ObjCObject> value) => |
| _NSItemProviderErrorDomain.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToKatakana = |
| _lookup<NSStringTransform>('NSStringTransformLatinToKatakana'); |
| |
| NSStringTransform get NSStringTransformLatinToKatakana => |
| _NSStringTransformLatinToKatakana.value; |
| |
| set NSStringTransformLatinToKatakana(NSStringTransform value) => |
| _NSStringTransformLatinToKatakana.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToHiragana = |
| _lookup<NSStringTransform>('NSStringTransformLatinToHiragana'); |
| |
| NSStringTransform get NSStringTransformLatinToHiragana => |
| _NSStringTransformLatinToHiragana.value; |
| |
| set NSStringTransformLatinToHiragana(NSStringTransform value) => |
| _NSStringTransformLatinToHiragana.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToHangul = |
| _lookup<NSStringTransform>('NSStringTransformLatinToHangul'); |
| |
| NSStringTransform get NSStringTransformLatinToHangul => |
| _NSStringTransformLatinToHangul.value; |
| |
| set NSStringTransformLatinToHangul(NSStringTransform value) => |
| _NSStringTransformLatinToHangul.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToArabic = |
| _lookup<NSStringTransform>('NSStringTransformLatinToArabic'); |
| |
| NSStringTransform get NSStringTransformLatinToArabic => |
| _NSStringTransformLatinToArabic.value; |
| |
| set NSStringTransformLatinToArabic(NSStringTransform value) => |
| _NSStringTransformLatinToArabic.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToHebrew = |
| _lookup<NSStringTransform>('NSStringTransformLatinToHebrew'); |
| |
| NSStringTransform get NSStringTransformLatinToHebrew => |
| _NSStringTransformLatinToHebrew.value; |
| |
| set NSStringTransformLatinToHebrew(NSStringTransform value) => |
| _NSStringTransformLatinToHebrew.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToThai = |
| _lookup<NSStringTransform>('NSStringTransformLatinToThai'); |
| |
| NSStringTransform get NSStringTransformLatinToThai => |
| _NSStringTransformLatinToThai.value; |
| |
| set NSStringTransformLatinToThai(NSStringTransform value) => |
| _NSStringTransformLatinToThai.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToCyrillic = |
| _lookup<NSStringTransform>('NSStringTransformLatinToCyrillic'); |
| |
| NSStringTransform get NSStringTransformLatinToCyrillic => |
| _NSStringTransformLatinToCyrillic.value; |
| |
| set NSStringTransformLatinToCyrillic(NSStringTransform value) => |
| _NSStringTransformLatinToCyrillic.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformLatinToGreek = |
| _lookup<NSStringTransform>('NSStringTransformLatinToGreek'); |
| |
| NSStringTransform get NSStringTransformLatinToGreek => |
| _NSStringTransformLatinToGreek.value; |
| |
| set NSStringTransformLatinToGreek(NSStringTransform value) => |
| _NSStringTransformLatinToGreek.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformToLatin = |
| _lookup<NSStringTransform>('NSStringTransformToLatin'); |
| |
| NSStringTransform get NSStringTransformToLatin => |
| _NSStringTransformToLatin.value; |
| |
| set NSStringTransformToLatin(NSStringTransform value) => |
| _NSStringTransformToLatin.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformMandarinToLatin = |
| _lookup<NSStringTransform>('NSStringTransformMandarinToLatin'); |
| |
| NSStringTransform get NSStringTransformMandarinToLatin => |
| _NSStringTransformMandarinToLatin.value; |
| |
| set NSStringTransformMandarinToLatin(NSStringTransform value) => |
| _NSStringTransformMandarinToLatin.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> |
| _NSStringTransformHiraganaToKatakana = |
| _lookup<NSStringTransform>('NSStringTransformHiraganaToKatakana'); |
| |
| NSStringTransform get NSStringTransformHiraganaToKatakana => |
| _NSStringTransformHiraganaToKatakana.value; |
| |
| set NSStringTransformHiraganaToKatakana(NSStringTransform value) => |
| _NSStringTransformHiraganaToKatakana.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> |
| _NSStringTransformFullwidthToHalfwidth = |
| _lookup<NSStringTransform>('NSStringTransformFullwidthToHalfwidth'); |
| |
| NSStringTransform get NSStringTransformFullwidthToHalfwidth => |
| _NSStringTransformFullwidthToHalfwidth.value; |
| |
| set NSStringTransformFullwidthToHalfwidth(NSStringTransform value) => |
| _NSStringTransformFullwidthToHalfwidth.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformToXMLHex = |
| _lookup<NSStringTransform>('NSStringTransformToXMLHex'); |
| |
| NSStringTransform get NSStringTransformToXMLHex => |
| _NSStringTransformToXMLHex.value; |
| |
| set NSStringTransformToXMLHex(NSStringTransform value) => |
| _NSStringTransformToXMLHex.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformToUnicodeName = |
| _lookup<NSStringTransform>('NSStringTransformToUnicodeName'); |
| |
| NSStringTransform get NSStringTransformToUnicodeName => |
| _NSStringTransformToUnicodeName.value; |
| |
| set NSStringTransformToUnicodeName(NSStringTransform value) => |
| _NSStringTransformToUnicodeName.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> |
| _NSStringTransformStripCombiningMarks = |
| _lookup<NSStringTransform>('NSStringTransformStripCombiningMarks'); |
| |
| NSStringTransform get NSStringTransformStripCombiningMarks => |
| _NSStringTransformStripCombiningMarks.value; |
| |
| set NSStringTransformStripCombiningMarks(NSStringTransform value) => |
| _NSStringTransformStripCombiningMarks.value = value; |
| |
| late final ffi.Pointer<NSStringTransform> _NSStringTransformStripDiacritics = |
| _lookup<NSStringTransform>('NSStringTransformStripDiacritics'); |
| |
| NSStringTransform get NSStringTransformStripDiacritics => |
| _NSStringTransformStripDiacritics.value; |
| |
| set NSStringTransformStripDiacritics(NSStringTransform value) => |
| _NSStringTransformStripDiacritics.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionSuggestedEncodingsKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionSuggestedEncodingsKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionSuggestedEncodingsKey => |
| _NSStringEncodingDetectionSuggestedEncodingsKey.value; |
| |
| set NSStringEncodingDetectionSuggestedEncodingsKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionSuggestedEncodingsKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionDisallowedEncodingsKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionDisallowedEncodingsKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionDisallowedEncodingsKey => |
| _NSStringEncodingDetectionDisallowedEncodingsKey.value; |
| |
| set NSStringEncodingDetectionDisallowedEncodingsKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionDisallowedEncodingsKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionUseOnlySuggestedEncodingsKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionUseOnlySuggestedEncodingsKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionUseOnlySuggestedEncodingsKey => |
| _NSStringEncodingDetectionUseOnlySuggestedEncodingsKey.value; |
| |
| set NSStringEncodingDetectionUseOnlySuggestedEncodingsKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionUseOnlySuggestedEncodingsKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionAllowLossyKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionAllowLossyKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionAllowLossyKey => |
| _NSStringEncodingDetectionAllowLossyKey.value; |
| |
| set NSStringEncodingDetectionAllowLossyKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionAllowLossyKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionFromWindowsKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionFromWindowsKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionFromWindowsKey => |
| _NSStringEncodingDetectionFromWindowsKey.value; |
| |
| set NSStringEncodingDetectionFromWindowsKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionFromWindowsKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionLossySubstitutionKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionLossySubstitutionKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionLossySubstitutionKey => |
| _NSStringEncodingDetectionLossySubstitutionKey.value; |
| |
| set NSStringEncodingDetectionLossySubstitutionKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionLossySubstitutionKey.value = value; |
| |
| late final ffi.Pointer<NSStringEncodingDetectionOptionsKey> |
| _NSStringEncodingDetectionLikelyLanguageKey = |
| _lookup<NSStringEncodingDetectionOptionsKey>( |
| 'NSStringEncodingDetectionLikelyLanguageKey'); |
| |
| NSStringEncodingDetectionOptionsKey |
| get NSStringEncodingDetectionLikelyLanguageKey => |
| _NSStringEncodingDetectionLikelyLanguageKey.value; |
| |
| set NSStringEncodingDetectionLikelyLanguageKey( |
| NSStringEncodingDetectionOptionsKey value) => |
| _NSStringEncodingDetectionLikelyLanguageKey.value = value; |
| |
| late final ffi.Pointer<ObjCObject> _class_NSMutableString1 = |
| _getClass1("NSMutableString"); |
| late final ffi.Pointer<ObjCSel> _sel_replaceCharactersInRange_withString_1 = |
| _registerName1("replaceCharactersInRange:withString:"); |
| void _objc_msgSend_79( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| NSRange range, |
| ffi.Pointer<ObjCObject> aString, |
| ) { |
| return __objc_msgSend_79( |
| obj, |
| sel, |
| range, |
| aString, |
| ); |
| } |
| |
| late final __objc_msgSend_79Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, |
| NSRange, ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< |
| void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, |
| ffi.Pointer<ObjCObject>)>(); |
| |
| late final ffi.Pointer<NSExceptionName> _NSCharacterConversionException = |
| _lookup<NSExceptionName>('NSCharacterConversionException'); |
| |
| NSExceptionName get NSCharacterConversionException => |
| _NSCharacterConversionException.value; |
| |
| set NSCharacterConversionException(NSExceptionName value) => |
| _NSCharacterConversionException.value = value; |
| |
| late final ffi.Pointer<NSExceptionName> _NSParseErrorException = |
| _lookup<NSExceptionName>('NSParseErrorException'); |
| |
| NSExceptionName get NSParseErrorException => _NSParseErrorException.value; |
| |
| set NSParseErrorException(NSExceptionName value) => |
| _NSParseErrorException.value = value; |
| |
| late final ffi.Pointer<ObjCObject> _class_NSSimpleCString1 = |
| _getClass1("NSSimpleCString"); |
| late final ffi.Pointer<ObjCObject> _class_NSConstantString1 = |
| _getClass1("NSConstantString"); |
| late final ffi.Pointer<ObjCObject> _class_StringUtil1 = |
| _getClass1("StringUtil"); |
| late final ffi.Pointer<ObjCSel> _sel_strConcat_with_1 = |
| _registerName1("strConcat:with:"); |
| ffi.Pointer<ObjCObject> _objc_msgSend_80( |
| ffi.Pointer<ObjCObject> obj, |
| ffi.Pointer<ObjCSel> sel, |
| ffi.Pointer<ObjCObject> a, |
| ffi.Pointer<ObjCObject> b, |
| ) { |
| return __objc_msgSend_80( |
| obj, |
| sel, |
| a, |
| b, |
| ); |
| } |
| |
| late final __objc_msgSend_80Ptr = _lookup< |
| ffi.NativeFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>>('objc_msgSend'); |
| late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< |
| ffi.Pointer<ObjCObject> Function( |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCSel>, |
| ffi.Pointer<ObjCObject>, |
| ffi.Pointer<ObjCObject>)>(); |
| } |
| |
| abstract class NSComparisonResult { |
| static const int NSOrderedAscending = -1; |
| static const int NSOrderedSame = 0; |
| static const int NSOrderedDescending = 1; |
| } |
| |
| abstract class NSEnumerationOptions { |
| static const int NSEnumerationConcurrent = 1; |
| static const int NSEnumerationReverse = 2; |
| } |
| |
| abstract class NSSortOptions { |
| static const int NSSortConcurrent = 1; |
| static const int NSSortStable = 16; |
| } |
| |
| abstract class NSQualityOfService { |
| static const int NSQualityOfServiceUserInteractive = 33; |
| static const int NSQualityOfServiceUserInitiated = 25; |
| static const int NSQualityOfServiceUtility = 17; |
| static const int NSQualityOfServiceBackground = 9; |
| static const int NSQualityOfServiceDefault = -1; |
| } |
| |
| typedef NSInteger = pkg_ffi.Long; |
| |
| class __CFString extends ffi.Opaque {} |
| |
| abstract class CFComparisonResult { |
| static const int kCFCompareLessThan = -1; |
| static const int kCFCompareEqualTo = 0; |
| static const int kCFCompareGreaterThan = 1; |
| } |
| |
| typedef CFIndex = pkg_ffi.Long; |
| |
| class CFRange extends ffi.Struct { |
| @CFIndex() |
| external int location; |
| |
| @CFIndex() |
| external int length; |
| } |
| |
| class __CFNull extends ffi.Opaque {} |
| |
| typedef CFNullRef = ffi.Pointer<__CFNull>; |
| |
| class __CFAllocator extends ffi.Opaque {} |
| |
| typedef CFAllocatorRef = ffi.Pointer<__CFAllocator>; |
| |
| class CFAllocatorContext extends ffi.Struct { |
| @CFIndex() |
| external int version; |
| |
| external ffi.Pointer<ffi.Void> info; |
| |
| external CFAllocatorRetainCallBack retain; |
| |
| external CFAllocatorReleaseCallBack release; |
| |
| external CFAllocatorCopyDescriptionCallBack copyDescription; |
| |
| external CFAllocatorAllocateCallBack allocate; |
| |
| external CFAllocatorReallocateCallBack reallocate; |
| |
| external CFAllocatorDeallocateCallBack deallocate; |
| |
| external CFAllocatorPreferredSizeCallBack preferredSize; |
| } |
| |
| typedef CFAllocatorRetainCallBack = ffi.Pointer< |
| ffi.NativeFunction<ffi.Pointer<ffi.Void> Function(ffi.Pointer<ffi.Void>)>>; |
| typedef CFAllocatorReleaseCallBack |
| = ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>)>>; |
| typedef CFAllocatorCopyDescriptionCallBack = ffi |
| .Pointer<ffi.NativeFunction<CFStringRef Function(ffi.Pointer<ffi.Void>)>>; |
| typedef CFStringRef = ffi.Pointer<__CFString>; |
| typedef CFAllocatorAllocateCallBack = ffi.Pointer< |
| ffi.NativeFunction< |
| ffi.Pointer<ffi.Void> Function( |
| CFIndex, CFOptionFlags, ffi.Pointer<ffi.Void>)>>; |
| typedef CFOptionFlags = pkg_ffi.UnsignedLong; |
| typedef CFAllocatorReallocateCallBack = ffi.Pointer< |
| ffi.NativeFunction< |
| ffi.Pointer<ffi.Void> Function(ffi.Pointer<ffi.Void>, CFIndex, |
| CFOptionFlags, ffi.Pointer<ffi.Void>)>>; |
| typedef CFAllocatorDeallocateCallBack = ffi.Pointer< |
| ffi.NativeFunction< |
| ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Void>)>>; |
| typedef CFAllocatorPreferredSizeCallBack = ffi.Pointer< |
| ffi.NativeFunction< |
| CFIndex Function(CFIndex, CFOptionFlags, ffi.Pointer<ffi.Void>)>>; |
| |
| class _ObjCWrapper { |
| final ffi.Pointer<ObjCObject> _id; |
| final StringTestObjCLibrary _lib; |
| _ObjCWrapper._(this._id, this._lib); |
| } |
| |
| class NSValue extends NSObject { |
| NSValue._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSValue castFrom<T extends _ObjCWrapper>(T other) { |
| return NSValue._(other._id, other._lib); |
| } |
| |
| void getValue_size(ffi.Pointer<ffi.Void> value, int size) { |
| _lib._objc_msgSend_17(_id, _lib._sel_getValue_size_1, value, size); |
| } |
| |
| ffi.Pointer<pkg_ffi.Char> get objCType { |
| return _lib._objc_msgSend_15(_id, _lib._sel_objCType1); |
| } |
| |
| NSValue initWithBytes_objCType( |
| ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) { |
| final _ret = _lib._objc_msgSend_18( |
| _id, _lib._sel_initWithBytes_objCType_1, value, type); |
| return NSValue._(_ret, _lib); |
| } |
| |
| NSValue initWithCoder(NSObject coder) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithCoder_1, coder._id); |
| return NSValue._(_ret, _lib); |
| } |
| |
| static NSValue new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSValue1, _lib._sel_new1); |
| return NSValue._(_ret, _lib); |
| } |
| |
| static NSValue alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSValue1, _lib._sel_alloc1); |
| return NSValue._(_ret, _lib); |
| } |
| } |
| |
| class ObjCSel extends ffi.Opaque {} |
| |
| class ObjCObject extends ffi.Opaque {} |
| |
| class NSObject extends _ObjCWrapper { |
| NSObject._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSObject castFrom<T extends _ObjCWrapper>(T other) { |
| return NSObject._(other._id, other._lib); |
| } |
| |
| static void load(StringTestObjCLibrary _lib) { |
| _lib._objc_msgSend_0(_lib._class_NSObject1, _lib._sel_load1); |
| } |
| |
| static void initialize(StringTestObjCLibrary _lib) { |
| _lib._objc_msgSend_0(_lib._class_NSObject1, _lib._sel_initialize1); |
| } |
| |
| NSObject init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_new1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject allocWithZone( |
| StringTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) { |
| final _ret = _lib._objc_msgSend_2( |
| _lib._class_NSObject1, _lib._sel_allocWithZone_1, zone); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_alloc1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| void dealloc() { |
| _lib._objc_msgSend_0(_id, _lib._sel_dealloc1); |
| } |
| |
| void finalize() { |
| _lib._objc_msgSend_0(_id, _lib._sel_finalize1); |
| } |
| |
| NSObject copy() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_copy1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| NSObject mutableCopy() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_mutableCopy1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject copyWithZone( |
| StringTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) { |
| final _ret = _lib._objc_msgSend_2( |
| _lib._class_NSObject1, _lib._sel_copyWithZone_1, zone); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject mutableCopyWithZone( |
| StringTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) { |
| final _ret = _lib._objc_msgSend_2( |
| _lib._class_NSObject1, _lib._sel_mutableCopyWithZone_1, zone); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static bool instancesRespondToSelector( |
| StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> aSelector) { |
| return _lib._objc_msgSend_3(_lib._class_NSObject1, |
| _lib._sel_instancesRespondToSelector_1, aSelector); |
| } |
| |
| static bool conformsToProtocol( |
| StringTestObjCLibrary _lib, NSObject protocol) { |
| return _lib._objc_msgSend_4( |
| _lib._class_NSObject1, _lib._sel_conformsToProtocol_1, protocol._id); |
| } |
| |
| IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) { |
| return _lib._objc_msgSend_5(_id, _lib._sel_methodForSelector_1, aSelector); |
| } |
| |
| static IMP instanceMethodForSelector( |
| StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> aSelector) { |
| return _lib._objc_msgSend_5(_lib._class_NSObject1, |
| _lib._sel_instanceMethodForSelector_1, aSelector); |
| } |
| |
| void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) { |
| _lib._objc_msgSend_6(_id, _lib._sel_doesNotRecognizeSelector_1, aSelector); |
| } |
| |
| NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) { |
| final _ret = _lib._objc_msgSend_7( |
| _id, _lib._sel_forwardingTargetForSelector_1, aSelector); |
| return NSObject._(_ret, _lib); |
| } |
| |
| void forwardInvocation(NSObject anInvocation) { |
| _lib._objc_msgSend_8(_id, _lib._sel_forwardInvocation_1, anInvocation._id); |
| } |
| |
| NSMethodSignature methodSignatureForSelector(ffi.Pointer<ObjCSel> aSelector) { |
| final _ret = _lib._objc_msgSend_9( |
| _id, _lib._sel_methodSignatureForSelector_1, aSelector); |
| return NSMethodSignature._(_ret, _lib); |
| } |
| |
| static NSMethodSignature instanceMethodSignatureForSelector( |
| StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> aSelector) { |
| final _ret = _lib._objc_msgSend_9(_lib._class_NSObject1, |
| _lib._sel_instanceMethodSignatureForSelector_1, aSelector); |
| return NSMethodSignature._(_ret, _lib); |
| } |
| |
| bool allowsWeakReference() { |
| return _lib._objc_msgSend_10(_id, _lib._sel_allowsWeakReference1); |
| } |
| |
| bool retainWeakReference() { |
| return _lib._objc_msgSend_10(_id, _lib._sel_retainWeakReference1); |
| } |
| |
| static bool isSubclassOfClass(StringTestObjCLibrary _lib, NSObject aClass) { |
| return _lib._objc_msgSend_4( |
| _lib._class_NSObject1, _lib._sel_isSubclassOfClass_1, aClass._id); |
| } |
| |
| static bool resolveClassMethod( |
| StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) { |
| return _lib._objc_msgSend_3( |
| _lib._class_NSObject1, _lib._sel_resolveClassMethod_1, sel); |
| } |
| |
| static bool resolveInstanceMethod( |
| StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) { |
| return _lib._objc_msgSend_3( |
| _lib._class_NSObject1, _lib._sel_resolveInstanceMethod_1, sel); |
| } |
| |
| static int hash(StringTestObjCLibrary _lib) { |
| return _lib._objc_msgSend_11(_lib._class_NSObject1, _lib._sel_hash1); |
| } |
| |
| static NSObject superclass(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_superclass1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSObject class1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_class1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSString description(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_16(_lib._class_NSObject1, _lib._sel_description1); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSString debugDescription(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_16( |
| _lib._class_NSObject1, _lib._sel_debugDescription1); |
| return NSString._(_ret, _lib); |
| } |
| } |
| |
| typedef instancetype = ffi.Pointer<ObjCObject>; |
| |
| class _NSZone extends ffi.Opaque {} |
| |
| typedef IMP = ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>>; |
| |
| class NSMethodSignature extends _ObjCWrapper { |
| NSMethodSignature._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSMethodSignature castFrom<T extends _ObjCWrapper>(T other) { |
| return NSMethodSignature._(other._id, other._lib); |
| } |
| } |
| |
| typedef NSUInteger = pkg_ffi.UnsignedLong; |
| |
| class NSString extends NSObject { |
| NSString._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSString castFrom<T extends _ObjCWrapper>(T other) { |
| return NSString._(other._id, other._lib); |
| } |
| |
| factory NSString(StringTestObjCLibrary _lib, String str) { |
| final cstr = str.toNativeUtf8(); |
| final nsstr = stringWithCString_encoding(_lib, cstr.cast(), 4 /* UTF8 */); |
| pkg_ffi.calloc.free(cstr); |
| return nsstr; |
| } |
| |
| @override |
| String toString() => UTF8String().cast<pkg_ffi.Utf8>().toDartString(); |
| |
| int get length { |
| return _lib._objc_msgSend_11(_id, _lib._sel_length1); |
| } |
| |
| int characterAtIndex(int index) { |
| return _lib._objc_msgSend_12(_id, _lib._sel_characterAtIndex_1, index); |
| } |
| |
| @override |
| NSString init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSString._(_ret, _lib); |
| } |
| |
| NSString initWithCoder(NSObject coder) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithCoder_1, coder._id); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSString stringWithCString_encoding( |
| StringTestObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) { |
| final _ret = _lib._objc_msgSend_14(_lib._class_NSString1, |
| _lib._sel_stringWithCString_encoding_1, cString, enc); |
| return NSString._(_ret, _lib); |
| } |
| |
| ffi.Pointer<pkg_ffi.Char> UTF8String() { |
| return _lib._objc_msgSend_15(_id, _lib._sel_UTF8String1); |
| } |
| |
| static NSString new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSString1, _lib._sel_new1); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSString alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSString1, _lib._sel_alloc1); |
| return NSString._(_ret, _lib); |
| } |
| } |
| |
| extension StringToNSString on String { |
| NSString toNSString(StringTestObjCLibrary lib) => NSString(lib, this); |
| } |
| |
| typedef unichar = pkg_ffi.UnsignedShort; |
| |
| class NSNumber extends NSValue { |
| NSNumber._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSNumber castFrom<T extends _ObjCWrapper>(T other) { |
| return NSNumber._(other._id, other._lib); |
| } |
| |
| @override |
| NSNumber initWithCoder(NSObject coder) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithCoder_1, coder._id); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithChar(int value) { |
| final _ret = _lib._objc_msgSend_19(_id, _lib._sel_initWithChar_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedChar(int value) { |
| final _ret = |
| _lib._objc_msgSend_20(_id, _lib._sel_initWithUnsignedChar_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithShort(int value) { |
| final _ret = _lib._objc_msgSend_21(_id, _lib._sel_initWithShort_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedShort(int value) { |
| final _ret = |
| _lib._objc_msgSend_22(_id, _lib._sel_initWithUnsignedShort_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithInt(int value) { |
| final _ret = _lib._objc_msgSend_23(_id, _lib._sel_initWithInt_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedInt(int value) { |
| final _ret = |
| _lib._objc_msgSend_24(_id, _lib._sel_initWithUnsignedInt_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithLong(int value) { |
| final _ret = _lib._objc_msgSend_25(_id, _lib._sel_initWithLong_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedLong(int value) { |
| final _ret = |
| _lib._objc_msgSend_26(_id, _lib._sel_initWithUnsignedLong_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithLongLong(int value) { |
| final _ret = |
| _lib._objc_msgSend_27(_id, _lib._sel_initWithLongLong_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedLongLong(int value) { |
| final _ret = |
| _lib._objc_msgSend_28(_id, _lib._sel_initWithUnsignedLongLong_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithFloat(double value) { |
| final _ret = _lib._objc_msgSend_29(_id, _lib._sel_initWithFloat_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithDouble(double value) { |
| final _ret = _lib._objc_msgSend_30(_id, _lib._sel_initWithDouble_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithBool(bool value) { |
| final _ret = _lib._objc_msgSend_31(_id, _lib._sel_initWithBool_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithInteger(int value) { |
| final _ret = _lib._objc_msgSend_25(_id, _lib._sel_initWithInteger_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| NSNumber initWithUnsignedInteger(int value) { |
| final _ret = |
| _lib._objc_msgSend_26(_id, _lib._sel_initWithUnsignedInteger_1, value); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| int get charValue { |
| return _lib._objc_msgSend_32(_id, _lib._sel_charValue1); |
| } |
| |
| int get unsignedCharValue { |
| return _lib._objc_msgSend_33(_id, _lib._sel_unsignedCharValue1); |
| } |
| |
| int get shortValue { |
| return _lib._objc_msgSend_34(_id, _lib._sel_shortValue1); |
| } |
| |
| int get unsignedShortValue { |
| return _lib._objc_msgSend_35(_id, _lib._sel_unsignedShortValue1); |
| } |
| |
| int get intValue { |
| return _lib._objc_msgSend_36(_id, _lib._sel_intValue1); |
| } |
| |
| int get unsignedIntValue { |
| return _lib._objc_msgSend_37(_id, _lib._sel_unsignedIntValue1); |
| } |
| |
| int get longValue { |
| return _lib._objc_msgSend_38(_id, _lib._sel_longValue1); |
| } |
| |
| int get unsignedLongValue { |
| return _lib._objc_msgSend_11(_id, _lib._sel_unsignedLongValue1); |
| } |
| |
| int get longLongValue { |
| return _lib._objc_msgSend_39(_id, _lib._sel_longLongValue1); |
| } |
| |
| int get unsignedLongLongValue { |
| return _lib._objc_msgSend_40(_id, _lib._sel_unsignedLongLongValue1); |
| } |
| |
| double get floatValue { |
| return _lib._objc_msgSend_41(_id, _lib._sel_floatValue1); |
| } |
| |
| double get doubleValue { |
| return _lib._objc_msgSend_42(_id, _lib._sel_doubleValue1); |
| } |
| |
| bool get boolValue { |
| return _lib._objc_msgSend_10(_id, _lib._sel_boolValue1); |
| } |
| |
| int get integerValue { |
| return _lib._objc_msgSend_38(_id, _lib._sel_integerValue1); |
| } |
| |
| int get unsignedIntegerValue { |
| return _lib._objc_msgSend_11(_id, _lib._sel_unsignedIntegerValue1); |
| } |
| |
| NSObject get stringValue { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_stringValue1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| int compare(NSObject otherNumber) { |
| return _lib._objc_msgSend_43(_id, _lib._sel_compare_1, otherNumber._id); |
| } |
| |
| bool isEqualToNumber(NSObject number) { |
| return _lib._objc_msgSend_4(_id, _lib._sel_isEqualToNumber_1, number._id); |
| } |
| |
| NSString descriptionWithLocale(NSObject locale) { |
| final _ret = _lib._objc_msgSend_44( |
| _id, _lib._sel_descriptionWithLocale_1, locale._id); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSNumber new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSNumber1, _lib._sel_new1); |
| return NSNumber._(_ret, _lib); |
| } |
| |
| static NSNumber alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSNumber1, _lib._sel_alloc1); |
| return NSNumber._(_ret, _lib); |
| } |
| } |
| |
| class _NSRange extends ffi.Struct { |
| @NSUInteger() |
| external int location; |
| |
| @NSUInteger() |
| external int length; |
| } |
| |
| class NSFastEnumerationState extends ffi.Struct { |
| @pkg_ffi.UnsignedLong() |
| external int state; |
| |
| external ffi.Pointer<ffi.Pointer<ObjCObject>> itemsPtr; |
| |
| external ffi.Pointer<pkg_ffi.UnsignedLong> mutationsPtr; |
| |
| @ffi.Array.multi([5]) |
| external ffi.Array<pkg_ffi.UnsignedLong> extra; |
| } |
| |
| class NSEnumerator extends NSObject { |
| NSEnumerator._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSEnumerator castFrom<T extends _ObjCWrapper>(T other) { |
| return NSEnumerator._(other._id, other._lib); |
| } |
| |
| NSObject nextObject() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_nextObject1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| static NSEnumerator new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSEnumerator1, _lib._sel_new1); |
| return NSEnumerator._(_ret, _lib); |
| } |
| |
| static NSEnumerator alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSEnumerator1, _lib._sel_alloc1); |
| return NSEnumerator._(_ret, _lib); |
| } |
| } |
| |
| abstract class NSCollectionChangeType { |
| static const int NSCollectionChangeInsert = 0; |
| static const int NSCollectionChangeRemove = 1; |
| } |
| |
| class NSOrderedCollectionChange extends NSObject { |
| NSOrderedCollectionChange._( |
| ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSOrderedCollectionChange castFrom<T extends _ObjCWrapper>(T other) { |
| return NSOrderedCollectionChange._(other._id, other._lib); |
| } |
| |
| NSObject get object { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_object1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| int get changeType { |
| return _lib._objc_msgSend_45(_id, _lib._sel_changeType1); |
| } |
| |
| int get index { |
| return _lib._objc_msgSend_11(_id, _lib._sel_index1); |
| } |
| |
| int get associatedIndex { |
| return _lib._objc_msgSend_11(_id, _lib._sel_associatedIndex1); |
| } |
| |
| @override |
| NSObject init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| NSOrderedCollectionChange initWithObject_type_index( |
| NSObject anObject, int type, int index) { |
| final _ret = _lib._objc_msgSend_46( |
| _id, _lib._sel_initWithObject_type_index_1, anObject._id, type, index); |
| return NSOrderedCollectionChange._(_ret, _lib); |
| } |
| |
| NSOrderedCollectionChange initWithObject_type_index_associatedIndex( |
| NSObject anObject, int type, int index, int associatedIndex) { |
| final _ret = _lib._objc_msgSend_47( |
| _id, |
| _lib._sel_initWithObject_type_index_associatedIndex_1, |
| anObject._id, |
| type, |
| index, |
| associatedIndex); |
| return NSOrderedCollectionChange._(_ret, _lib); |
| } |
| |
| static NSOrderedCollectionChange new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1( |
| _lib._class_NSOrderedCollectionChange1, _lib._sel_new1); |
| return NSOrderedCollectionChange._(_ret, _lib); |
| } |
| |
| static NSOrderedCollectionChange alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1( |
| _lib._class_NSOrderedCollectionChange1, _lib._sel_alloc1); |
| return NSOrderedCollectionChange._(_ret, _lib); |
| } |
| } |
| |
| class NSIndexSet extends NSObject { |
| NSIndexSet._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSIndexSet castFrom<T extends _ObjCWrapper>(T other) { |
| return NSIndexSet._(other._id, other._lib); |
| } |
| |
| static NSIndexSet indexSet(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_indexSet1); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| static NSIndexSet indexSetWithIndex(StringTestObjCLibrary _lib, int value) { |
| final _ret = _lib._objc_msgSend_48( |
| _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndex_1, value); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| static NSIndexSet indexSetWithIndexesInRange( |
| StringTestObjCLibrary _lib, NSRange range) { |
| final _ret = _lib._objc_msgSend_49( |
| _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndexesInRange_1, range); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| NSIndexSet initWithIndexesInRange(NSRange range) { |
| final _ret = |
| _lib._objc_msgSend_49(_id, _lib._sel_initWithIndexesInRange_1, range); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| NSIndexSet initWithIndexSet(NSObject indexSet) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithIndexSet_1, indexSet._id); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| NSIndexSet initWithIndex(int value) { |
| final _ret = _lib._objc_msgSend_48(_id, _lib._sel_initWithIndex_1, value); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| bool isEqualToIndexSet(NSObject indexSet) { |
| return _lib._objc_msgSend_4( |
| _id, _lib._sel_isEqualToIndexSet_1, indexSet._id); |
| } |
| |
| int get count { |
| return _lib._objc_msgSend_11(_id, _lib._sel_count1); |
| } |
| |
| int get firstIndex { |
| return _lib._objc_msgSend_11(_id, _lib._sel_firstIndex1); |
| } |
| |
| int get lastIndex { |
| return _lib._objc_msgSend_11(_id, _lib._sel_lastIndex1); |
| } |
| |
| int indexGreaterThanIndex(int value) { |
| return _lib._objc_msgSend_50(_id, _lib._sel_indexGreaterThanIndex_1, value); |
| } |
| |
| int indexLessThanIndex(int value) { |
| return _lib._objc_msgSend_50(_id, _lib._sel_indexLessThanIndex_1, value); |
| } |
| |
| int indexGreaterThanOrEqualToIndex(int value) { |
| return _lib._objc_msgSend_50( |
| _id, _lib._sel_indexGreaterThanOrEqualToIndex_1, value); |
| } |
| |
| int indexLessThanOrEqualToIndex(int value) { |
| return _lib._objc_msgSend_50( |
| _id, _lib._sel_indexLessThanOrEqualToIndex_1, value); |
| } |
| |
| int getIndexes_maxCount_inIndexRange(ffi.Pointer<NSUInteger> indexBuffer, |
| int bufferSize, NSRangePointer range) { |
| return _lib._objc_msgSend_51( |
| _id, |
| _lib._sel_getIndexes_maxCount_inIndexRange_1, |
| indexBuffer, |
| bufferSize, |
| range); |
| } |
| |
| int countOfIndexesInRange(NSRange range) { |
| return _lib._objc_msgSend_52(_id, _lib._sel_countOfIndexesInRange_1, range); |
| } |
| |
| bool containsIndex(int value) { |
| return _lib._objc_msgSend_53(_id, _lib._sel_containsIndex_1, value); |
| } |
| |
| bool containsIndexesInRange(NSRange range) { |
| return _lib._objc_msgSend_54( |
| _id, _lib._sel_containsIndexesInRange_1, range); |
| } |
| |
| bool containsIndexes(NSObject indexSet) { |
| return _lib._objc_msgSend_4(_id, _lib._sel_containsIndexes_1, indexSet._id); |
| } |
| |
| bool intersectsIndexesInRange(NSRange range) { |
| return _lib._objc_msgSend_54( |
| _id, _lib._sel_intersectsIndexesInRange_1, range); |
| } |
| |
| void enumerateIndexesUsingBlock(NSObject block) { |
| _lib._objc_msgSend_8( |
| _id, _lib._sel_enumerateIndexesUsingBlock_1, block._id); |
| } |
| |
| void enumerateIndexesWithOptions_usingBlock(int opts, NSObject block) { |
| _lib._objc_msgSend_55(_id, |
| _lib._sel_enumerateIndexesWithOptions_usingBlock_1, opts, block._id); |
| } |
| |
| void enumerateIndexesInRange_options_usingBlock( |
| NSRange range, int opts, NSObject block) { |
| _lib._objc_msgSend_56( |
| _id, |
| _lib._sel_enumerateIndexesInRange_options_usingBlock_1, |
| range, |
| opts, |
| block._id); |
| } |
| |
| int indexPassingTest(NSObject predicate) { |
| return _lib._objc_msgSend_57( |
| _id, _lib._sel_indexPassingTest_1, predicate._id); |
| } |
| |
| int indexWithOptions_passingTest(int opts, NSObject predicate) { |
| return _lib._objc_msgSend_58( |
| _id, _lib._sel_indexWithOptions_passingTest_1, opts, predicate._id); |
| } |
| |
| int indexInRange_options_passingTest( |
| NSRange range, int opts, NSObject predicate) { |
| return _lib._objc_msgSend_59( |
| _id, |
| _lib._sel_indexInRange_options_passingTest_1, |
| range, |
| opts, |
| predicate._id); |
| } |
| |
| NSIndexSet indexesPassingTest(NSObject predicate) { |
| final _ret = _lib._objc_msgSend_60( |
| _id, _lib._sel_indexesPassingTest_1, predicate._id); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| NSIndexSet indexesWithOptions_passingTest(int opts, NSObject predicate) { |
| final _ret = _lib._objc_msgSend_61( |
| _id, _lib._sel_indexesWithOptions_passingTest_1, opts, predicate._id); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| NSIndexSet indexesInRange_options_passingTest( |
| NSRange range, int opts, NSObject predicate) { |
| final _ret = _lib._objc_msgSend_62( |
| _id, |
| _lib._sel_indexesInRange_options_passingTest_1, |
| range, |
| opts, |
| predicate._id); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| void enumerateRangesUsingBlock(NSObject block) { |
| _lib._objc_msgSend_8(_id, _lib._sel_enumerateRangesUsingBlock_1, block._id); |
| } |
| |
| void enumerateRangesWithOptions_usingBlock(int opts, NSObject block) { |
| _lib._objc_msgSend_55(_id, |
| _lib._sel_enumerateRangesWithOptions_usingBlock_1, opts, block._id); |
| } |
| |
| void enumerateRangesInRange_options_usingBlock( |
| NSRange range, int opts, NSObject block) { |
| _lib._objc_msgSend_56( |
| _id, |
| _lib._sel_enumerateRangesInRange_options_usingBlock_1, |
| range, |
| opts, |
| block._id); |
| } |
| |
| static NSIndexSet new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_new1); |
| return NSIndexSet._(_ret, _lib); |
| } |
| |
| static NSIndexSet alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_alloc1); |
| return NSIndexSet._(_ret, _lib); |
| } |
| } |
| |
| typedef NSRange = _NSRange; |
| typedef NSRangePointer = ffi.Pointer<NSRange>; |
| |
| class NSMutableIndexSet extends NSIndexSet { |
| NSMutableIndexSet._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSMutableIndexSet castFrom<T extends _ObjCWrapper>(T other) { |
| return NSMutableIndexSet._(other._id, other._lib); |
| } |
| |
| void addIndexes(NSObject indexSet) { |
| _lib._objc_msgSend_8(_id, _lib._sel_addIndexes_1, indexSet._id); |
| } |
| |
| void removeIndexes(NSObject indexSet) { |
| _lib._objc_msgSend_8(_id, _lib._sel_removeIndexes_1, indexSet._id); |
| } |
| |
| void removeAllIndexes() { |
| _lib._objc_msgSend_0(_id, _lib._sel_removeAllIndexes1); |
| } |
| |
| void addIndex(int value) { |
| _lib._objc_msgSend_63(_id, _lib._sel_addIndex_1, value); |
| } |
| |
| void removeIndex(int value) { |
| _lib._objc_msgSend_63(_id, _lib._sel_removeIndex_1, value); |
| } |
| |
| void addIndexesInRange(NSRange range) { |
| _lib._objc_msgSend_64(_id, _lib._sel_addIndexesInRange_1, range); |
| } |
| |
| void removeIndexesInRange(NSRange range) { |
| _lib._objc_msgSend_64(_id, _lib._sel_removeIndexesInRange_1, range); |
| } |
| |
| void shiftIndexesStartingAtIndex_by(int index, int delta) { |
| _lib._objc_msgSend_65( |
| _id, _lib._sel_shiftIndexesStartingAtIndex_by_1, index, delta); |
| } |
| |
| static NSMutableIndexSet indexSet(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1( |
| _lib._class_NSMutableIndexSet1, _lib._sel_indexSet1); |
| return NSMutableIndexSet._(_ret, _lib); |
| } |
| |
| static NSMutableIndexSet indexSetWithIndex( |
| StringTestObjCLibrary _lib, int value) { |
| final _ret = _lib._objc_msgSend_48( |
| _lib._class_NSMutableIndexSet1, _lib._sel_indexSetWithIndex_1, value); |
| return NSMutableIndexSet._(_ret, _lib); |
| } |
| |
| static NSMutableIndexSet indexSetWithIndexesInRange( |
| StringTestObjCLibrary _lib, NSRange range) { |
| final _ret = _lib._objc_msgSend_49(_lib._class_NSMutableIndexSet1, |
| _lib._sel_indexSetWithIndexesInRange_1, range); |
| return NSMutableIndexSet._(_ret, _lib); |
| } |
| |
| static NSMutableIndexSet new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableIndexSet1, _lib._sel_new1); |
| return NSMutableIndexSet._(_ret, _lib); |
| } |
| |
| static NSMutableIndexSet alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableIndexSet1, _lib._sel_alloc1); |
| return NSMutableIndexSet._(_ret, _lib); |
| } |
| } |
| |
| abstract class NSOrderedCollectionDifferenceCalculationOptions { |
| static const int NSOrderedCollectionDifferenceCalculationOmitInsertedObjects = |
| 1; |
| static const int NSOrderedCollectionDifferenceCalculationOmitRemovedObjects = |
| 2; |
| static const int NSOrderedCollectionDifferenceCalculationInferMoves = 4; |
| } |
| |
| class NSOrderedCollectionDifference extends NSObject { |
| NSOrderedCollectionDifference._( |
| ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSOrderedCollectionDifference castFrom<T extends _ObjCWrapper>( |
| T other) { |
| return NSOrderedCollectionDifference._(other._id, other._lib); |
| } |
| |
| NSOrderedCollectionDifference initWithChanges(NSObject changes) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithChanges_1, changes._id); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| |
| NSOrderedCollectionDifference |
| initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_additionalChanges( |
| NSObject inserts, |
| NSObject insertedObjects, |
| NSObject removes, |
| NSObject removedObjects, |
| NSObject changes) { |
| final _ret = _lib._objc_msgSend_66( |
| _id, |
| _lib._sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_additionalChanges_1, |
| inserts._id, |
| insertedObjects._id, |
| removes._id, |
| removedObjects._id, |
| changes._id); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| |
| NSOrderedCollectionDifference |
| initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects( |
| NSObject inserts, |
| NSObject insertedObjects, |
| NSObject removes, |
| NSObject removedObjects) { |
| final _ret = _lib._objc_msgSend_67( |
| _id, |
| _lib._sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_1, |
| inserts._id, |
| insertedObjects._id, |
| removes._id, |
| removedObjects._id); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| |
| NSObject get insertions { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_insertions1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| NSObject get removals { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_removals1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| bool get hasChanges { |
| return _lib._objc_msgSend_10(_id, _lib._sel_hasChanges1); |
| } |
| |
| NSOrderedCollectionDifference inverseDifference() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_inverseDifference1); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| |
| static NSOrderedCollectionDifference new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1( |
| _lib._class_NSOrderedCollectionDifference1, _lib._sel_new1); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| |
| static NSOrderedCollectionDifference alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1( |
| _lib._class_NSOrderedCollectionDifference1, _lib._sel_alloc1); |
| return NSOrderedCollectionDifference._(_ret, _lib); |
| } |
| } |
| |
| class NSArray extends NSObject { |
| NSArray._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSArray castFrom<T extends _ObjCWrapper>(T other) { |
| return NSArray._(other._id, other._lib); |
| } |
| |
| int get count { |
| return _lib._objc_msgSend_11(_id, _lib._sel_count1); |
| } |
| |
| NSObject objectAtIndex(int index) { |
| final _ret = _lib._objc_msgSend_48(_id, _lib._sel_objectAtIndex_1, index); |
| return NSObject._(_ret, _lib); |
| } |
| |
| @override |
| NSArray init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSArray._(_ret, _lib); |
| } |
| |
| NSArray initWithObjects_count( |
| ffi.Pointer<ffi.Pointer<ObjCObject>> objects, int cnt) { |
| final _ret = _lib._objc_msgSend_68( |
| _id, _lib._sel_initWithObjects_count_1, objects, cnt); |
| return NSArray._(_ret, _lib); |
| } |
| |
| NSArray initWithCoder(NSObject coder) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithCoder_1, coder._id); |
| return NSArray._(_ret, _lib); |
| } |
| |
| static NSArray new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSArray1, _lib._sel_new1); |
| return NSArray._(_ret, _lib); |
| } |
| |
| static NSArray alloc(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_NSArray1, _lib._sel_alloc1); |
| return NSArray._(_ret, _lib); |
| } |
| } |
| |
| abstract class NSBinarySearchingOptions { |
| static const int NSBinarySearchingFirstEqual = 256; |
| static const int NSBinarySearchingLastEqual = 512; |
| static const int NSBinarySearchingInsertionIndex = 1024; |
| } |
| |
| class NSMutableArray extends NSArray { |
| NSMutableArray._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSMutableArray castFrom<T extends _ObjCWrapper>(T other) { |
| return NSMutableArray._(other._id, other._lib); |
| } |
| |
| void addObject(NSObject anObject) { |
| _lib._objc_msgSend_8(_id, _lib._sel_addObject_1, anObject._id); |
| } |
| |
| void insertObject_atIndex(NSObject anObject, int index) { |
| _lib._objc_msgSend_69( |
| _id, _lib._sel_insertObject_atIndex_1, anObject._id, index); |
| } |
| |
| void removeLastObject() { |
| _lib._objc_msgSend_0(_id, _lib._sel_removeLastObject1); |
| } |
| |
| void removeObjectAtIndex(int index) { |
| _lib._objc_msgSend_63(_id, _lib._sel_removeObjectAtIndex_1, index); |
| } |
| |
| void replaceObjectAtIndex_withObject(int index, NSObject anObject) { |
| _lib._objc_msgSend_70( |
| _id, _lib._sel_replaceObjectAtIndex_withObject_1, index, anObject._id); |
| } |
| |
| @override |
| NSMutableArray init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSMutableArray._(_ret, _lib); |
| } |
| |
| NSMutableArray initWithCapacity(int numItems) { |
| final _ret = |
| _lib._objc_msgSend_48(_id, _lib._sel_initWithCapacity_1, numItems); |
| return NSMutableArray._(_ret, _lib); |
| } |
| |
| @override |
| NSMutableArray initWithCoder(NSObject coder) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithCoder_1, coder._id); |
| return NSMutableArray._(_ret, _lib); |
| } |
| |
| static NSMutableArray new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableArray1, _lib._sel_new1); |
| return NSMutableArray._(_ret, _lib); |
| } |
| |
| static NSMutableArray alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableArray1, _lib._sel_alloc1); |
| return NSMutableArray._(_ret, _lib); |
| } |
| } |
| |
| abstract class NSItemProviderRepresentationVisibility { |
| static const int NSItemProviderRepresentationVisibilityAll = 0; |
| static const int NSItemProviderRepresentationVisibilityTeam = 1; |
| static const int NSItemProviderRepresentationVisibilityGroup = 2; |
| static const int NSItemProviderRepresentationVisibilityOwnProcess = 3; |
| } |
| |
| abstract class NSItemProviderFileOptions { |
| static const int NSItemProviderFileOptionOpenInPlace = 1; |
| } |
| |
| class NSItemProvider extends NSObject { |
| NSItemProvider._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSItemProvider castFrom<T extends _ObjCWrapper>(T other) { |
| return NSItemProvider._(other._id, other._lib); |
| } |
| |
| @override |
| NSItemProvider init() { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_init1); |
| return NSItemProvider._(_ret, _lib); |
| } |
| |
| void registerDataRepresentationForTypeIdentifier_visibility_loadHandler( |
| NSObject typeIdentifier, int visibility, NSObject loadHandler) { |
| _lib._objc_msgSend_71( |
| _id, |
| _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, |
| typeIdentifier._id, |
| visibility, |
| loadHandler._id); |
| } |
| |
| void |
| registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler( |
| NSObject typeIdentifier, |
| int fileOptions, |
| int visibility, |
| NSObject loadHandler) { |
| _lib._objc_msgSend_72( |
| _id, |
| _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, |
| typeIdentifier._id, |
| fileOptions, |
| visibility, |
| loadHandler._id); |
| } |
| |
| NSObject get registeredTypeIdentifiers { |
| final _ret = |
| _lib._objc_msgSend_1(_id, _lib._sel_registeredTypeIdentifiers1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| bool hasItemConformingToTypeIdentifier(NSObject typeIdentifier) { |
| return _lib._objc_msgSend_4( |
| _id, _lib._sel_hasItemConformingToTypeIdentifier_1, typeIdentifier._id); |
| } |
| |
| bool hasRepresentationConformingToTypeIdentifier_fileOptions( |
| NSObject typeIdentifier, int fileOptions) { |
| return _lib._objc_msgSend_73( |
| _id, |
| _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, |
| typeIdentifier._id, |
| fileOptions); |
| } |
| |
| NSProgress loadDataRepresentationForTypeIdentifier_completionHandler( |
| NSObject typeIdentifier, NSObject completionHandler) { |
| final _ret = _lib._objc_msgSend_74( |
| _id, |
| _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, |
| typeIdentifier._id, |
| completionHandler._id); |
| return NSProgress._(_ret, _lib); |
| } |
| |
| NSProgress loadFileRepresentationForTypeIdentifier_completionHandler( |
| NSObject typeIdentifier, NSObject completionHandler) { |
| final _ret = _lib._objc_msgSend_74( |
| _id, |
| _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, |
| typeIdentifier._id, |
| completionHandler._id); |
| return NSProgress._(_ret, _lib); |
| } |
| |
| NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler( |
| NSObject typeIdentifier, NSObject completionHandler) { |
| final _ret = _lib._objc_msgSend_74( |
| _id, |
| _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, |
| typeIdentifier._id, |
| completionHandler._id); |
| return NSProgress._(_ret, _lib); |
| } |
| |
| NSObject get suggestedName { |
| final _ret = _lib._objc_msgSend_1(_id, _lib._sel_suggestedName1); |
| return NSObject._(_ret, _lib); |
| } |
| |
| set suggestedName(NSObject value) { |
| _lib._objc_msgSend_8(_id, _lib._sel_setSuggestedName_1, value._id); |
| } |
| |
| NSItemProvider initWithObject(NSObject object) { |
| final _ret = |
| _lib._objc_msgSend_13(_id, _lib._sel_initWithObject_1, object._id); |
| return NSItemProvider._(_ret, _lib); |
| } |
| |
| void registerObject_visibility(NSObject object, int visibility) { |
| _lib._objc_msgSend_75( |
| _id, _lib._sel_registerObject_visibility_1, object._id, visibility); |
| } |
| |
| void registerObjectOfClass_visibility_loadHandler( |
| NSObject aClass, int visibility, NSObject loadHandler) { |
| _lib._objc_msgSend_71( |
| _id, |
| _lib._sel_registerObjectOfClass_visibility_loadHandler_1, |
| aClass._id, |
| visibility, |
| loadHandler._id); |
| } |
| |
| bool canLoadObjectOfClass(NSObject aClass) { |
| return _lib._objc_msgSend_4( |
| _id, _lib._sel_canLoadObjectOfClass_1, aClass._id); |
| } |
| |
| NSProgress loadObjectOfClass_completionHandler( |
| NSObject aClass, NSObject completionHandler) { |
| final _ret = _lib._objc_msgSend_74( |
| _id, |
| _lib._sel_loadObjectOfClass_completionHandler_1, |
| aClass._id, |
| completionHandler._id); |
| return NSProgress._(_ret, _lib); |
| } |
| |
| NSItemProvider initWithItem_typeIdentifier( |
| NSObject item, NSObject typeIdentifier) { |
| final _ret = _lib._objc_msgSend_76(_id, |
| _lib._sel_initWithItem_typeIdentifier_1, item._id, typeIdentifier._id); |
| return NSItemProvider._(_ret, _lib); |
| } |
| |
| NSItemProvider initWithContentsOfURL(NSObject fileURL) { |
| final _ret = _lib._objc_msgSend_13( |
| _id, _lib._sel_initWithContentsOfURL_1, fileURL._id); |
| return NSItemProvider._(_ret, _lib); |
| } |
| |
| void registerItemForTypeIdentifier_loadHandler( |
| NSObject typeIdentifier, NSItemProviderLoadHandler loadHandler) { |
| _lib._objc_msgSend_77( |
| _id, |
| _lib._sel_registerItemForTypeIdentifier_loadHandler_1, |
| typeIdentifier._id, |
| loadHandler); |
| } |
| |
| void loadItemForTypeIdentifier_options_completionHandler( |
| NSObject typeIdentifier, |
| NSObject options, |
| NSItemProviderCompletionHandler completionHandler) { |
| _lib._objc_msgSend_78( |
| _id, |
| _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, |
| typeIdentifier._id, |
| options._id, |
| completionHandler); |
| } |
| |
| static NSItemProvider new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSItemProvider1, _lib._sel_new1); |
| return NSItemProvider._(_ret, _lib); |
| } |
| |
| static NSItemProvider alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSItemProvider1, _lib._sel_alloc1); |
| return NSItemProvider._(_ret, _lib); |
| } |
| } |
| |
| class NSProgress extends _ObjCWrapper { |
| NSProgress._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSProgress castFrom<T extends _ObjCWrapper>(T other) { |
| return NSProgress._(other._id, other._lib); |
| } |
| } |
| |
| typedef NSItemProviderLoadHandler = ffi.Pointer<ObjCObject>; |
| typedef NSItemProviderCompletionHandler = ffi.Pointer<ObjCObject>; |
| |
| abstract class NSItemProviderErrorCode { |
| static const int NSItemProviderUnknownError = -1; |
| static const int NSItemProviderItemUnavailableError = -1000; |
| static const int NSItemProviderUnexpectedValueClassError = -1100; |
| static const int NSItemProviderUnavailableCoercionError = -1200; |
| } |
| |
| abstract class NSStringCompareOptions { |
| static const int NSCaseInsensitiveSearch = 1; |
| static const int NSLiteralSearch = 2; |
| static const int NSBackwardsSearch = 4; |
| static const int NSAnchoredSearch = 8; |
| static const int NSNumericSearch = 64; |
| static const int NSDiacriticInsensitiveSearch = 128; |
| static const int NSWidthInsensitiveSearch = 256; |
| static const int NSForcedOrderingSearch = 512; |
| static const int NSRegularExpressionSearch = 1024; |
| } |
| |
| abstract class NSStringEncodingConversionOptions { |
| static const int NSStringEncodingConversionAllowLossy = 1; |
| static const int NSStringEncodingConversionExternalRepresentation = 2; |
| } |
| |
| abstract class NSStringEnumerationOptions { |
| static const int NSStringEnumerationByLines = 0; |
| static const int NSStringEnumerationByParagraphs = 1; |
| static const int NSStringEnumerationByComposedCharacterSequences = 2; |
| static const int NSStringEnumerationByWords = 3; |
| static const int NSStringEnumerationBySentences = 4; |
| static const int NSStringEnumerationByCaretPositions = 5; |
| static const int NSStringEnumerationByDeletionClusters = 6; |
| static const int NSStringEnumerationReverse = 256; |
| static const int NSStringEnumerationSubstringNotRequired = 512; |
| static const int NSStringEnumerationLocalized = 1024; |
| } |
| |
| typedef NSStringTransform = ffi.Pointer<ObjCObject>; |
| typedef NSStringEncodingDetectionOptionsKey = ffi.Pointer<ObjCObject>; |
| |
| class NSMutableString extends NSString { |
| NSMutableString._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSMutableString castFrom<T extends _ObjCWrapper>(T other) { |
| return NSMutableString._(other._id, other._lib); |
| } |
| |
| void replaceCharactersInRange_withString(NSRange range, NSObject aString) { |
| _lib._objc_msgSend_79(_id, _lib._sel_replaceCharactersInRange_withString_1, |
| range, aString._id); |
| } |
| |
| static NSString stringWithCString_encoding( |
| StringTestObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) { |
| final _ret = _lib._objc_msgSend_14(_lib._class_NSMutableString1, |
| _lib._sel_stringWithCString_encoding_1, cString, enc); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSMutableString new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableString1, _lib._sel_new1); |
| return NSMutableString._(_ret, _lib); |
| } |
| |
| static NSMutableString alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSMutableString1, _lib._sel_alloc1); |
| return NSMutableString._(_ret, _lib); |
| } |
| } |
| |
| typedef NSExceptionName = ffi.Pointer<ObjCObject>; |
| |
| class NSSimpleCString extends NSString { |
| NSSimpleCString._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSSimpleCString castFrom<T extends _ObjCWrapper>(T other) { |
| return NSSimpleCString._(other._id, other._lib); |
| } |
| |
| static NSString stringWithCString_encoding( |
| StringTestObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) { |
| final _ret = _lib._objc_msgSend_14(_lib._class_NSSimpleCString1, |
| _lib._sel_stringWithCString_encoding_1, cString, enc); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSSimpleCString new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSSimpleCString1, _lib._sel_new1); |
| return NSSimpleCString._(_ret, _lib); |
| } |
| |
| static NSSimpleCString alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSSimpleCString1, _lib._sel_alloc1); |
| return NSSimpleCString._(_ret, _lib); |
| } |
| } |
| |
| class NSConstantString extends NSSimpleCString { |
| NSConstantString._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static NSConstantString castFrom<T extends _ObjCWrapper>(T other) { |
| return NSConstantString._(other._id, other._lib); |
| } |
| |
| static NSString stringWithCString_encoding( |
| StringTestObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) { |
| final _ret = _lib._objc_msgSend_14(_lib._class_NSConstantString1, |
| _lib._sel_stringWithCString_encoding_1, cString, enc); |
| return NSString._(_ret, _lib); |
| } |
| |
| static NSConstantString new1(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSConstantString1, _lib._sel_new1); |
| return NSConstantString._(_ret, _lib); |
| } |
| |
| static NSConstantString alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_NSConstantString1, _lib._sel_alloc1); |
| return NSConstantString._(_ret, _lib); |
| } |
| } |
| |
| class StringUtil extends NSObject { |
| StringUtil._(ffi.Pointer<ObjCObject> id, StringTestObjCLibrary lib) |
| : super._(id, lib); |
| |
| static StringUtil castFrom<T extends _ObjCWrapper>(T other) { |
| return StringUtil._(other._id, other._lib); |
| } |
| |
| static NSString strConcat_with( |
| StringTestObjCLibrary _lib, NSObject a, NSObject b) { |
| final _ret = _lib._objc_msgSend_80( |
| _lib._class_StringUtil1, _lib._sel_strConcat_with_1, a._id, b._id); |
| return NSString._(_ret, _lib); |
| } |
| |
| static StringUtil new1(StringTestObjCLibrary _lib) { |
| final _ret = _lib._objc_msgSend_1(_lib._class_StringUtil1, _lib._sel_new1); |
| return StringUtil._(_ret, _lib); |
| } |
| |
| static StringUtil alloc(StringTestObjCLibrary _lib) { |
| final _ret = |
| _lib._objc_msgSend_1(_lib._class_StringUtil1, _lib._sel_alloc1); |
| return StringUtil._(_ret, _lib); |
| } |
| } |
| |
| const int NSScannedOption = 1; |
| |
| const int NSCollectorDisabledOption = 2; |
| |
| const int NSASCIIStringEncoding = 1; |
| |
| const int NSNEXTSTEPStringEncoding = 2; |
| |
| const int NSJapaneseEUCStringEncoding = 3; |
| |
| const int NSUTF8StringEncoding = 4; |
| |
| const int NSISOLatin1StringEncoding = 5; |
| |
| const int NSSymbolStringEncoding = 6; |
| |
| const int NSNonLossyASCIIStringEncoding = 7; |
| |
| const int NSShiftJISStringEncoding = 8; |
| |
| const int NSISOLatin2StringEncoding = 9; |
| |
| const int NSUnicodeStringEncoding = 10; |
| |
| const int NSWindowsCP1251StringEncoding = 11; |
| |
| const int NSWindowsCP1252StringEncoding = 12; |
| |
| const int NSWindowsCP1253StringEncoding = 13; |
| |
| const int NSWindowsCP1254StringEncoding = 14; |
| |
| const int NSWindowsCP1250StringEncoding = 15; |
| |
| const int NSISO2022JPStringEncoding = 21; |
| |
| const int NSMacOSRomanStringEncoding = 30; |
| |
| const int NSUTF16StringEncoding = 10; |
| |
| const int NSUTF16BigEndianStringEncoding = 2415919360; |
| |
| const int NSUTF16LittleEndianStringEncoding = 2483028224; |
| |
| const int NSUTF32StringEncoding = 2348810496; |
| |
| const int NSUTF32BigEndianStringEncoding = 2550137088; |
| |
| const int NSUTF32LittleEndianStringEncoding = 2617245952; |
| |
| const int NSProprietaryStringEncoding = 65536; |
| |
| const int NS_BLOCKS_AVAILABLE = 1; |
| |
| const int __COREFOUNDATION_CFAVAILABILITY__ = 1; |
| |
| const int __CF_ENUM_FIXED_IS_AVAILABLE = 1; |
| |
| const double NSFoundationVersionNumber10_0 = 397.4; |
| |
| const double NSFoundationVersionNumber10_1 = 425.0; |
| |
| const double NSFoundationVersionNumber10_1_1 = 425.0; |
| |
| const double NSFoundationVersionNumber10_1_2 = 425.0; |
| |
| const double NSFoundationVersionNumber10_1_3 = 425.0; |
| |
| const double NSFoundationVersionNumber10_1_4 = 425.0; |
| |
| const double NSFoundationVersionNumber10_2 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_1 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_2 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_3 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_4 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_5 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_6 = 462.0; |
| |
| const double NSFoundationVersionNumber10_2_7 = 462.7; |
| |
| const double NSFoundationVersionNumber10_2_8 = 462.7; |
| |
| const double NSFoundationVersionNumber10_3 = 500.0; |
| |
| const double NSFoundationVersionNumber10_3_1 = 500.0; |
| |
| const double NSFoundationVersionNumber10_3_2 = 500.3; |
| |
| const double NSFoundationVersionNumber10_3_3 = 500.54; |
| |
| const double NSFoundationVersionNumber10_3_4 = 500.56; |
| |
| const double NSFoundationVersionNumber10_3_5 = 500.56; |
| |
| const double NSFoundationVersionNumber10_3_6 = 500.56; |
| |
| const double NSFoundationVersionNumber10_3_7 = 500.56; |
| |
| const double NSFoundationVersionNumber10_3_8 = 500.56; |
| |
| const double NSFoundationVersionNumber10_3_9 = 500.58; |
| |
| const double NSFoundationVersionNumber10_4 = 567.0; |
| |
| const double NSFoundationVersionNumber10_4_1 = 567.0; |
| |
| const double NSFoundationVersionNumber10_4_2 = 567.12; |
| |
| const double NSFoundationVersionNumber10_4_3 = 567.21; |
| |
| const double NSFoundationVersionNumber10_4_4_Intel = 567.23; |
| |
| const double NSFoundationVersionNumber10_4_4_PowerPC = 567.21; |
| |
| const double NSFoundationVersionNumber10_4_5 = 567.25; |
| |
| const double NSFoundationVersionNumber10_4_6 = 567.26; |
| |
| const double NSFoundationVersionNumber10_4_7 = 567.27; |
| |
| const double NSFoundationVersionNumber10_4_8 = 567.28; |
| |
| const double NSFoundationVersionNumber10_4_9 = 567.29; |
| |
| const double NSFoundationVersionNumber10_4_10 = 567.29; |
| |
| const double NSFoundationVersionNumber10_4_11 = 567.36; |
| |
| const double NSFoundationVersionNumber10_5 = 677.0; |
| |
| const double NSFoundationVersionNumber10_5_1 = 677.1; |
| |
| const double NSFoundationVersionNumber10_5_2 = 677.15; |
| |
| const double NSFoundationVersionNumber10_5_3 = 677.19; |
| |
| const double NSFoundationVersionNumber10_5_4 = 677.19; |
| |
| const double NSFoundationVersionNumber10_5_5 = 677.21; |
| |
| const double NSFoundationVersionNumber10_5_6 = 677.22; |
| |
| const double NSFoundationVersionNumber10_5_7 = 677.24; |
| |
| const double NSFoundationVersionNumber10_5_8 = 677.26; |
| |
| const double NSFoundationVersionNumber10_6 = 751.0; |
| |
| const double NSFoundationVersionNumber10_6_1 = 751.0; |
| |
| const double NSFoundationVersionNumber10_6_2 = 751.14; |
| |
| const double NSFoundationVersionNumber10_6_3 = 751.21; |
| |
| const double NSFoundationVersionNumber10_6_4 = 751.29; |
| |
| const double NSFoundationVersionNumber10_6_5 = 751.42; |
| |
| const double NSFoundationVersionNumber10_6_6 = 751.53; |
| |
| const double NSFoundationVersionNumber10_6_7 = 751.53; |
| |
| const double NSFoundationVersionNumber10_6_8 = 751.62; |
| |
| const double NSFoundationVersionNumber10_7 = 833.1; |
| |
| const double NSFoundationVersionNumber10_7_1 = 833.1; |
| |
| const double NSFoundationVersionNumber10_7_2 = 833.2; |
| |
| const double NSFoundationVersionNumber10_7_3 = 833.24; |
| |
| const double NSFoundationVersionNumber10_7_4 = 833.25; |
| |
| const double NSFoundationVersionNumber10_8 = 945.0; |
| |
| const double NSFoundationVersionNumber10_8_1 = 945.0; |
| |
| const double NSFoundationVersionNumber10_8_2 = 945.11; |
| |
| const double NSFoundationVersionNumber10_8_3 = 945.16; |
| |
| const double NSFoundationVersionNumber10_8_4 = 945.18; |
| |
| const int NSFoundationVersionNumber10_9 = 1056; |
| |
| const int NSFoundationVersionNumber10_9_1 = 1056; |
| |
| const double NSFoundationVersionNumber10_9_2 = 1056.13; |
| |
| const double NSFoundationVersionNumber10_10 = 1151.16; |
| |
| const double NSFoundationVersionNumber10_10_1 = 1151.16; |
| |
| const double NSFoundationVersionNumber10_10_2 = 1152.14; |
| |
| const double NSFoundationVersionNumber10_10_3 = 1153.2; |
| |
| const double NSFoundationVersionNumber10_10_4 = 1153.2; |
| |
| const int NSFoundationVersionNumber10_10_5 = 1154; |
| |
| const int NSFoundationVersionNumber10_10_Max = 1199; |
| |
| const int NSFoundationVersionNumber10_11 = 1252; |
| |
| const double NSFoundationVersionNumber10_11_1 = 1255.1; |
| |
| const double NSFoundationVersionNumber10_11_2 = 1256.1; |
| |
| const double NSFoundationVersionNumber10_11_3 = 1256.1; |
| |
| const int NSFoundationVersionNumber10_11_4 = 1258; |
| |
| const int NSFoundationVersionNumber10_11_Max = 1299; |
| |
| const int __COREFOUNDATION_CFBASE__ = 1; |
| |
| const int TRUE = 1; |
| |
| const int FALSE = 0; |
| |
| const double kCFCoreFoundationVersionNumber10_0 = 196.4; |
| |
| const double kCFCoreFoundationVersionNumber10_0_3 = 196.5; |
| |
| const double kCFCoreFoundationVersionNumber10_1 = 226.0; |
| |
| const double kCFCoreFoundationVersionNumber10_1_1 = 226.0; |
| |
| const double kCFCoreFoundationVersionNumber10_1_2 = 227.2; |
| |
| const double kCFCoreFoundationVersionNumber10_1_3 = 227.2; |
| |
| const double kCFCoreFoundationVersionNumber10_1_4 = 227.3; |
| |
| const double kCFCoreFoundationVersionNumber10_2 = 263.0; |
| |
| const double kCFCoreFoundationVersionNumber10_2_1 = 263.1; |
| |
| const double kCFCoreFoundationVersionNumber10_2_2 = 263.1; |
| |
| const double kCFCoreFoundationVersionNumber10_2_3 = 263.3; |
| |
| const double kCFCoreFoundationVersionNumber10_2_4 = 263.3; |
| |
| const double kCFCoreFoundationVersionNumber10_2_5 = 263.5; |
| |
| const double kCFCoreFoundationVersionNumber10_2_6 = 263.5; |
| |
| const double kCFCoreFoundationVersionNumber10_2_7 = 263.5; |
| |
| const double kCFCoreFoundationVersionNumber10_2_8 = 263.5; |
| |
| const double kCFCoreFoundationVersionNumber10_3 = 299.0; |
| |
| const double kCFCoreFoundationVersionNumber10_3_1 = 299.0; |
| |
| const double kCFCoreFoundationVersionNumber10_3_2 = 299.0; |
| |
| const double kCFCoreFoundationVersionNumber10_3_3 = 299.3; |
| |
| const double kCFCoreFoundationVersionNumber10_3_4 = 299.31; |
| |
| const double kCFCoreFoundationVersionNumber10_3_5 = 299.31; |
| |
| const double kCFCoreFoundationVersionNumber10_3_6 = 299.32; |
| |
| const double kCFCoreFoundationVersionNumber10_3_7 = 299.33; |
| |
| const double kCFCoreFoundationVersionNumber10_3_8 = 299.33; |
| |
| const double kCFCoreFoundationVersionNumber10_3_9 = 299.35; |
| |
| const double kCFCoreFoundationVersionNumber10_4 = 368.0; |
| |
| const double kCFCoreFoundationVersionNumber10_4_1 = 368.1; |
| |
| const double kCFCoreFoundationVersionNumber10_4_2 = 368.11; |
| |
| const double kCFCoreFoundationVersionNumber10_4_3 = 368.18; |
| |
| const double kCFCoreFoundationVersionNumber10_4_4_Intel = 368.26; |
| |
| const double kCFCoreFoundationVersionNumber10_4_4_PowerPC = 368.25; |
| |
| const double kCFCoreFoundationVersionNumber10_4_5_Intel = 368.26; |
| |
| const double kCFCoreFoundationVersionNumber10_4_5_PowerPC = 368.25; |
| |
| const double kCFCoreFoundationVersionNumber10_4_6_Intel = 368.26; |
| |
| const double kCFCoreFoundationVersionNumber10_4_6_PowerPC = 368.25; |
| |
| const double kCFCoreFoundationVersionNumber10_4_7 = 368.27; |
| |
| const double kCFCoreFoundationVersionNumber10_4_8 = 368.27; |
| |
| const double kCFCoreFoundationVersionNumber10_4_9 = 368.28; |
| |
| const double kCFCoreFoundationVersionNumber10_4_10 = 368.28; |
| |
| const double kCFCoreFoundationVersionNumber10_4_11 = 368.31; |
| |
| const double kCFCoreFoundationVersionNumber10_5 = 476.0; |
| |
| const double kCFCoreFoundationVersionNumber10_5_1 = 476.0; |
| |
| const double kCFCoreFoundationVersionNumber10_5_2 = 476.1; |
| |
| const double kCFCoreFoundationVersionNumber10_5_3 = 476.13; |
| |
| const double kCFCoreFoundationVersionNumber10_5_4 = 476.14; |
| |
| const double kCFCoreFoundationVersionNumber10_5_5 = 476.15; |
| |
| const double kCFCoreFoundationVersionNumber10_5_6 = 476.17; |
| |
| const double kCFCoreFoundationVersionNumber10_5_7 = 476.18; |
| |
| const double kCFCoreFoundationVersionNumber10_5_8 = 476.19; |
| |
| const double kCFCoreFoundationVersionNumber10_6 = 550.0; |
| |
| const double kCFCoreFoundationVersionNumber10_6_1 = 550.0; |
| |
| const double kCFCoreFoundationVersionNumber10_6_2 = 550.13; |
| |
| const double kCFCoreFoundationVersionNumber10_6_3 = 550.19; |
| |
| const double kCFCoreFoundationVersionNumber10_6_4 = 550.29; |
| |
| const double kCFCoreFoundationVersionNumber10_6_5 = 550.42; |
| |
| const double kCFCoreFoundationVersionNumber10_6_6 = 550.42; |
| |
| const double kCFCoreFoundationVersionNumber10_6_7 = 550.42; |
| |
| const double kCFCoreFoundationVersionNumber10_6_8 = 550.43; |
| |
| const double kCFCoreFoundationVersionNumber10_7 = 635.0; |
| |
| const double kCFCoreFoundationVersionNumber10_7_1 = 635.0; |
| |
| const double kCFCoreFoundationVersionNumber10_7_2 = 635.15; |
| |
| const double kCFCoreFoundationVersionNumber10_7_3 = 635.19; |
| |
| const double kCFCoreFoundationVersionNumber10_7_4 = 635.21; |
| |
| const double kCFCoreFoundationVersionNumber10_7_5 = 635.21; |
| |
| const double kCFCoreFoundationVersionNumber10_8 = 744.0; |
| |
| const double kCFCoreFoundationVersionNumber10_8_1 = 744.0; |
| |
| const double kCFCoreFoundationVersionNumber10_8_2 = 744.12; |
| |
| const double kCFCoreFoundationVersionNumber10_8_3 = 744.18; |
| |
| const double kCFCoreFoundationVersionNumber10_8_4 = 744.19; |
| |
| const double kCFCoreFoundationVersionNumber10_9 = 855.11; |
| |
| const double kCFCoreFoundationVersionNumber10_9_1 = 855.11; |
| |
| const double kCFCoreFoundationVersionNumber10_9_2 = 855.14; |
| |
| const double kCFCoreFoundationVersionNumber10_10 = 1151.16; |
| |
| const double kCFCoreFoundationVersionNumber10_10_1 = 1151.16; |
| |
| const int kCFCoreFoundationVersionNumber10_10_2 = 1152; |
| |
| const double kCFCoreFoundationVersionNumber10_10_3 = 1153.18; |
| |
| const double kCFCoreFoundationVersionNumber10_10_4 = 1153.18; |
| |
| const double kCFCoreFoundationVersionNumber10_10_5 = 1153.18; |
| |
| const int kCFCoreFoundationVersionNumber10_10_Max = 1199; |
| |
| const int kCFCoreFoundationVersionNumber10_11 = 1253; |
| |
| const double kCFCoreFoundationVersionNumber10_11_1 = 1255.1; |
| |
| const double kCFCoreFoundationVersionNumber10_11_2 = 1256.14; |
| |
| const double kCFCoreFoundationVersionNumber10_11_3 = 1256.14; |
| |
| const double kCFCoreFoundationVersionNumber10_11_4 = 1258.1; |
| |
| const int kCFCoreFoundationVersionNumber10_11_Max = 1299; |
| |
| const int ISA_PTRAUTH_DISCRIMINATOR = 27361; |
| |
| const int NSMaximumStringLength = 2147483646; |
| |
| const int NS_UNICHAR_IS_EIGHT_BIT = 0; |