blob: 82c254a3bffff07c4bdbf8656def64cbfd6c61df [file]
// 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;
/// Native Objective C test
class NativeObjCLibrary {
/// Holds the symbol lookup function.
final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
_lookup;
/// The symbols are looked up in [dynamicLibrary].
NativeObjCLibrary(ffi.DynamicLibrary dynamicLibrary)
: _lookup = dynamicLibrary.lookup;
/// The symbols are looked up with [lookup].
NativeObjCLibrary.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_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_substringFromIndex_1 =
_registerName1("substringFromIndex:");
ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int from,
) {
return __objc_msgSend_14(
obj,
sel,
from,
);
}
late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_substringToIndex_1 =
_registerName1("substringToIndex:");
late final ffi.Pointer<ObjCSel> _sel_substringWithRange_1 =
_registerName1("substringWithRange:");
ffi.Pointer<ObjCObject> _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_15(
obj,
sel,
range,
);
}
late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_getCharacters_range_1 =
_registerName1("getCharacters:range:");
void _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<unichar> buffer,
NSRange range,
) {
return __objc_msgSend_16(
obj,
sel,
buffer,
range,
);
}
late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_compare_1 = _registerName1("compare:");
int _objc_msgSend_17(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> string,
) {
return __objc_msgSend_17(
obj,
sel,
string,
);
}
late final __objc_msgSend_17Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_compare_options_1 =
_registerName1("compare:options:");
int _objc_msgSend_18(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> string,
int mask,
) {
return __objc_msgSend_18(
obj,
sel,
string,
mask,
);
}
late final __objc_msgSend_18Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_compare_options_range_1 =
_registerName1("compare:options:range:");
int _objc_msgSend_19(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> string,
int mask,
NSRange rangeOfReceiverToCompare,
) {
return __objc_msgSend_19(
obj,
sel,
string,
mask,
rangeOfReceiverToCompare,
);
}
late final __objc_msgSend_19Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32, NSRange)>>('objc_msgSend');
late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_compare_options_range_locale_1 =
_registerName1("compare:options:range:locale:");
int _objc_msgSend_20(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> string,
int mask,
NSRange rangeOfReceiverToCompare,
ffi.Pointer<ObjCObject> locale,
) {
return __objc_msgSend_20(
obj,
sel,
string,
mask,
rangeOfReceiverToCompare,
locale,
);
}
late final __objc_msgSend_20Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
NSRange,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, NSRange, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_caseInsensitiveCompare_1 =
_registerName1("caseInsensitiveCompare:");
late final ffi.Pointer<ObjCSel> _sel_localizedCompare_1 =
_registerName1("localizedCompare:");
late final ffi.Pointer<ObjCSel> _sel_localizedCaseInsensitiveCompare_1 =
_registerName1("localizedCaseInsensitiveCompare:");
late final ffi.Pointer<ObjCSel> _sel_localizedStandardCompare_1 =
_registerName1("localizedStandardCompare:");
late final ffi.Pointer<ObjCSel> _sel_isEqualToString_1 =
_registerName1("isEqualToString:");
late final ffi.Pointer<ObjCSel> _sel_hasPrefix_1 =
_registerName1("hasPrefix:");
late final ffi.Pointer<ObjCSel> _sel_hasSuffix_1 =
_registerName1("hasSuffix:");
late final ffi.Pointer<ObjCSel> _sel_commonPrefixWithString_options_1 =
_registerName1("commonPrefixWithString:options:");
ffi.Pointer<ObjCObject> _objc_msgSend_21(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> str,
int mask,
) {
return __objc_msgSend_21(
obj,
sel,
str,
mask,
);
}
late final __objc_msgSend_21Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_containsString_1 =
_registerName1("containsString:");
late final ffi.Pointer<ObjCSel>
_sel_localizedCaseInsensitiveContainsString_1 =
_registerName1("localizedCaseInsensitiveContainsString:");
late final ffi.Pointer<ObjCSel> _sel_localizedStandardContainsString_1 =
_registerName1("localizedStandardContainsString:");
late final ffi.Pointer<ObjCSel> _sel_localizedStandardRangeOfString_1 =
_registerName1("localizedStandardRangeOfString:");
NSRange _objc_msgSend_22(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> str,
) {
return __objc_msgSend_22(
obj,
sel,
str,
);
}
late final __objc_msgSend_22Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_rangeOfString_1 =
_registerName1("rangeOfString:");
late final ffi.Pointer<ObjCSel> _sel_rangeOfString_options_1 =
_registerName1("rangeOfString:options:");
NSRange _objc_msgSend_23(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> searchString,
int mask,
) {
return __objc_msgSend_23(
obj,
sel,
searchString,
mask,
);
}
late final __objc_msgSend_23Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_rangeOfString_options_range_1 =
_registerName1("rangeOfString:options:range:");
NSRange _objc_msgSend_24(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> searchString,
int mask,
NSRange rangeOfReceiverToSearch,
) {
return __objc_msgSend_24(
obj,
sel,
searchString,
mask,
rangeOfReceiverToSearch,
);
}
late final __objc_msgSend_24Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32, NSRange)>>('objc_msgSend');
late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_rangeOfString_options_range_locale_1 =
_registerName1("rangeOfString:options:range:locale:");
NSRange _objc_msgSend_25(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> searchString,
int mask,
NSRange rangeOfReceiverToSearch,
ffi.Pointer<ObjCObject> locale,
) {
return __objc_msgSend_25(
obj,
sel,
searchString,
mask,
rangeOfReceiverToSearch,
locale,
);
}
late final __objc_msgSend_25Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
NSRange,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, NSRange, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_rangeOfCharacterFromSet_1 =
_registerName1("rangeOfCharacterFromSet:");
late final ffi.Pointer<ObjCSel> _sel_rangeOfCharacterFromSet_options_1 =
_registerName1("rangeOfCharacterFromSet:options:");
late final ffi.Pointer<ObjCSel> _sel_rangeOfCharacterFromSet_options_range_1 =
_registerName1("rangeOfCharacterFromSet:options:range:");
late final ffi.Pointer<ObjCSel>
_sel_rangeOfComposedCharacterSequenceAtIndex_1 =
_registerName1("rangeOfComposedCharacterSequenceAtIndex:");
NSRange _objc_msgSend_26(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
) {
return __objc_msgSend_26(
obj,
sel,
index,
);
}
late final __objc_msgSend_26Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel>
_sel_rangeOfComposedCharacterSequencesForRange_1 =
_registerName1("rangeOfComposedCharacterSequencesForRange:");
NSRange _objc_msgSend_27(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_27(
obj,
sel,
range,
);
}
late final __objc_msgSend_27Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
NSRange Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_stringByAppendingString_1 =
_registerName1("stringByAppendingString:");
ffi.Pointer<ObjCObject> _objc_msgSend_28(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> aString,
) {
return __objc_msgSend_28(
obj,
sel,
aString,
);
}
late final __objc_msgSend_28Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_stringByAppendingFormat_1 =
_registerName1("stringByAppendingFormat:");
late final ffi.Pointer<ObjCSel> _sel_doubleValue1 =
_registerName1("doubleValue");
double _objc_msgSend_29(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_29(
obj,
sel,
);
}
late final __objc_msgSend_29Ptr = _lookup<
ffi.NativeFunction<
ffi.Double Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_floatValue1 =
_registerName1("floatValue");
double _objc_msgSend_30(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_30(
obj,
sel,
);
}
late final __objc_msgSend_30Ptr = _lookup<
ffi.NativeFunction<
ffi.Float Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction<
double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_intValue1 = _registerName1("intValue");
int _objc_msgSend_31(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_31(
obj,
sel,
);
}
late final __objc_msgSend_31Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Int Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_integerValue1 =
_registerName1("integerValue");
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<
NSInteger 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_longLongValue1 =
_registerName1("longLongValue");
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.LongLong 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_boolValue1 = _registerName1("boolValue");
late final ffi.Pointer<ObjCSel> _sel_uppercaseString1 =
_registerName1("uppercaseString");
late final ffi.Pointer<ObjCSel> _sel_lowercaseString1 =
_registerName1("lowercaseString");
late final ffi.Pointer<ObjCSel> _sel_capitalizedString1 =
_registerName1("capitalizedString");
late final ffi.Pointer<ObjCSel> _sel_localizedUppercaseString1 =
_registerName1("localizedUppercaseString");
late final ffi.Pointer<ObjCSel> _sel_localizedLowercaseString1 =
_registerName1("localizedLowercaseString");
late final ffi.Pointer<ObjCSel> _sel_localizedCapitalizedString1 =
_registerName1("localizedCapitalizedString");
late final ffi.Pointer<ObjCSel> _sel_uppercaseStringWithLocale_1 =
_registerName1("uppercaseStringWithLocale:");
late final ffi.Pointer<ObjCSel> _sel_lowercaseStringWithLocale_1 =
_registerName1("lowercaseStringWithLocale:");
late final ffi.Pointer<ObjCSel> _sel_capitalizedStringWithLocale_1 =
_registerName1("capitalizedStringWithLocale:");
late final ffi.Pointer<ObjCSel> _sel_getLineStart_end_contentsEnd_forRange_1 =
_registerName1("getLineStart:end:contentsEnd:forRange:");
void _objc_msgSend_34(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<NSUInteger> startPtr,
ffi.Pointer<NSUInteger> lineEndPtr,
ffi.Pointer<NSUInteger> contentsEndPtr,
NSRange range,
) {
return __objc_msgSend_34(
obj,
sel,
startPtr,
lineEndPtr,
contentsEndPtr,
range,
);
}
late final __objc_msgSend_34Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>,
ffi.Pointer<NSUInteger>,
ffi.Pointer<NSUInteger>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>,
ffi.Pointer<NSUInteger>,
ffi.Pointer<NSUInteger>,
NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_lineRangeForRange_1 =
_registerName1("lineRangeForRange:");
late final ffi.Pointer<ObjCSel>
_sel_getParagraphStart_end_contentsEnd_forRange_1 =
_registerName1("getParagraphStart:end:contentsEnd:forRange:");
late final ffi.Pointer<ObjCSel> _sel_paragraphRangeForRange_1 =
_registerName1("paragraphRangeForRange:");
ffi.Pointer<_ObjCBlockDesc> _newBlockDesc1() {
final d =
pkg_ffi.calloc.allocate<_ObjCBlockDesc>(ffi.sizeOf<_ObjCBlockDesc>());
d.ref.size = ffi.sizeOf<_ObjCBlock>();
return d;
}
late final ffi.Pointer<_ObjCBlockDesc> _objc_block_desc1 = _newBlockDesc1();
ffi.Pointer<_ObjCBlock> _newBlock1(
ffi.Pointer<ffi.Void> invoke, ffi.Pointer<ffi.Void> target) {
final b = pkg_ffi.calloc.allocate<_ObjCBlock>(ffi.sizeOf<_ObjCBlock>());
b.ref.invoke = invoke;
b.ref.target = target;
b.ref.descriptor = _objc_block_desc1;
return b;
}
late final ffi.Pointer<ObjCSel>
_sel_enumerateSubstringsInRange_options_usingBlock_1 =
_registerName1("enumerateSubstringsInRange:options:usingBlock:");
void _objc_msgSend_35(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_35(
obj,
sel,
range,
opts,
block,
);
}
late final __objc_msgSend_35Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_enumerateLinesUsingBlock_1 =
_registerName1("enumerateLinesUsingBlock:");
void _objc_msgSend_36(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_36(
obj,
sel,
block,
);
}
late final __objc_msgSend_36Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_UTF8String1 =
_registerName1("UTF8String");
ffi.Pointer<pkg_ffi.Char> _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<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_fastestEncoding1 =
_registerName1("fastestEncoding");
late final ffi.Pointer<ObjCSel> _sel_smallestEncoding1 =
_registerName1("smallestEncoding");
late final ffi.Pointer<ObjCObject> _class_NSData1 = _getClass1("NSData");
late final ffi.Pointer<ObjCSel>
_sel_dataUsingEncoding_allowLossyConversion_1 =
_registerName1("dataUsingEncoding:allowLossyConversion:");
ffi.Pointer<ObjCObject> _objc_msgSend_38(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int encoding,
bool lossy,
) {
return __objc_msgSend_38(
obj,
sel,
encoding,
lossy ? 1 : 0,
);
}
late final __objc_msgSend_38Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSStringEncoding,
ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int)>();
late final ffi.Pointer<ObjCSel> _sel_dataUsingEncoding_1 =
_registerName1("dataUsingEncoding:");
ffi.Pointer<ObjCObject> _objc_msgSend_39(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int encoding,
) {
return __objc_msgSend_39(
obj,
sel,
encoding,
);
}
late final __objc_msgSend_39Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_canBeConvertedToEncoding_1 =
_registerName1("canBeConvertedToEncoding:");
bool _objc_msgSend_40(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int encoding,
) {
return __objc_msgSend_40(
obj,
sel,
encoding,
) !=
0;
}
late final __objc_msgSend_40Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_cStringUsingEncoding_1 =
_registerName1("cStringUsingEncoding:");
void _objc_msgSend_41(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int encoding,
) {
return __objc_msgSend_41(
obj,
sel,
encoding,
);
}
late final __objc_msgSend_41Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_getCString_maxLength_encoding_1 =
_registerName1("getCString:maxLength:encoding:");
bool _objc_msgSend_42(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> buffer,
int maxBufferCount,
int encoding,
) {
return __objc_msgSend_42(
obj,
sel,
buffer,
maxBufferCount,
encoding,
) !=
0;
}
late final __objc_msgSend_42Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
NSUInteger,
NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, int, int)>();
late final ffi.Pointer<ObjCSel>
_sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 =
_registerName1(
"getBytes:maxLength:usedLength:encoding:options:range:remainingRange:");
bool _objc_msgSend_43(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> buffer,
int maxBufferCount,
ffi.Pointer<NSUInteger> usedBufferCount,
int encoding,
int options,
NSRange range,
NSRangePointer leftover,
) {
return __objc_msgSend_43(
obj,
sel,
buffer,
maxBufferCount,
usedBufferCount,
encoding,
options,
range,
leftover,
) !=
0;
}
late final __objc_msgSend_43Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
NSUInteger,
ffi.Pointer<NSUInteger>,
NSStringEncoding,
ffi.Int32,
NSRange,
NSRangePointer)>>('objc_msgSend');
late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction<
int Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
int,
ffi.Pointer<NSUInteger>,
int,
int,
NSRange,
NSRangePointer)>();
late final ffi.Pointer<ObjCSel> _sel_maximumLengthOfBytesUsingEncoding_1 =
_registerName1("maximumLengthOfBytesUsingEncoding:");
int _objc_msgSend_44(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int enc,
) {
return __objc_msgSend_44(
obj,
sel,
enc,
);
}
late final __objc_msgSend_44Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_lengthOfBytesUsingEncoding_1 =
_registerName1("lengthOfBytesUsingEncoding:");
late final ffi.Pointer<ObjCSel> _sel_availableStringEncodings1 =
_registerName1("availableStringEncodings");
ffi.Pointer<NSStringEncoding> _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.Pointer<NSStringEncoding> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction<
ffi.Pointer<NSStringEncoding> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_localizedNameOfStringEncoding_1 =
_registerName1("localizedNameOfStringEncoding:");
late final ffi.Pointer<ObjCSel> _sel_defaultCStringEncoding1 =
_registerName1("defaultCStringEncoding");
late final ffi.Pointer<ObjCSel> _sel_decomposedStringWithCanonicalMapping1 =
_registerName1("decomposedStringWithCanonicalMapping");
late final ffi.Pointer<ObjCSel> _sel_precomposedStringWithCanonicalMapping1 =
_registerName1("precomposedStringWithCanonicalMapping");
late final ffi.Pointer<ObjCSel>
_sel_decomposedStringWithCompatibilityMapping1 =
_registerName1("decomposedStringWithCompatibilityMapping");
late final ffi.Pointer<ObjCSel>
_sel_precomposedStringWithCompatibilityMapping1 =
_registerName1("precomposedStringWithCompatibilityMapping");
late final ffi.Pointer<ObjCSel> _sel_stringByTrimmingCharactersInSet_1 =
_registerName1("stringByTrimmingCharactersInSet:");
late final ffi.Pointer<ObjCSel>
_sel_stringByPaddingToLength_withString_startingAtIndex_1 =
_registerName1("stringByPaddingToLength:withString:startingAtIndex:");
ffi.Pointer<ObjCObject> _objc_msgSend_46(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int newLength,
ffi.Pointer<ObjCObject> padString,
int padIndex,
) {
return __objc_msgSend_46(
obj,
sel,
newLength,
padString,
padIndex,
);
}
late final __objc_msgSend_46Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSUInteger,
ffi.Pointer<ObjCObject>,
NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, int, ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_stringByFoldingWithOptions_locale_1 =
_registerName1("stringByFoldingWithOptions:locale:");
ffi.Pointer<ObjCObject> _objc_msgSend_47(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int options,
ffi.Pointer<ObjCObject> locale,
) {
return __objc_msgSend_47(
obj,
sel,
options,
locale,
);
}
late final __objc_msgSend_47Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Int32,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, int, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel>
_sel_stringByReplacingOccurrencesOfString_withString_options_range_1 =
_registerName1(
"stringByReplacingOccurrencesOfString:withString:options:range:");
ffi.Pointer<ObjCObject> _objc_msgSend_48(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> target,
ffi.Pointer<ObjCObject> replacement,
int options,
NSRange searchRange,
) {
return __objc_msgSend_48(
obj,
sel,
target,
replacement,
options,
searchRange,
);
}
late final __objc_msgSend_48Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
int,
NSRange)>();
late final ffi.Pointer<ObjCSel>
_sel_stringByReplacingOccurrencesOfString_withString_1 =
_registerName1("stringByReplacingOccurrencesOfString:withString:");
ffi.Pointer<ObjCObject> _objc_msgSend_49(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> target,
ffi.Pointer<ObjCObject> replacement,
) {
return __objc_msgSend_49(
obj,
sel,
target,
replacement,
);
}
late final __objc_msgSend_49Ptr = _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_49 = __objc_msgSend_49Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel>
_sel_stringByReplacingCharactersInRange_withString_1 =
_registerName1("stringByReplacingCharactersInRange:withString:");
ffi.Pointer<ObjCObject> _objc_msgSend_50(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
ffi.Pointer<ObjCObject> replacement,
) {
return __objc_msgSend_50(
obj,
sel,
range,
replacement,
);
}
late final __objc_msgSend_50Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSRange,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSRange, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_stringByApplyingTransform_reverse_1 =
_registerName1("stringByApplyingTransform:reverse:");
ffi.Pointer<ObjCObject> _objc_msgSend_51(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSStringTransform transform,
bool reverse,
) {
return __objc_msgSend_51(
obj,
sel,
transform,
reverse ? 1 : 0,
);
}
late final __objc_msgSend_51Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSStringTransform,
ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSStringTransform, int)>();
late final ffi.Pointer<ObjCSel> _sel_writeToURL_atomically_encoding_error_1 =
_registerName1("writeToURL:atomically:encoding:error:");
bool _objc_msgSend_52(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> url,
bool useAuxiliaryFile,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_52(
obj,
sel,
url,
useAuxiliaryFile ? 1 : 0,
enc,
error,
) !=
0;
}
late final __objc_msgSend_52Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Uint8,
NSStringEncoding,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction<
int Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
int,
int,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();
late final ffi.Pointer<ObjCSel> _sel_writeToFile_atomically_encoding_error_1 =
_registerName1("writeToFile:atomically:encoding:error:");
late final ffi.Pointer<ObjCSel> _sel_description1 =
_registerName1("description");
late final ffi.Pointer<ObjCSel>
_sel_initWithCharactersNoCopy_length_freeWhenDone_1 =
_registerName1("initWithCharactersNoCopy:length:freeWhenDone:");
instancetype _objc_msgSend_53(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<unichar> characters,
int length,
bool freeBuffer,
) {
return __objc_msgSend_53(
obj,
sel,
characters,
length,
freeBuffer ? 1 : 0,
);
}
late final __objc_msgSend_53Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, NSUInteger, ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, int, int)>();
late final ffi.Pointer<ObjCSel>
_sel_initWithCharactersNoCopy_length_deallocator_1 =
_registerName1("initWithCharactersNoCopy:length:deallocator:");
instancetype _objc_msgSend_54(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<unichar> chars,
int len,
ffi.Pointer<_ObjCBlock> deallocator,
) {
return __objc_msgSend_54(
obj,
sel,
chars,
len,
deallocator,
);
}
late final __objc_msgSend_54Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>,
NSUInteger,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithCharacters_length_1 =
_registerName1("initWithCharacters:length:");
instancetype _objc_msgSend_55(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<unichar> characters,
int length,
) {
return __objc_msgSend_55(
obj,
sel,
characters,
length,
);
}
late final __objc_msgSend_55Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>, int)>();
late final ffi.Pointer<ObjCSel> _sel_initWithUTF8String_1 =
_registerName1("initWithUTF8String:");
instancetype _objc_msgSend_56(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> nullTerminatedCString,
) {
return __objc_msgSend_56(
obj,
sel,
nullTerminatedCString,
);
}
late final __objc_msgSend_56Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>)>>('objc_msgSend');
late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithString_1 =
_registerName1("initWithString:");
late final ffi.Pointer<ObjCSel> _sel_initWithFormat_1 =
_registerName1("initWithFormat:");
late final ffi.Pointer<ObjCSel> _sel_initWithFormat_arguments_1 =
_registerName1("initWithFormat:arguments:");
instancetype _objc_msgSend_57(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_57(
obj,
sel,
format,
argList,
);
}
late final __objc_msgSend_57Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<__va_list_tag>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithFormat_locale_1 =
_registerName1("initWithFormat:locale:");
instancetype _objc_msgSend_58(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ObjCObject> locale,
) {
return __objc_msgSend_58(
obj,
sel,
format,
locale,
);
}
late final __objc_msgSend_58Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithFormat_locale_arguments_1 =
_registerName1("initWithFormat:locale:arguments:");
instancetype _objc_msgSend_59(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ObjCObject> locale,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_59(
obj,
sel,
format,
locale,
argList,
);
}
late final __objc_msgSend_59Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<__va_list_tag>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithData_encoding_1 =
_registerName1("initWithData:encoding:");
instancetype _objc_msgSend_60(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> data,
int encoding,
) {
return __objc_msgSend_60(
obj,
sel,
data,
encoding,
);
}
late final __objc_msgSend_60Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_initWithBytes_length_encoding_1 =
_registerName1("initWithBytes:length:encoding:");
instancetype _objc_msgSend_61(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> bytes,
int len,
int encoding,
) {
return __objc_msgSend_61(
obj,
sel,
bytes,
len,
encoding,
);
}
late final __objc_msgSend_61Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
NSUInteger,
NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, int, int)>();
late final ffi.Pointer<ObjCSel>
_sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 =
_registerName1("initWithBytesNoCopy:length:encoding:freeWhenDone:");
instancetype _objc_msgSend_62(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> bytes,
int len,
int encoding,
bool freeBuffer,
) {
return __objc_msgSend_62(
obj,
sel,
bytes,
len,
encoding,
freeBuffer ? 1 : 0,
);
}
late final __objc_msgSend_62Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
NSUInteger,
NSStringEncoding,
ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, int, int, int)>();
late final ffi.Pointer<ObjCSel>
_sel_initWithBytesNoCopy_length_encoding_deallocator_1 =
_registerName1("initWithBytesNoCopy:length:encoding:deallocator:");
instancetype _objc_msgSend_63(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> bytes,
int len,
int encoding,
ffi.Pointer<_ObjCBlock> deallocator,
) {
return __objc_msgSend_63(
obj,
sel,
bytes,
len,
encoding,
deallocator,
);
}
late final __objc_msgSend_63Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
NSUInteger,
NSStringEncoding,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, int, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_string1 = _registerName1("string");
late final ffi.Pointer<ObjCSel> _sel_stringWithString_1 =
_registerName1("stringWithString:");
late final ffi.Pointer<ObjCSel> _sel_stringWithCharacters_length_1 =
_registerName1("stringWithCharacters:length:");
late final ffi.Pointer<ObjCSel> _sel_stringWithUTF8String_1 =
_registerName1("stringWithUTF8String:");
late final ffi.Pointer<ObjCSel> _sel_stringWithFormat_1 =
_registerName1("stringWithFormat:");
late final ffi.Pointer<ObjCSel> _sel_localizedStringWithFormat_1 =
_registerName1("localizedStringWithFormat:");
late final ffi.Pointer<ObjCSel> _sel_initWithCString_encoding_1 =
_registerName1("initWithCString:encoding:");
instancetype _objc_msgSend_64(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> nullTerminatedCString,
int encoding,
) {
return __objc_msgSend_64(
obj,
sel,
nullTerminatedCString,
encoding,
);
}
late final __objc_msgSend_64Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, NSStringEncoding)>>('objc_msgSend');
late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, int)>();
late final ffi.Pointer<ObjCSel> _sel_stringWithCString_encoding_1 =
_registerName1("stringWithCString:encoding:");
late final ffi.Pointer<ObjCSel> _sel_initWithContentsOfURL_encoding_error_1 =
_registerName1("initWithContentsOfURL:encoding:error:");
instancetype _objc_msgSend_65(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> url,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_65(
obj,
sel,
url,
enc,
error,
);
}
late final __objc_msgSend_65Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSStringEncoding,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
int,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();
late final ffi.Pointer<ObjCSel> _sel_initWithContentsOfFile_encoding_error_1 =
_registerName1("initWithContentsOfFile:encoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_stringWithContentsOfURL_encoding_error_1 =
_registerName1("stringWithContentsOfURL:encoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_stringWithContentsOfFile_encoding_error_1 =
_registerName1("stringWithContentsOfFile:encoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_initWithContentsOfURL_usedEncoding_error_1 =
_registerName1("initWithContentsOfURL:usedEncoding:error:");
instancetype _objc_msgSend_66(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> url,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_66(
obj,
sel,
url,
enc,
error,
);
}
late final __objc_msgSend_66Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<NSStringEncoding>,
ffi.Pointer<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<NSStringEncoding>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();
late final ffi.Pointer<ObjCSel>
_sel_initWithContentsOfFile_usedEncoding_error_1 =
_registerName1("initWithContentsOfFile:usedEncoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_stringWithContentsOfURL_usedEncoding_error_1 =
_registerName1("stringWithContentsOfURL:usedEncoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_stringWithContentsOfFile_usedEncoding_error_1 =
_registerName1("stringWithContentsOfFile:usedEncoding:error:");
late final ffi.Pointer<ObjCSel>
_sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 =
_registerName1(
"stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:");
int _objc_msgSend_67(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> data,
ffi.Pointer<ObjCObject> opts,
ffi.Pointer<ffi.Pointer<ObjCObject>> string,
ffi.Pointer<ffi.Uint8> usedLossyConversion,
) {
return __objc_msgSend_67(
obj,
sel,
data,
opts,
string,
usedLossyConversion,
);
}
late final __objc_msgSend_67Ptr = _lookup<
ffi.NativeFunction<
NSStringEncoding Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Pointer<ObjCObject>>,
ffi.Pointer<ffi.Uint8>)>>('objc_msgSend');
late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction<
int Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Pointer<ObjCObject>>,
ffi.Pointer<ffi.Uint8>)>();
late final ffi.Pointer<ObjCSel> _sel_propertyList1 =
_registerName1("propertyList");
late final ffi.Pointer<ObjCObject> _class_NSDictionary1 =
_getClass1("NSDictionary");
late final ffi.Pointer<ObjCSel> _sel_propertyListFromStringsFileFormat1 =
_registerName1("propertyListFromStringsFileFormat");
ffi.Pointer<ObjCObject> _objc_msgSend_68(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_68(
obj,
sel,
);
}
late final __objc_msgSend_68Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_cString1 = _registerName1("cString");
late final ffi.Pointer<ObjCSel> _sel_lossyCString1 =
_registerName1("lossyCString");
late final ffi.Pointer<ObjCSel> _sel_cStringLength1 =
_registerName1("cStringLength");
late final ffi.Pointer<ObjCSel> _sel_getCString_1 =
_registerName1("getCString:");
void _objc_msgSend_69(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> bytes,
) {
return __objc_msgSend_69(
obj,
sel,
bytes,
);
}
late final __objc_msgSend_69Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>)>>('objc_msgSend');
late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>)>();
late final ffi.Pointer<ObjCSel> _sel_getCString_maxLength_1 =
_registerName1("getCString:maxLength:");
void _objc_msgSend_70(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> bytes,
int maxLength,
) {
return __objc_msgSend_70(
obj,
sel,
bytes,
maxLength,
);
}
late final __objc_msgSend_70Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, int)>();
late final ffi.Pointer<ObjCSel>
_sel_getCString_maxLength_range_remainingRange_1 =
_registerName1("getCString:maxLength:range:remainingRange:");
void _objc_msgSend_71(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> bytes,
int maxLength,
NSRange aRange,
NSRangePointer leftoverRange,
) {
return __objc_msgSend_71(
obj,
sel,
bytes,
maxLength,
aRange,
leftoverRange,
);
}
late final __objc_msgSend_71Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
NSUInteger,
NSRange,
NSRangePointer)>>('objc_msgSend');
late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>, int, NSRange, NSRangePointer)>();
late final ffi.Pointer<ObjCSel> _sel_writeToFile_atomically_1 =
_registerName1("writeToFile:atomically:");
bool _objc_msgSend_72(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> path,
bool useAuxiliaryFile,
) {
return __objc_msgSend_72(
obj,
sel,
path,
useAuxiliaryFile ? 1 : 0,
) !=
0;
}
late final __objc_msgSend_72Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_writeToURL_atomically_1 =
_registerName1("writeToURL:atomically:");
late final ffi.Pointer<ObjCSel> _sel_initWithContentsOfFile_1 =
_registerName1("initWithContentsOfFile:");
late final ffi.Pointer<ObjCSel> _sel_initWithContentsOfURL_1 =
_registerName1("initWithContentsOfURL:");
late final ffi.Pointer<ObjCSel> _sel_stringWithContentsOfFile_1 =
_registerName1("stringWithContentsOfFile:");
late final ffi.Pointer<ObjCSel> _sel_stringWithContentsOfURL_1 =
_registerName1("stringWithContentsOfURL:");
late final ffi.Pointer<ObjCSel>
_sel_initWithCStringNoCopy_length_freeWhenDone_1 =
_registerName1("initWithCStringNoCopy:length:freeWhenDone:");
ffi.Pointer<ObjCObject> _objc_msgSend_73(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> bytes,
int length,
bool freeBuffer,
) {
return __objc_msgSend_73(
obj,
sel,
bytes,
length,
freeBuffer ? 1 : 0,
);
}
late final __objc_msgSend_73Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
NSUInteger,
ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int, int)>();
late final ffi.Pointer<ObjCSel> _sel_initWithCString_length_1 =
_registerName1("initWithCString:length:");
late final ffi.Pointer<ObjCSel> _sel_initWithCString_1 =
_registerName1("initWithCString:");
late final ffi.Pointer<ObjCSel> _sel_stringWithCString_length_1 =
_registerName1("stringWithCString:length:");
late final ffi.Pointer<ObjCSel> _sel_stringWithCString_1 =
_registerName1("stringWithCString:");
late final ffi.Pointer<ObjCSel> _sel_getCharacters_1 =
_registerName1("getCharacters:");
void _objc_msgSend_74(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<unichar> buffer,
) {
return __objc_msgSend_74(
obj,
sel,
buffer,
);
}
late final __objc_msgSend_74Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>)>>('objc_msgSend');
late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<unichar>)>();
ffi.Pointer<ObjCObject> _objc_msgSend_75(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_75(
obj,
sel,
);
}
late final __objc_msgSend_75Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_75 = __objc_msgSend_75Ptr.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_version1 = _registerName1("version");
late final ffi.Pointer<ObjCSel> _sel_setVersion_1 =
_registerName1("setVersion:");
void _objc_msgSend_76(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int aVersion,
) {
return __objc_msgSend_76(
obj,
sel,
aVersion,
);
}
late final __objc_msgSend_76Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSInteger)>>('objc_msgSend');
late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_classForCoder1 =
_registerName1("classForCoder");
late final ffi.Pointer<ObjCSel> _sel_replacementObjectForCoder_1 =
_registerName1("replacementObjectForCoder:");
late final ffi.Pointer<ObjCSel> _sel_awakeAfterUsingCoder_1 =
_registerName1("awakeAfterUsingCoder:");
late final ffi.Pointer<ObjCSel> _sel_poseAsClass_1 =
_registerName1("poseAsClass:");
late final ffi.Pointer<ObjCSel> _sel_autoContentAccessingProxy1 =
_registerName1("autoContentAccessingProxy");
late final ffi.Pointer<ObjCObject> _class_NSValue1 = _getClass1("NSValue");
late final ffi.Pointer<ObjCSel> _sel_getValue_size_1 =
_registerName1("getValue:size:");
void _objc_msgSend_77(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
int size,
) {
return __objc_msgSend_77(
obj,
sel,
value,
size,
);
}
late final __objc_msgSend_77Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_77 = __objc_msgSend_77Ptr.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_78(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
ffi.Pointer<pkg_ffi.Char> type,
) {
return __objc_msgSend_78(
obj,
sel,
value,
type,
);
}
late final __objc_msgSend_78Ptr = _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_78 = __objc_msgSend_78Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, ffi.Pointer<pkg_ffi.Char>)>();
late final ffi.Pointer<ObjCSel> _sel_valueWithBytes_objCType_1 =
_registerName1("valueWithBytes:objCType:");
ffi.Pointer<ObjCObject> _objc_msgSend_79(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
ffi.Pointer<pkg_ffi.Char> type,
) {
return __objc_msgSend_79(
obj,
sel,
value,
type,
);
}
late final __objc_msgSend_79Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<pkg_ffi.Char>)>>('objc_msgSend');
late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<pkg_ffi.Char>)>();
late final ffi.Pointer<ObjCSel> _sel_value_withObjCType_1 =
_registerName1("value:withObjCType:");
late final ffi.Pointer<ObjCSel> _sel_valueWithNonretainedObject_1 =
_registerName1("valueWithNonretainedObject:");
ffi.Pointer<ObjCObject> _objc_msgSend_80(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
) {
return __objc_msgSend_80(
obj,
sel,
anObject,
);
}
late final __objc_msgSend_80Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, 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>)>();
late final ffi.Pointer<ObjCSel> _sel_nonretainedObjectValue1 =
_registerName1("nonretainedObjectValue");
late final ffi.Pointer<ObjCSel> _sel_valueWithPointer_1 =
_registerName1("valueWithPointer:");
ffi.Pointer<ObjCObject> _objc_msgSend_81(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> pointer,
) {
return __objc_msgSend_81(
obj,
sel,
pointer,
);
}
late final __objc_msgSend_81Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ffi.Void>)>>('objc_msgSend');
late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ffi.Void>)>();
late final ffi.Pointer<ObjCSel> _sel_pointerValue1 =
_registerName1("pointerValue");
ffi.Pointer<ffi.Void> _objc_msgSend_82(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_82(
obj,
sel,
);
}
late final __objc_msgSend_82Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ffi.Void> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction<
ffi.Pointer<ffi.Void> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_isEqualToValue_1 =
_registerName1("isEqualToValue:");
late final ffi.Pointer<ObjCSel> _sel_getValue_1 = _registerName1("getValue:");
void _objc_msgSend_83(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
) {
return __objc_msgSend_83(
obj,
sel,
value,
);
}
late final __objc_msgSend_83Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>)>>('objc_msgSend');
late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>)>();
late final ffi.Pointer<ObjCSel> _sel_valueWithRange_1 =
_registerName1("valueWithRange:");
ffi.Pointer<ObjCObject> _objc_msgSend_84(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_84(
obj,
sel,
range,
);
}
late final __objc_msgSend_84Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_rangeValue1 =
_registerName1("rangeValue");
NSRange _objc_msgSend_85(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_85(
obj,
sel,
);
}
late final __objc_msgSend_85Ptr = _lookup<
ffi.NativeFunction<
NSRange Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction<
NSRange Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCObject> _class_NSNumber1 = _getClass1("NSNumber");
late final ffi.Pointer<ObjCSel> _sel_initWithChar_1 =
_registerName1("initWithChar:");
ffi.Pointer<ObjCObject> _objc_msgSend_86(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_86(
obj,
sel,
value,
);
}
late final __objc_msgSend_86Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Char)>>('objc_msgSend');
late final __objc_msgSend_86 = __objc_msgSend_86Ptr.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_87(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_87(
obj,
sel,
value,
);
}
late final __objc_msgSend_87Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedChar)>>('objc_msgSend');
late final __objc_msgSend_87 = __objc_msgSend_87Ptr.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_88(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_88(
obj,
sel,
value,
);
}
late final __objc_msgSend_88Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Short)>>('objc_msgSend');
late final __objc_msgSend_88 = __objc_msgSend_88Ptr.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_89(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_89(
obj,
sel,
value,
);
}
late final __objc_msgSend_89Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedShort)>>('objc_msgSend');
late final __objc_msgSend_89 = __objc_msgSend_89Ptr.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_90(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_90(
obj,
sel,
value,
);
}
late final __objc_msgSend_90Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Int)>>('objc_msgSend');
late final __objc_msgSend_90 = __objc_msgSend_90Ptr.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_91(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_91(
obj,
sel,
value,
);
}
late final __objc_msgSend_91Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedInt)>>('objc_msgSend');
late final __objc_msgSend_91 = __objc_msgSend_91Ptr.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_92(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_92(
obj,
sel,
value,
);
}
late final __objc_msgSend_92Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Long)>>('objc_msgSend');
late final __objc_msgSend_92 = __objc_msgSend_92Ptr.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_93(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_93(
obj,
sel,
value,
);
}
late final __objc_msgSend_93Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLong)>>('objc_msgSend');
late final __objc_msgSend_93 = __objc_msgSend_93Ptr.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_94(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_94(
obj,
sel,
value,
);
}
late final __objc_msgSend_94Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.LongLong)>>('objc_msgSend');
late final __objc_msgSend_94 = __objc_msgSend_94Ptr.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_95(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_95(
obj,
sel,
value,
);
}
late final __objc_msgSend_95Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLongLong)>>('objc_msgSend');
late final __objc_msgSend_95 = __objc_msgSend_95Ptr.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_96(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double value,
) {
return __objc_msgSend_96(
obj,
sel,
value,
);
}
late final __objc_msgSend_96Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Float)>>('objc_msgSend');
late final __objc_msgSend_96 = __objc_msgSend_96Ptr.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_97(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double value,
) {
return __objc_msgSend_97(
obj,
sel,
value,
);
}
late final __objc_msgSend_97Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend');
late final __objc_msgSend_97 = __objc_msgSend_97Ptr.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_98(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
bool value,
) {
return __objc_msgSend_98(
obj,
sel,
value ? 1 : 0,
);
}
late final __objc_msgSend_98Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_98 = __objc_msgSend_98Ptr.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_99(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_99(
obj,
sel,
);
}
late final __objc_msgSend_99Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Char Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_unsignedCharValue1 =
_registerName1("unsignedCharValue");
int _objc_msgSend_100(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_100(
obj,
sel,
);
}
late final __objc_msgSend_100Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedChar Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_shortValue1 =
_registerName1("shortValue");
int _objc_msgSend_101(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_101(
obj,
sel,
);
}
late final __objc_msgSend_101Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Short Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_unsignedShortValue1 =
_registerName1("unsignedShortValue");
int _objc_msgSend_102(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_102(
obj,
sel,
);
}
late final __objc_msgSend_102Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedShort Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_unsignedIntValue1 =
_registerName1("unsignedIntValue");
int _objc_msgSend_103(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_103(
obj,
sel,
);
}
late final __objc_msgSend_103Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedInt Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_longValue1 = _registerName1("longValue");
late final ffi.Pointer<ObjCSel> _sel_unsignedLongValue1 =
_registerName1("unsignedLongValue");
late final ffi.Pointer<ObjCSel> _sel_unsignedLongLongValue1 =
_registerName1("unsignedLongLongValue");
int _objc_msgSend_104(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_104(
obj,
sel,
);
}
late final __objc_msgSend_104Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedLongLong Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_unsignedIntegerValue1 =
_registerName1("unsignedIntegerValue");
late final ffi.Pointer<ObjCSel> _sel_stringValue1 =
_registerName1("stringValue");
late final ffi.Pointer<ObjCSel> _sel_isEqualToNumber_1 =
_registerName1("isEqualToNumber:");
late final ffi.Pointer<ObjCSel> _sel_descriptionWithLocale_1 =
_registerName1("descriptionWithLocale:");
late final ffi.Pointer<ObjCSel> _sel_numberWithChar_1 =
_registerName1("numberWithChar:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedChar_1 =
_registerName1("numberWithUnsignedChar:");
late final ffi.Pointer<ObjCSel> _sel_numberWithShort_1 =
_registerName1("numberWithShort:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedShort_1 =
_registerName1("numberWithUnsignedShort:");
late final ffi.Pointer<ObjCSel> _sel_numberWithInt_1 =
_registerName1("numberWithInt:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedInt_1 =
_registerName1("numberWithUnsignedInt:");
late final ffi.Pointer<ObjCSel> _sel_numberWithLong_1 =
_registerName1("numberWithLong:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedLong_1 =
_registerName1("numberWithUnsignedLong:");
late final ffi.Pointer<ObjCSel> _sel_numberWithLongLong_1 =
_registerName1("numberWithLongLong:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedLongLong_1 =
_registerName1("numberWithUnsignedLongLong:");
late final ffi.Pointer<ObjCSel> _sel_numberWithFloat_1 =
_registerName1("numberWithFloat:");
late final ffi.Pointer<ObjCSel> _sel_numberWithDouble_1 =
_registerName1("numberWithDouble:");
late final ffi.Pointer<ObjCSel> _sel_numberWithBool_1 =
_registerName1("numberWithBool:");
late final ffi.Pointer<ObjCSel> _sel_numberWithInteger_1 =
_registerName1("numberWithInteger:");
late final ffi.Pointer<ObjCSel> _sel_numberWithUnsignedInteger_1 =
_registerName1("numberWithUnsignedInteger:");
late final ffi.Pointer<ObjCObject> _class_NSEnumerator1 =
_getClass1("NSEnumerator");
late final ffi.Pointer<ObjCSel> _sel_nextObject1 =
_registerName1("nextObject");
late final ffi.Pointer<ObjCSel> _sel_allObjects1 =
_registerName1("allObjects");
late final ffi.Pointer<ObjCObject> _class_NSArray1 = _getClass1("NSArray");
late final ffi.Pointer<ObjCSel> _sel_count1 = _registerName1("count");
late final ffi.Pointer<ObjCSel> _sel_objectAtIndex_1 =
_registerName1("objectAtIndex:");
ffi.Pointer<ObjCObject> _objc_msgSend_105(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
) {
return __objc_msgSend_105(
obj,
sel,
index,
);
}
late final __objc_msgSend_105Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_initWithObjects_count_1 =
_registerName1("initWithObjects:count:");
instancetype _objc_msgSend_106(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects,
int cnt,
) {
return __objc_msgSend_106(
obj,
sel,
objects,
cnt,
);
}
late final __objc_msgSend_106Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>,
NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>, int)>();
late final ffi.Pointer<ObjCSel> _sel_componentsJoinedByString_1 =
_registerName1("componentsJoinedByString:");
late final ffi.Pointer<ObjCSel> _sel_containsObject_1 =
_registerName1("containsObject:");
late final ffi.Pointer<ObjCSel> _sel_descriptionWithLocale_indent_1 =
_registerName1("descriptionWithLocale:indent:");
ffi.Pointer<ObjCObject> _objc_msgSend_107(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> locale,
int level,
) {
return __objc_msgSend_107(
obj,
sel,
locale,
level,
);
}
late final __objc_msgSend_107Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_firstObjectCommonWithArray_1 =
_registerName1("firstObjectCommonWithArray:");
late final ffi.Pointer<ObjCSel> _sel_getObjects_range_1 =
_registerName1("getObjects:range:");
void _objc_msgSend_108(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects,
NSRange range,
) {
return __objc_msgSend_108(
obj,
sel,
objects,
range,
);
}
late final __objc_msgSend_108Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_indexOfObject_1 =
_registerName1("indexOfObject:");
int _objc_msgSend_109(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
) {
return __objc_msgSend_109(
obj,
sel,
anObject,
);
}
late final __objc_msgSend_109Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_indexOfObject_inRange_1 =
_registerName1("indexOfObject:inRange:");
int _objc_msgSend_110(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
NSRange range,
) {
return __objc_msgSend_110(
obj,
sel,
anObject,
range,
);
}
late final __objc_msgSend_110Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_indexOfObjectIdenticalTo_1 =
_registerName1("indexOfObjectIdenticalTo:");
late final ffi.Pointer<ObjCSel> _sel_indexOfObjectIdenticalTo_inRange_1 =
_registerName1("indexOfObjectIdenticalTo:inRange:");
late final ffi.Pointer<ObjCSel> _sel_isEqualToArray_1 =
_registerName1("isEqualToArray:");
late final ffi.Pointer<ObjCSel> _sel_firstObject1 =
_registerName1("firstObject");
late final ffi.Pointer<ObjCSel> _sel_lastObject1 =
_registerName1("lastObject");
late final ffi.Pointer<ObjCSel> _sel_sortedArrayHint1 =
_registerName1("sortedArrayHint");
late final ffi.Pointer<ObjCSel> _sel_writeToURL_error_1 =
_registerName1("writeToURL:error:");
bool _objc_msgSend_111(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> url,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_111(
obj,
sel,
url,
error,
) !=
0;
}
late final __objc_msgSend_111Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Pointer<ObjCObject>>)>();
late final ffi.Pointer<ObjCSel> _sel_makeObjectsPerformSelector_1 =
_registerName1("makeObjectsPerformSelector:");
late final ffi.Pointer<ObjCSel> _sel_makeObjectsPerformSelector_withObject_1 =
_registerName1("makeObjectsPerformSelector:withObject:");
void _objc_msgSend_112(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
ffi.Pointer<ObjCObject> argument,
) {
return __objc_msgSend_112(
obj,
sel,
aSelector,
argument,
);
}
late final __objc_msgSend_112Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_objectAtIndexedSubscript_1 =
_registerName1("objectAtIndexedSubscript:");
late final ffi.Pointer<ObjCSel> _sel_enumerateObjectsUsingBlock_1 =
_registerName1("enumerateObjectsUsingBlock:");
void _objc_msgSend_113(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_113(
obj,
sel,
block,
);
}
late final __objc_msgSend_113Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_enumerateObjectsWithOptions_usingBlock_1 =
_registerName1("enumerateObjectsWithOptions:usingBlock:");
void _objc_msgSend_114(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_114(
obj,
sel,
opts,
block,
);
}
late final __objc_msgSend_114Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_enumerateObjectsAtIndexes_options_usingBlock_1 =
_registerName1("enumerateObjectsAtIndexes:options:usingBlock:");
void _objc_msgSend_115(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> s,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_115(
obj,
sel,
s,
opts,
block,
);
}
late final __objc_msgSend_115Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexOfObjectPassingTest_1 =
_registerName1("indexOfObjectPassingTest:");
int _objc_msgSend_116(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_116(
obj,
sel,
predicate,
);
}
late final __objc_msgSend_116Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexOfObjectWithOptions_passingTest_1 =
_registerName1("indexOfObjectWithOptions:passingTest:");
int _objc_msgSend_117(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_117(
obj,
sel,
opts,
predicate,
);
}
late final __objc_msgSend_117Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_indexOfObjectAtIndexes_options_passingTest_1 =
_registerName1("indexOfObjectAtIndexes:options:passingTest:");
int _objc_msgSend_118(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> s,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_118(
obj,
sel,
s,
opts,
predicate,
);
}
late final __objc_msgSend_118Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, ffi.Pointer<_ObjCBlock>)>();
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:");
late final ffi.Pointer<ObjCSel> _sel_indexSetWithIndexesInRange_1 =
_registerName1("indexSetWithIndexesInRange:");
instancetype _objc_msgSend_119(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_119(
obj,
sel,
range,
);
}
late final __objc_msgSend_119Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_119 = __objc_msgSend_119Ptr.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_firstIndex1 =
_registerName1("firstIndex");
late final ffi.Pointer<ObjCSel> _sel_lastIndex1 = _registerName1("lastIndex");
late final ffi.Pointer<ObjCSel> _sel_indexGreaterThanIndex_1 =
_registerName1("indexGreaterThanIndex:");
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_120(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<NSUInteger> indexBuffer,
int bufferSize,
NSRangePointer range,
) {
return __objc_msgSend_120(
obj,
sel,
indexBuffer,
bufferSize,
range,
);
}
late final __objc_msgSend_120Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>,
NSUInteger,
NSRangePointer)>>('objc_msgSend');
late final __objc_msgSend_120 = __objc_msgSend_120Ptr.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_121(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_121(
obj,
sel,
range,
);
}
late final __objc_msgSend_121Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_containsIndex_1 =
_registerName1("containsIndex:");
late final ffi.Pointer<ObjCSel> _sel_containsIndexesInRange_1 =
_registerName1("containsIndexesInRange:");
bool _objc_msgSend_122(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_122(
obj,
sel,
range,
) !=
0;
}
late final __objc_msgSend_122Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_122 = __objc_msgSend_122Ptr.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:");
void _objc_msgSend_123(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_123(
obj,
sel,
block,
);
}
late final __objc_msgSend_123Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_enumerateIndexesWithOptions_usingBlock_1 =
_registerName1("enumerateIndexesWithOptions:usingBlock:");
void _objc_msgSend_124(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_124(
obj,
sel,
opts,
block,
);
}
late final __objc_msgSend_124Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_enumerateIndexesInRange_options_usingBlock_1 =
_registerName1("enumerateIndexesInRange:options:usingBlock:");
void _objc_msgSend_125(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_125(
obj,
sel,
range,
opts,
block,
);
}
late final __objc_msgSend_125Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexPassingTest_1 =
_registerName1("indexPassingTest:");
int _objc_msgSend_126(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_126(
obj,
sel,
predicate,
);
}
late final __objc_msgSend_126Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexWithOptions_passingTest_1 =
_registerName1("indexWithOptions:passingTest:");
int _objc_msgSend_127(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_127(
obj,
sel,
opts,
predicate,
);
}
late final __objc_msgSend_127Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexInRange_options_passingTest_1 =
_registerName1("indexInRange:options:passingTest:");
int _objc_msgSend_128(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_128(
obj,
sel,
range,
opts,
predicate,
);
}
late final __objc_msgSend_128Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexesPassingTest_1 =
_registerName1("indexesPassingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_129(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_129(
obj,
sel,
predicate,
);
}
late final __objc_msgSend_129Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexesWithOptions_passingTest_1 =
_registerName1("indexesWithOptions:passingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_130(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_130(
obj,
sel,
opts,
predicate,
);
}
late final __objc_msgSend_130Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexesInRange_options_passingTest_1 =
_registerName1("indexesInRange:options:passingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_131(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_131(
obj,
sel,
range,
opts,
predicate,
);
}
late final __objc_msgSend_131Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSRange,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSRange, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_enumerateRangesUsingBlock_1 =
_registerName1("enumerateRangesUsingBlock:");
void _objc_msgSend_132(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_132(
obj,
sel,
block,
);
}
late final __objc_msgSend_132Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_enumerateRangesWithOptions_usingBlock_1 =
_registerName1("enumerateRangesWithOptions:usingBlock:");
void _objc_msgSend_133(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_133(
obj,
sel,
opts,
block,
);
}
late final __objc_msgSend_133Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_enumerateRangesInRange_options_usingBlock_1 =
_registerName1("enumerateRangesInRange:options:usingBlock:");
void _objc_msgSend_134(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<_ObjCBlock> block,
) {
return __objc_msgSend_134(
obj,
sel,
range,
opts,
block,
);
}
late final __objc_msgSend_134Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel> _sel_indexesOfObjectsPassingTest_1 =
_registerName1("indexesOfObjectsPassingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_135(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_135(
obj,
sel,
predicate,
);
}
late final __objc_msgSend_135Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_indexesOfObjectsWithOptions_passingTest_1 =
_registerName1("indexesOfObjectsWithOptions:passingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_136(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_136(
obj,
sel,
opts,
predicate,
);
}
late final __objc_msgSend_136Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_indexesOfObjectsAtIndexes_options_passingTest_1 =
_registerName1("indexesOfObjectsAtIndexes:options:passingTest:");
ffi.Pointer<ObjCObject> _objc_msgSend_137(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> s,
int opts,
ffi.Pointer<_ObjCBlock> predicate,
) {
return __objc_msgSend_137(
obj,
sel,
s,
opts,
predicate,
);
}
late final __objc_msgSend_137Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
int,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_indexOfObject_inSortedRange_options_usingComparator_1 =
_registerName1("indexOfObject:inSortedRange:options:usingComparator:");
int _objc_msgSend_138(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> obj1,
NSRange r,
int opts,
NSComparator cmp,
) {
return __objc_msgSend_138(
obj,
sel,
obj1,
r,
opts,
cmp,
);
}
late final __objc_msgSend_138Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSRange,
ffi.Int32,
NSComparator)>>('objc_msgSend');
late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSRange, int, NSComparator)>();
late final ffi.Pointer<ObjCSel> _sel_array1 = _registerName1("array");
late final ffi.Pointer<ObjCSel> _sel_arrayWithObject_1 =
_registerName1("arrayWithObject:");
late final ffi.Pointer<ObjCSel> _sel_arrayWithObjects_count_1 =
_registerName1("arrayWithObjects:count:");
late final ffi.Pointer<ObjCSel> _sel_arrayWithObjects_1 =
_registerName1("arrayWithObjects:");
late final ffi.Pointer<ObjCSel> _sel_arrayWithArray_1 =
_registerName1("arrayWithArray:");
late final ffi.Pointer<ObjCSel> _sel_initWithObjects_1 =
_registerName1("initWithObjects:");
late final ffi.Pointer<ObjCSel> _sel_initWithArray_1 =
_registerName1("initWithArray:");
late final ffi.Pointer<ObjCSel> _sel_initWithArray_copyItems_1 =
_registerName1("initWithArray:copyItems:");
instancetype _objc_msgSend_139(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> array,
bool flag,
) {
return __objc_msgSend_139(
obj,
sel,
array,
flag ? 1 : 0,
);
}
late final __objc_msgSend_139Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Uint8)>>('objc_msgSend');
late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
late final ffi.Pointer<ObjCSel> _sel_getObjects_1 =
_registerName1("getObjects:");
void _objc_msgSend_140(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects,
) {
return __objc_msgSend_140(
obj,
sel,
objects,
);
}
late final __objc_msgSend_140Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();
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_141(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
int index,
) {
return __objc_msgSend_141(
obj,
sel,
anObject,
index,
);
}
late final __objc_msgSend_141Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_141 = __objc_msgSend_141Ptr.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_142(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
ffi.Pointer<ObjCObject> anObject,
) {
return __objc_msgSend_142(
obj,
sel,
index,
anObject,
);
}
late final __objc_msgSend_142Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_142 = __objc_msgSend_142Ptr.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<ObjCSel> _sel_addObjectsFromArray_1 =
_registerName1("addObjectsFromArray:");
late final ffi.Pointer<ObjCSel>
_sel_exchangeObjectAtIndex_withObjectAtIndex_1 =
_registerName1("exchangeObjectAtIndex:withObjectAtIndex:");
void _objc_msgSend_143(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int idx1,
int idx2,
) {
return __objc_msgSend_143(
obj,
sel,
idx1,
idx2,
);
}
late final __objc_msgSend_143Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int)>();
late final ffi.Pointer<ObjCSel> _sel_removeAllObjects1 =
_registerName1("removeAllObjects");
late final ffi.Pointer<ObjCSel> _sel_removeObject_inRange_1 =
_registerName1("removeObject:inRange:");
void _objc_msgSend_144(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
NSRange range,
) {
return __objc_msgSend_144(
obj,
sel,
anObject,
range,
);
}
late final __objc_msgSend_144Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSRange)>();
late final ffi.Pointer<ObjCSel> _sel_removeObject_1 =
_registerName1("removeObject:");
late final ffi.Pointer<ObjCSel> _sel_removeObjectIdenticalTo_inRange_1 =
_registerName1("removeObjectIdenticalTo:inRange:");
late final ffi.Pointer<ObjCSel> _sel_removeObjectIdenticalTo_1 =
_registerName1("removeObjectIdenticalTo:");
late final ffi.Pointer<ObjCSel> _sel_removeObjectsFromIndices_numIndices_1 =
_registerName1("removeObjectsFromIndices:numIndices:");
void _objc_msgSend_145(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<NSUInteger> indices,
int cnt,
) {
return __objc_msgSend_145(
obj,
sel,
indices,
cnt,
);
}
late final __objc_msgSend_145Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>, int)>();
late final ffi.Pointer<ObjCSel> _sel_removeObjectsInArray_1 =
_registerName1("removeObjectsInArray:");
late final ffi.Pointer<ObjCSel> _sel_removeObjectsInRange_1 =
_registerName1("removeObjectsInRange:");
void _objc_msgSend_146(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
return __objc_msgSend_146(
obj,
sel,
range,
);
}
late final __objc_msgSend_146Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
late final ffi.Pointer<ObjCSel>
_sel_replaceObjectsInRange_withObjectsFromArray_range_1 =
_registerName1("replaceObjectsInRange:withObjectsFromArray:range:");
void _objc_msgSend_147(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
ffi.Pointer<ObjCObject> otherArray,
NSRange otherRange,
) {
return __objc_msgSend_147(
obj,
sel,
range,
otherArray,
otherRange,
);
}
late final __objc_msgSend_147Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Pointer<ObjCObject>, NSRange)>>('objc_msgSend');
late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange,
ffi.Pointer<ObjCObject>, NSRange)>();
late final ffi.Pointer<ObjCSel>
_sel_replaceObjectsInRange_withObjectsFromArray_1 =
_registerName1("replaceObjectsInRange:withObjectsFromArray:");
void _objc_msgSend_148(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
ffi.Pointer<ObjCObject> otherArray,
) {
return __objc_msgSend_148(
obj,
sel,
range,
otherArray,
);
}
late final __objc_msgSend_148Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_setArray_1 = _registerName1("setArray:");
late final ffi.Pointer<ObjCSel> _sel_sortUsingFunction_context_1 =
_registerName1("sortUsingFunction:context:");
void _objc_msgSend_149(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<
ffi.NativeFunction<
NSInteger Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Void>)>>
compare,
ffi.Pointer<ffi.Void> context,
) {
return __objc_msgSend_149(
obj,
sel,
compare,
context,
);
}
late final __objc_msgSend_149Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<
ffi.NativeFunction<
NSInteger Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Void>)>>,
ffi.Pointer<ffi.Void>)>>('objc_msgSend');
late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<
ffi.NativeFunction<
NSInteger Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Void>)>>,
ffi.Pointer<ffi.Void>)>();
late final ffi.Pointer<ObjCSel> _sel_sortUsingSelector_1 =
_registerName1("sortUsingSelector:");
late final ffi.Pointer<ObjCSel> _sel_insertObjects_atIndexes_1 =
_registerName1("insertObjects:atIndexes:");
void _objc_msgSend_150(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> objects,
ffi.Pointer<ObjCObject> indexes,
) {
return __objc_msgSend_150(
obj,
sel,
objects,
indexes,
);
}
late final __objc_msgSend_150Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_removeObjectsAtIndexes_1 =
_registerName1("removeObjectsAtIndexes:");
late final ffi.Pointer<ObjCSel> _sel_replaceObjectsAtIndexes_withObjects_1 =
_registerName1("replaceObjectsAtIndexes:withObjects:");
late final ffi.Pointer<ObjCSel> _sel_setObject_atIndexedSubscript_1 =
_registerName1("setObject:atIndexedSubscript:");
late final ffi.Pointer<ObjCSel> _sel_sortUsingComparator_1 =
_registerName1("sortUsingComparator:");
void _objc_msgSend_151(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSComparator cmptr,
) {
return __objc_msgSend_151(
obj,
sel,
cmptr,
);
}
late final __objc_msgSend_151Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSComparator)>>('objc_msgSend');
late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSComparator)>();
late final ffi.Pointer<ObjCSel> _sel_sortWithOptions_usingComparator_1 =
_registerName1("sortWithOptions:usingComparator:");
void _objc_msgSend_152(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
NSComparator cmptr,
) {
return __objc_msgSend_152(
obj,
sel,
opts,
cmptr,
);
}
late final __objc_msgSend_152Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, NSComparator)>>('objc_msgSend');
late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, NSComparator)>();
late final ffi.Pointer<ObjCSel> _sel_arrayWithCapacity_1 =
_registerName1("arrayWithCapacity:");
late final ffi.Pointer<ObjCSel> _sel_applyDifference_1 =
_registerName1("applyDifference:");
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<ObjCObject> _class_NSItemProvider1 =
_getClass1("NSItemProvider");
late final ffi.Pointer<ObjCSel>
_sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 =
_registerName1(
"registerDataRepresentationForTypeIdentifier:visibility:loadHandler:");
void _objc_msgSend_153(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
int visibility,
ffi.Pointer<_ObjCBlock> loadHandler,
) {
return __objc_msgSend_153(
obj,
sel,
typeIdentifier,
visibility,
loadHandler,
);
}
late final __objc_msgSend_153Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 =
_registerName1(
"registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:");
void _objc_msgSend_154(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
int fileOptions,
int visibility,
ffi.Pointer<_ObjCBlock> loadHandler,
) {
return __objc_msgSend_154(
obj,
sel,
typeIdentifier,
fileOptions,
visibility,
loadHandler,
);
}
late final __objc_msgSend_154Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Int32,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, int, ffi.Pointer<_ObjCBlock>)>();
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_155(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
int fileOptions,
) {
return __objc_msgSend_155(
obj,
sel,
typeIdentifier,
fileOptions,
) !=
0;
}
late final __objc_msgSend_155Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_155 = __objc_msgSend_155Ptr.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_156(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
ffi.Pointer<_ObjCBlock> completionHandler,
) {
return __objc_msgSend_156(
obj,
sel,
typeIdentifier,
completionHandler,
);
}
late final __objc_msgSend_156Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<_ObjCBlock>)>();
late final ffi.Pointer<ObjCSel>
_sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 =
_registerName1(
"loadFileRepresentationForTypeIdentifier:completionHandler:");
late final ffi.Pointer<ObjCSel>
_sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 =
_registerName1(
"loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:");
ffi.Pointer<ObjCObject> _objc_msgSend_157(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
ffi.Pointer<_ObjCBlock> completionHandler,
) {
return __objc_msgSend_157(
obj,
sel,
typeIdentifier,
completionHandler,
);
}
late final __objc_msgSend_157Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<_ObjCBlock>)>>('objc_msgSend');
late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<_ObjCBlock>)>();
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_158(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> object,
int visibility,
) {
return __objc_msgSend_158(
obj,
sel,
object,
visibility,
);
}
late final __objc_msgSend_158Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_158 = __objc_msgSend_158Ptr.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:");
late final ffi.Pointer<ObjCSel>
_sel_registerItemForTypeIdentifier_loadHandler_1 =
_registerName1("registerItemForTypeIdentifier:loadHandler:");
void _objc_msgSend_159(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
NSItemProviderLoadHandler loadHandler,
) {
return __objc_msgSend_159(
obj,
sel,
typeIdentifier,
loadHandler,
);
}
late final __objc_msgSend_159Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSItemProviderLoadHandler)>>('objc_msgSend');
late final __objc_msgSend_159 = __objc_msgSend_159Ptr.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_160(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
ffi.Pointer<ObjCObject> options,
NSItemProviderCompletionHandler completionHandler,
) {
return __objc_msgSend_160(
obj,
sel,
typeIdentifier,
options,
completionHandler,
);
}
late final __objc_msgSend_160Ptr = _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_160 = __objc_msgSend_160Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
NSItemProviderCompletionHandler)>();
late final ffi.Pointer<ObjCSel> _sel_previewImageHandler1 =
_registerName1("previewImageHandler");
NSItemProviderLoadHandler _objc_msgSend_161(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_161(
obj,
sel,
);
}
late final __objc_msgSend_161Ptr = _lookup<
ffi.NativeFunction<
NSItemProviderLoadHandler Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction<
NSItemProviderLoadHandler Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_setPreviewImageHandler_1 =
_registerName1("setPreviewImageHandler:");
void _objc_msgSend_162(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSItemProviderLoadHandler value,
) {
return __objc_msgSend_162(
obj,
sel,
value,
);
}
late final __objc_msgSend_162Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSItemProviderLoadHandler)>>('objc_msgSend');
late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSItemProviderLoadHandler)>();
late final ffi.Pointer<ObjCSel>
_sel_loadPreviewImageWithOptions_completionHandler_1 =
_registerName1("loadPreviewImageWithOptions:completionHandler:");
void _objc_msgSend_163(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> options,
NSItemProviderCompletionHandler completionHandler,
) {
return __objc_msgSend_163(
obj,
sel,
options,
completionHandler,
);
}
late final __objc_msgSend_163Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSItemProviderCompletionHandler)>>('objc_msgSend');
late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSItemProviderCompletionHandler)>();
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:");
late final ffi.Pointer<ObjCSel> _sel_insertString_atIndex_1 =
_registerName1("insertString:atIndex:");
late final ffi.Pointer<ObjCSel> _sel_deleteCharactersInRange_1 =
_registerName1("deleteCharactersInRange:");
late final ffi.Pointer<ObjCSel> _sel_appendString_1 =
_registerName1("appendString:");
late final ffi.Pointer<ObjCSel> _sel_appendFormat_1 =
_registerName1("appendFormat:");
late final ffi.Pointer<ObjCSel> _sel_setString_1 =
_registerName1("setString:");
late final ffi.Pointer<ObjCSel>
_sel_replaceOccurrencesOfString_withString_options_range_1 =
_registerName1("replaceOccurrencesOfString:withString:options:range:");
int _objc_msgSend_164(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> target,
ffi.Pointer<ObjCObject> replacement,
int options,
NSRange searchRange,
) {
return __objc_msgSend_164(
obj,
sel,
target,
replacement,
options,
searchRange,
);
}
late final __objc_msgSend_164Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Int32,
NSRange)>>('objc_msgSend');
late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>, int, NSRange)>();
late final ffi.Pointer<ObjCSel>
_sel_applyTransform_reverse_range_updatedRange_1 =
_registerName1("applyTransform:reverse:range:updatedRange:");
bool _objc_msgSend_165(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSStringTransform transform,
bool reverse,
NSRange range,
NSRangePointer resultingRange,
) {
return __objc_msgSend_165(
obj,
sel,
transform,
reverse ? 1 : 0,
range,
resultingRange,
) !=
0;
}
late final __objc_msgSend_165Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
NSStringTransform,
ffi.Uint8,
NSRange,
NSRangePointer)>>('objc_msgSend');
late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSStringTransform, int, NSRange, NSRangePointer)>();
ffi.Pointer<ObjCObject> _objc_msgSend_166(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int capacity,
) {
return __objc_msgSend_166(
obj,
sel,
capacity,
);
}
late final __objc_msgSend_166Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSUInteger)>>('objc_msgSend');
late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_stringWithCapacity_1 =
_registerName1("stringWithCapacity:");
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_Foo1 = _getClass1("Foo");
late final ffi.Pointer<ObjCSel> _sel_intVal1 = _registerName1("intVal");
int _objc_msgSend_167(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
return __objc_msgSend_167(
obj,
sel,
);
}
late final __objc_msgSend_167Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
late final ffi.Pointer<ObjCSel> _sel_setIntVal_1 =
_registerName1("setIntVal:");
void _objc_msgSend_168(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
return __objc_msgSend_168(
obj,
sel,
value,
);
}
late final __objc_msgSend_168Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32)>>('objc_msgSend');
late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ObjCSel> _sel_makeFoo_1 = _registerName1("makeFoo:");
ffi.Pointer<ObjCObject> _objc_msgSend_169(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double x,
) {
return __objc_msgSend_169(
obj,
sel,
x,
);
}
late final __objc_msgSend_169Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend');
late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
late final ffi.Pointer<ObjCSel> _sel_multiply_withOtherFoo_1 =
_registerName1("multiply:withOtherFoo:");
int _objc_msgSend_170(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
bool useIntVals,
ffi.Pointer<ObjCObject> other,
) {
return __objc_msgSend_170(
obj,
sel,
useIntVals ? 1 : 0,
other,
);
}
late final __objc_msgSend_170Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Uint8, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<ObjCObject>)>();
late final ffi.Pointer<ObjCSel> _sel_setDoubleVal_1 =
_registerName1("setDoubleVal:");
void _objc_msgSend_171(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double x,
) {
return __objc_msgSend_171(
obj,
sel,
x,
);
}
late final __objc_msgSend_171Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Double)>>('objc_msgSend');
late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
}
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 NativeObjCLibrary _lib;
_ObjCWrapper._(this._id, this._lib);
@override
bool operator ==(Object other) {
return other is _ObjCWrapper && _id == other._id;
}
@override
int get hashCode => _id.hashCode;
}
class NSObject extends _ObjCWrapper {
NSObject._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSObject castFrom<T extends _ObjCWrapper>(T other) {
return NSObject._(other._id, other._lib);
}
static NSObject castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSObject._(other, lib);
}
static void load(NativeObjCLibrary _lib) {
_lib._objc_msgSend_0(_lib._class_NSObject1, _lib._sel_load1);
}
static void initialize(NativeObjCLibrary _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(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_new1);
return NSObject._(_ret, _lib);
}
static NSObject allocWithZone_(
NativeObjCLibrary _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(NativeObjCLibrary _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_(
NativeObjCLibrary _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_(
NativeObjCLibrary _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_(
NativeObjCLibrary _lib, ffi.Pointer<ObjCSel> aSelector) {
return _lib._objc_msgSend_3(_lib._class_NSObject1,
_lib._sel_instancesRespondToSelector_1, aSelector);
}
static bool conformsToProtocol_(NativeObjCLibrary _lib, NSObject? protocol) {
return _lib._objc_msgSend_4(_lib._class_NSObject1,
_lib._sel_conformsToProtocol_1, protocol?._id ?? ffi.nullptr);
}
IMP methodForSelector_(ffi.Pointer<ObjCSel> aSelector) {
return _lib._objc_msgSend_5(_id, _lib._sel_methodForSelector_1, aSelector);
}
static IMP instanceMethodForSelector_(
NativeObjCLibrary _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 ?? ffi.nullptr);
}
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_(
NativeObjCLibrary _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_(NativeObjCLibrary _lib, NSObject aClass) {
return _lib._objc_msgSend_4(
_lib._class_NSObject1, _lib._sel_isSubclassOfClass_1, aClass._id);
}
static bool resolveClassMethod_(
NativeObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
return _lib._objc_msgSend_3(
_lib._class_NSObject1, _lib._sel_resolveClassMethod_1, sel);
}
static bool resolveInstanceMethod_(
NativeObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
return _lib._objc_msgSend_3(
_lib._class_NSObject1, _lib._sel_resolveInstanceMethod_1, sel);
}
static int hash(NativeObjCLibrary _lib) {
return _lib._objc_msgSend_11(_lib._class_NSObject1, _lib._sel_hash1);
}
static NSObject superclass(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_superclass1);
return NSObject._(_ret, _lib);
}
static NSObject class1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSObject1, _lib._sel_class1);
return NSObject._(_ret, _lib);
}
static NSString description(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_75(_lib._class_NSObject1, _lib._sel_description1);
return NSString._(_ret, _lib);
}
static NSString debugDescription(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_75(
_lib._class_NSObject1, _lib._sel_debugDescription1);
return NSString._(_ret, _lib);
}
static int version(NativeObjCLibrary _lib) {
return _lib._objc_msgSend_32(_lib._class_NSObject1, _lib._sel_version1);
}
static void setVersion_(NativeObjCLibrary _lib, int aVersion) {
_lib._objc_msgSend_76(
_lib._class_NSObject1, _lib._sel_setVersion_1, aVersion);
}
NSObject get classForCoder {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_classForCoder1);
return NSObject._(_ret, _lib);
}
NSObject replacementObjectForCoder_(NSObject? coder) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_replacementObjectForCoder_1, coder?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
NSObject awakeAfterUsingCoder_(NSObject? coder) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_awakeAfterUsingCoder_1, coder?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
static void poseAsClass_(NativeObjCLibrary _lib, NSObject aClass) {
_lib._objc_msgSend_8(
_lib._class_NSObject1, _lib._sel_poseAsClass_1, aClass._id);
}
NSObject get autoContentAccessingProxy {
final _ret =
_lib._objc_msgSend_1(_id, _lib._sel_autoContentAccessingProxy1);
return NSObject._(_ret, _lib);
}
}
class ObjCSel extends ffi.Opaque {}
class ObjCObject extends ffi.Opaque {}
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, NativeObjCLibrary lib)
: super._(id, lib);
static NSMethodSignature castFrom<T extends _ObjCWrapper>(T other) {
return NSMethodSignature._(other._id, other._lib);
}
static NSMethodSignature castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSMethodSignature._(other, lib);
}
}
typedef NSUInteger = pkg_ffi.UnsignedLong;
class NSString extends NSObject {
NSString._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSString castFrom<T extends _ObjCWrapper>(T other) {
return NSString._(other._id, other._lib);
}
static NSString castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSString._(other, lib);
}
factory NSString(NativeObjCLibrary _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 ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString substringFromIndex_(int from) {
final _ret =
_lib._objc_msgSend_14(_id, _lib._sel_substringFromIndex_1, from);
return NSString._(_ret, _lib);
}
NSString substringToIndex_(int to) {
final _ret = _lib._objc_msgSend_14(_id, _lib._sel_substringToIndex_1, to);
return NSString._(_ret, _lib);
}
NSString substringWithRange_(NSRange range) {
final _ret =
_lib._objc_msgSend_15(_id, _lib._sel_substringWithRange_1, range);
return NSString._(_ret, _lib);
}
void getCharacters_range_(ffi.Pointer<unichar> buffer, NSRange range) {
_lib._objc_msgSend_16(_id, _lib._sel_getCharacters_range_1, buffer, range);
}
int compare_(NSObject? string) {
return _lib._objc_msgSend_17(
_id, _lib._sel_compare_1, string?._id ?? ffi.nullptr);
}
int compare_options_(NSObject? string, int mask) {
return _lib._objc_msgSend_18(
_id, _lib._sel_compare_options_1, string?._id ?? ffi.nullptr, mask);
}
int compare_options_range_(
NSObject? string, int mask, NSRange rangeOfReceiverToCompare) {
return _lib._objc_msgSend_19(_id, _lib._sel_compare_options_range_1,
string?._id ?? ffi.nullptr, mask, rangeOfReceiverToCompare);
}
int compare_options_range_locale_(NSObject? string, int mask,
NSRange rangeOfReceiverToCompare, NSObject locale) {
return _lib._objc_msgSend_20(_id, _lib._sel_compare_options_range_locale_1,
string?._id ?? ffi.nullptr, mask, rangeOfReceiverToCompare, locale._id);
}
int caseInsensitiveCompare_(NSObject? string) {
return _lib._objc_msgSend_17(
_id, _lib._sel_caseInsensitiveCompare_1, string?._id ?? ffi.nullptr);
}
int localizedCompare_(NSObject? string) {
return _lib._objc_msgSend_17(
_id, _lib._sel_localizedCompare_1, string?._id ?? ffi.nullptr);
}
int localizedCaseInsensitiveCompare_(NSObject? string) {
return _lib._objc_msgSend_17(
_id,
_lib._sel_localizedCaseInsensitiveCompare_1,
string?._id ?? ffi.nullptr);
}
int localizedStandardCompare_(NSObject? string) {
return _lib._objc_msgSend_17(
_id, _lib._sel_localizedStandardCompare_1, string?._id ?? ffi.nullptr);
}
bool isEqualToString_(NSObject? aString) {
return _lib._objc_msgSend_4(
_id, _lib._sel_isEqualToString_1, aString?._id ?? ffi.nullptr);
}
bool hasPrefix_(NSObject? str) {
return _lib._objc_msgSend_4(
_id, _lib._sel_hasPrefix_1, str?._id ?? ffi.nullptr);
}
bool hasSuffix_(NSObject? str) {
return _lib._objc_msgSend_4(
_id, _lib._sel_hasSuffix_1, str?._id ?? ffi.nullptr);
}
NSString commonPrefixWithString_options_(NSObject? str, int mask) {
final _ret = _lib._objc_msgSend_21(
_id,
_lib._sel_commonPrefixWithString_options_1,
str?._id ?? ffi.nullptr,
mask);
return NSString._(_ret, _lib);
}
bool containsString_(NSObject? str) {
return _lib._objc_msgSend_4(
_id, _lib._sel_containsString_1, str?._id ?? ffi.nullptr);
}
bool localizedCaseInsensitiveContainsString_(NSObject? str) {
return _lib._objc_msgSend_4(
_id,
_lib._sel_localizedCaseInsensitiveContainsString_1,
str?._id ?? ffi.nullptr);
}
bool localizedStandardContainsString_(NSObject? str) {
return _lib._objc_msgSend_4(_id,
_lib._sel_localizedStandardContainsString_1, str?._id ?? ffi.nullptr);
}
NSRange localizedStandardRangeOfString_(NSObject? str) {
return _lib._objc_msgSend_22(_id,
_lib._sel_localizedStandardRangeOfString_1, str?._id ?? ffi.nullptr);
}
NSRange rangeOfString_(NSObject? searchString) {
return _lib._objc_msgSend_22(
_id, _lib._sel_rangeOfString_1, searchString?._id ?? ffi.nullptr);
}
NSRange rangeOfString_options_(NSObject? searchString, int mask) {
return _lib._objc_msgSend_23(_id, _lib._sel_rangeOfString_options_1,
searchString?._id ?? ffi.nullptr, mask);
}
NSRange rangeOfString_options_range_(
NSObject? searchString, int mask, NSRange rangeOfReceiverToSearch) {
return _lib._objc_msgSend_24(_id, _lib._sel_rangeOfString_options_range_1,
searchString?._id ?? ffi.nullptr, mask, rangeOfReceiverToSearch);
}
NSRange rangeOfString_options_range_locale_(NSObject? searchString, int mask,
NSRange rangeOfReceiverToSearch, NSObject? locale) {
return _lib._objc_msgSend_25(
_id,
_lib._sel_rangeOfString_options_range_locale_1,
searchString?._id ?? ffi.nullptr,
mask,
rangeOfReceiverToSearch,
locale?._id ?? ffi.nullptr);
}
NSRange rangeOfCharacterFromSet_(NSObject? searchSet) {
return _lib._objc_msgSend_22(_id, _lib._sel_rangeOfCharacterFromSet_1,
searchSet?._id ?? ffi.nullptr);
}
NSRange rangeOfCharacterFromSet_options_(NSObject? searchSet, int mask) {
return _lib._objc_msgSend_23(
_id,
_lib._sel_rangeOfCharacterFromSet_options_1,
searchSet?._id ?? ffi.nullptr,
mask);
}
NSRange rangeOfCharacterFromSet_options_range_(
NSObject? searchSet, int mask, NSRange rangeOfReceiverToSearch) {
return _lib._objc_msgSend_24(
_id,
_lib._sel_rangeOfCharacterFromSet_options_range_1,
searchSet?._id ?? ffi.nullptr,
mask,
rangeOfReceiverToSearch);
}
NSRange rangeOfComposedCharacterSequenceAtIndex_(int index) {
return _lib._objc_msgSend_26(
_id, _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index);
}
NSRange rangeOfComposedCharacterSequencesForRange_(NSRange range) {
return _lib._objc_msgSend_27(
_id, _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range);
}
NSString stringByAppendingString_(NSObject? aString) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_stringByAppendingString_1, aString?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString stringByAppendingFormat_(NSObject? format) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_stringByAppendingFormat_1, format?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
double get doubleValue {
return _lib._objc_msgSend_29(_id, _lib._sel_doubleValue1);
}
double get floatValue {
return _lib._objc_msgSend_30(_id, _lib._sel_floatValue1);
}
int get intValue {
return _lib._objc_msgSend_31(_id, _lib._sel_intValue1);
}
int get integerValue {
return _lib._objc_msgSend_32(_id, _lib._sel_integerValue1);
}
int get longLongValue {
return _lib._objc_msgSend_33(_id, _lib._sel_longLongValue1);
}
bool get boolValue {
return _lib._objc_msgSend_10(_id, _lib._sel_boolValue1);
}
NSObject? get uppercaseString {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_uppercaseString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get lowercaseString {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_lowercaseString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get capitalizedString {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_capitalizedString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get localizedUppercaseString {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_localizedUppercaseString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get localizedLowercaseString {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_localizedLowercaseString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get localizedCapitalizedString {
final _ret =
_lib._objc_msgSend_1(_id, _lib._sel_localizedCapitalizedString1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSString uppercaseStringWithLocale_(NSObject? locale) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_uppercaseStringWithLocale_1, locale?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString lowercaseStringWithLocale_(NSObject? locale) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_lowercaseStringWithLocale_1, locale?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString capitalizedStringWithLocale_(NSObject? locale) {
final _ret = _lib._objc_msgSend_28(_id,
_lib._sel_capitalizedStringWithLocale_1, locale?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
void getLineStart_end_contentsEnd_forRange_(
ffi.Pointer<NSUInteger> startPtr,
ffi.Pointer<NSUInteger> lineEndPtr,
ffi.Pointer<NSUInteger> contentsEndPtr,
NSRange range) {
_lib._objc_msgSend_34(
_id,
_lib._sel_getLineStart_end_contentsEnd_forRange_1,
startPtr,
lineEndPtr,
contentsEndPtr,
range);
}
NSRange lineRangeForRange_(NSRange range) {
return _lib._objc_msgSend_27(_id, _lib._sel_lineRangeForRange_1, range);
}
void getParagraphStart_end_contentsEnd_forRange_(
ffi.Pointer<NSUInteger> startPtr,
ffi.Pointer<NSUInteger> parEndPtr,
ffi.Pointer<NSUInteger> contentsEndPtr,
NSRange range) {
_lib._objc_msgSend_34(
_id,
_lib._sel_getParagraphStart_end_contentsEnd_forRange_1,
startPtr,
parEndPtr,
contentsEndPtr,
range);
}
NSRange paragraphRangeForRange_(NSRange range) {
return _lib._objc_msgSend_27(
_id, _lib._sel_paragraphRangeForRange_1, range);
}
void enumerateSubstringsInRange_options_usingBlock_(
NSRange range, int opts, ObjCBlock block) {
_lib._objc_msgSend_35(
_id,
_lib._sel_enumerateSubstringsInRange_options_usingBlock_1,
range,
opts,
block._impl);
}
void enumerateLinesUsingBlock_(ObjCBlock1 block) {
_lib._objc_msgSend_36(
_id, _lib._sel_enumerateLinesUsingBlock_1, block._impl);
}
ffi.Pointer<pkg_ffi.Char> get UTF8String {
return _lib._objc_msgSend_37(_id, _lib._sel_UTF8String1);
}
int get fastestEncoding {
return _lib._objc_msgSend_11(_id, _lib._sel_fastestEncoding1);
}
int get smallestEncoding {
return _lib._objc_msgSend_11(_id, _lib._sel_smallestEncoding1);
}
NSData dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) {
final _ret = _lib._objc_msgSend_38(_id,
_lib._sel_dataUsingEncoding_allowLossyConversion_1, encoding, lossy);
return NSData._(_ret, _lib);
}
NSData dataUsingEncoding_(int encoding) {
final _ret =
_lib._objc_msgSend_39(_id, _lib._sel_dataUsingEncoding_1, encoding);
return NSData._(_ret, _lib);
}
bool canBeConvertedToEncoding_(int encoding) {
return _lib._objc_msgSend_40(
_id, _lib._sel_canBeConvertedToEncoding_1, encoding);
}
void cStringUsingEncoding_(int encoding) {
_lib._objc_msgSend_41(_id, _lib._sel_cStringUsingEncoding_1, encoding);
}
bool getCString_maxLength_encoding_(
ffi.Pointer<pkg_ffi.Char> buffer, int maxBufferCount, int encoding) {
return _lib._objc_msgSend_42(_id, _lib._sel_getCString_maxLength_encoding_1,
buffer, maxBufferCount, encoding);
}
bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_(
ffi.Pointer<ffi.Void> buffer,
int maxBufferCount,
ffi.Pointer<NSUInteger> usedBufferCount,
int encoding,
int options,
NSRange range,
NSRangePointer leftover) {
return _lib._objc_msgSend_43(
_id,
_lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1,
buffer,
maxBufferCount,
usedBufferCount,
encoding,
options,
range,
leftover);
}
int maximumLengthOfBytesUsingEncoding_(int enc) {
return _lib._objc_msgSend_44(
_id, _lib._sel_maximumLengthOfBytesUsingEncoding_1, enc);
}
int lengthOfBytesUsingEncoding_(int enc) {
return _lib._objc_msgSend_44(
_id, _lib._sel_lengthOfBytesUsingEncoding_1, enc);
}
static ffi.Pointer<NSStringEncoding> getAvailableStringEncodings(
NativeObjCLibrary _lib) {
return _lib._objc_msgSend_45(
_lib._class_NSString1, _lib._sel_availableStringEncodings1);
}
static NSString localizedNameOfStringEncoding_(
NativeObjCLibrary _lib, int encoding) {
final _ret = _lib._objc_msgSend_14(_lib._class_NSString1,
_lib._sel_localizedNameOfStringEncoding_1, encoding);
return NSString._(_ret, _lib);
}
static int getDefaultCStringEncoding(NativeObjCLibrary _lib) {
return _lib._objc_msgSend_11(
_lib._class_NSString1, _lib._sel_defaultCStringEncoding1);
}
NSObject? get decomposedStringWithCanonicalMapping {
final _ret = _lib._objc_msgSend_1(
_id, _lib._sel_decomposedStringWithCanonicalMapping1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get precomposedStringWithCanonicalMapping {
final _ret = _lib._objc_msgSend_1(
_id, _lib._sel_precomposedStringWithCanonicalMapping1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get decomposedStringWithCompatibilityMapping {
final _ret = _lib._objc_msgSend_1(
_id, _lib._sel_decomposedStringWithCompatibilityMapping1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSObject? get precomposedStringWithCompatibilityMapping {
final _ret = _lib._objc_msgSend_1(
_id, _lib._sel_precomposedStringWithCompatibilityMapping1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSString stringByTrimmingCharactersInSet_(NSObject? set) {
final _ret = _lib._objc_msgSend_28(_id,
_lib._sel_stringByTrimmingCharactersInSet_1, set?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString stringByPaddingToLength_withString_startingAtIndex_(
int newLength, NSObject? padString, int padIndex) {
final _ret = _lib._objc_msgSend_46(
_id,
_lib._sel_stringByPaddingToLength_withString_startingAtIndex_1,
newLength,
padString?._id ?? ffi.nullptr,
padIndex);
return NSString._(_ret, _lib);
}
NSString stringByFoldingWithOptions_locale_(int options, NSObject? locale) {
final _ret = _lib._objc_msgSend_47(
_id,
_lib._sel_stringByFoldingWithOptions_locale_1,
options,
locale?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString stringByReplacingOccurrencesOfString_withString_options_range_(
NSObject? target,
NSObject? replacement,
int options,
NSRange searchRange) {
final _ret = _lib._objc_msgSend_48(
_id,
_lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1,
target?._id ?? ffi.nullptr,
replacement?._id ?? ffi.nullptr,
options,
searchRange);
return NSString._(_ret, _lib);
}
NSString stringByReplacingOccurrencesOfString_withString_(
NSObject? target, NSObject? replacement) {
final _ret = _lib._objc_msgSend_49(
_id,
_lib._sel_stringByReplacingOccurrencesOfString_withString_1,
target?._id ?? ffi.nullptr,
replacement?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString stringByReplacingCharactersInRange_withString_(
NSRange range, NSObject? replacement) {
final _ret = _lib._objc_msgSend_50(
_id,
_lib._sel_stringByReplacingCharactersInRange_withString_1,
range,
replacement?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString stringByApplyingTransform_reverse_(
NSStringTransform transform, bool reverse) {
final _ret = _lib._objc_msgSend_51(
_id, _lib._sel_stringByApplyingTransform_reverse_1, transform, reverse);
return NSString._(_ret, _lib);
}
bool writeToURL_atomically_encoding_error_(
NSObject? url,
bool useAuxiliaryFile,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
return _lib._objc_msgSend_52(
_id,
_lib._sel_writeToURL_atomically_encoding_error_1,
url?._id ?? ffi.nullptr,
useAuxiliaryFile,
enc,
error);
}
bool writeToFile_atomically_encoding_error_(
NSObject? path,
bool useAuxiliaryFile,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
return _lib._objc_msgSend_52(
_id,
_lib._sel_writeToFile_atomically_encoding_error_1,
path?._id ?? ffi.nullptr,
useAuxiliaryFile,
enc,
error);
}
NSObject? get description {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_description1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
int get hash {
return _lib._objc_msgSend_11(_id, _lib._sel_hash1);
}
NSString initWithCharactersNoCopy_length_freeWhenDone_(
ffi.Pointer<unichar> characters, int length, bool freeBuffer) {
final _ret = _lib._objc_msgSend_53(
_id,
_lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1,
characters,
length,
freeBuffer);
return NSString._(_ret, _lib);
}
NSString initWithCharactersNoCopy_length_deallocator_(
ffi.Pointer<unichar> chars, int len, ObjCBlock2 deallocator) {
final _ret = _lib._objc_msgSend_54(
_id,
_lib._sel_initWithCharactersNoCopy_length_deallocator_1,
chars,
len,
deallocator._impl);
return NSString._(_ret, _lib);
}
NSString initWithCharacters_length_(
ffi.Pointer<unichar> characters, int length) {
final _ret = _lib._objc_msgSend_55(
_id, _lib._sel_initWithCharacters_length_1, characters, length);
return NSString._(_ret, _lib);
}
NSString initWithUTF8String_(
ffi.Pointer<pkg_ffi.Char> nullTerminatedCString) {
final _ret = _lib._objc_msgSend_56(
_id, _lib._sel_initWithUTF8String_1, nullTerminatedCString);
return NSString._(_ret, _lib);
}
NSString initWithString_(NSObject? aString) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithString_1, aString?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString initWithFormat_(NSObject? format) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithFormat_1, format?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString initWithFormat_arguments_(
NSObject? format, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_57(
_id,
_lib._sel_initWithFormat_arguments_1,
format?._id ?? ffi.nullptr,
argList);
return NSString._(_ret, _lib);
}
NSString initWithFormat_locale_(NSObject? format, NSObject locale) {
final _ret = _lib._objc_msgSend_58(_id, _lib._sel_initWithFormat_locale_1,
format?._id ?? ffi.nullptr, locale._id);
return NSString._(_ret, _lib);
}
NSString initWithFormat_locale_arguments_(
NSObject? format, NSObject locale, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_59(
_id,
_lib._sel_initWithFormat_locale_arguments_1,
format?._id ?? ffi.nullptr,
locale._id,
argList);
return NSString._(_ret, _lib);
}
NSString initWithData_encoding_(NSObject? data, int encoding) {
final _ret = _lib._objc_msgSend_60(_id, _lib._sel_initWithData_encoding_1,
data?._id ?? ffi.nullptr, encoding);
return NSString._(_ret, _lib);
}
NSString initWithBytes_length_encoding_(
ffi.Pointer<ffi.Void> bytes, int len, int encoding) {
final _ret = _lib._objc_msgSend_61(
_id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding);
return NSString._(_ret, _lib);
}
NSString initWithBytesNoCopy_length_encoding_freeWhenDone_(
ffi.Pointer<ffi.Void> bytes, int len, int encoding, bool freeBuffer) {
final _ret = _lib._objc_msgSend_62(
_id,
_lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1,
bytes,
len,
encoding,
freeBuffer);
return NSString._(_ret, _lib);
}
NSString initWithBytesNoCopy_length_encoding_deallocator_(
ffi.Pointer<ffi.Void> bytes,
int len,
int encoding,
ObjCBlock3 deallocator) {
final _ret = _lib._objc_msgSend_63(
_id,
_lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1,
bytes,
len,
encoding,
deallocator._impl);
return NSString._(_ret, _lib);
}
static NSString string(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSString1, _lib._sel_string1);
return NSString._(_ret, _lib);
}
static NSString stringWithString_(NativeObjCLibrary _lib, NSObject? string) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSString1,
_lib._sel_stringWithString_1, string?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
static NSString stringWithCharacters_length_(
NativeObjCLibrary _lib, ffi.Pointer<unichar> characters, int length) {
final _ret = _lib._objc_msgSend_55(_lib._class_NSString1,
_lib._sel_stringWithCharacters_length_1, characters, length);
return NSString._(_ret, _lib);
}
static NSString stringWithUTF8String_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> nullTerminatedCString) {
final _ret = _lib._objc_msgSend_56(_lib._class_NSString1,
_lib._sel_stringWithUTF8String_1, nullTerminatedCString);
return NSString._(_ret, _lib);
}
static NSString stringWithFormat_(NativeObjCLibrary _lib, NSObject? format) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSString1,
_lib._sel_stringWithFormat_1, format?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
static NSString localizedStringWithFormat_(
NativeObjCLibrary _lib, NSObject? format) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSString1,
_lib._sel_localizedStringWithFormat_1, format?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
NSString initWithCString_encoding_(
ffi.Pointer<pkg_ffi.Char> nullTerminatedCString, int encoding) {
final _ret = _lib._objc_msgSend_64(_id,
_lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding);
return NSString._(_ret, _lib);
}
static NSString stringWithCString_encoding_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) {
final _ret = _lib._objc_msgSend_64(_lib._class_NSString1,
_lib._sel_stringWithCString_encoding_1, cString, enc);
return NSString._(_ret, _lib);
}
NSString initWithContentsOfURL_encoding_error_(
NSObject? url, int enc, ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_id,
_lib._sel_initWithContentsOfURL_encoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
NSString initWithContentsOfFile_encoding_error_(
NSObject? path, int enc, ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_id,
_lib._sel_initWithContentsOfFile_encoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
static NSString stringWithContentsOfURL_encoding_error_(
NativeObjCLibrary _lib,
NSObject? url,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_lib._class_NSString1,
_lib._sel_stringWithContentsOfURL_encoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
static NSString stringWithContentsOfFile_encoding_error_(
NativeObjCLibrary _lib,
NSObject? path,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_lib._class_NSString1,
_lib._sel_stringWithContentsOfFile_encoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
NSString initWithContentsOfURL_usedEncoding_error_(
NSObject? url,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_id,
_lib._sel_initWithContentsOfURL_usedEncoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
NSString initWithContentsOfFile_usedEncoding_error_(
NSObject? path,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_id,
_lib._sel_initWithContentsOfFile_usedEncoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
static NSString stringWithContentsOfURL_usedEncoding_error_(
NativeObjCLibrary _lib,
NSObject? url,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_lib._class_NSString1,
_lib._sel_stringWithContentsOfURL_usedEncoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
static NSString stringWithContentsOfFile_usedEncoding_error_(
NativeObjCLibrary _lib,
NSObject? path,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_lib._class_NSString1,
_lib._sel_stringWithContentsOfFile_usedEncoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSString._(_ret, _lib);
}
static int
stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_(
NativeObjCLibrary _lib,
NSObject? data,
NSObject? opts,
ffi.Pointer<ffi.Pointer<ObjCObject>> string,
ffi.Pointer<ffi.Uint8> usedLossyConversion) {
return _lib._objc_msgSend_67(
_lib._class_NSString1,
_lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1,
data?._id ?? ffi.nullptr,
opts?._id ?? ffi.nullptr,
string,
usedLossyConversion);
}
NSObject propertyList() {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_propertyList1);
return NSObject._(_ret, _lib);
}
NSDictionary propertyListFromStringsFileFormat() {
final _ret = _lib._objc_msgSend_68(
_id, _lib._sel_propertyListFromStringsFileFormat1);
return NSDictionary._(_ret, _lib);
}
void cString() {
_lib._objc_msgSend_0(_id, _lib._sel_cString1);
}
void lossyCString() {
_lib._objc_msgSend_0(_id, _lib._sel_lossyCString1);
}
int cStringLength() {
return _lib._objc_msgSend_11(_id, _lib._sel_cStringLength1);
}
void getCString_(ffi.Pointer<pkg_ffi.Char> bytes) {
_lib._objc_msgSend_69(_id, _lib._sel_getCString_1, bytes);
}
void getCString_maxLength_(ffi.Pointer<pkg_ffi.Char> bytes, int maxLength) {
_lib._objc_msgSend_70(
_id, _lib._sel_getCString_maxLength_1, bytes, maxLength);
}
void getCString_maxLength_range_remainingRange_(
ffi.Pointer<pkg_ffi.Char> bytes,
int maxLength,
NSRange aRange,
NSRangePointer leftoverRange) {
_lib._objc_msgSend_71(
_id,
_lib._sel_getCString_maxLength_range_remainingRange_1,
bytes,
maxLength,
aRange,
leftoverRange);
}
bool writeToFile_atomically_(NSObject? path, bool useAuxiliaryFile) {
return _lib._objc_msgSend_72(_id, _lib._sel_writeToFile_atomically_1,
path?._id ?? ffi.nullptr, useAuxiliaryFile);
}
bool writeToURL_atomically_(NSObject? url, bool atomically) {
return _lib._objc_msgSend_72(_id, _lib._sel_writeToURL_atomically_1,
url?._id ?? ffi.nullptr, atomically);
}
NSObject initWithContentsOfFile_(NSObject? path) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithContentsOfFile_1, path?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
NSObject initWithContentsOfURL_(NSObject? url) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithContentsOfURL_1, url?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
static NSObject stringWithContentsOfFile_(
NativeObjCLibrary _lib, NSObject? path) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSString1,
_lib._sel_stringWithContentsOfFile_1, path?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
static NSObject stringWithContentsOfURL_(
NativeObjCLibrary _lib, NSObject? url) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSString1,
_lib._sel_stringWithContentsOfURL_1, url?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
NSObject initWithCStringNoCopy_length_freeWhenDone_(
ffi.Pointer<pkg_ffi.Char> bytes, int length, bool freeBuffer) {
final _ret = _lib._objc_msgSend_73(
_id,
_lib._sel_initWithCStringNoCopy_length_freeWhenDone_1,
bytes,
length,
freeBuffer);
return NSObject._(_ret, _lib);
}
NSObject initWithCString_length_(
ffi.Pointer<pkg_ffi.Char> bytes, int length) {
final _ret = _lib._objc_msgSend_64(
_id, _lib._sel_initWithCString_length_1, bytes, length);
return NSObject._(_ret, _lib);
}
NSObject initWithCString_(ffi.Pointer<pkg_ffi.Char> bytes) {
final _ret = _lib._objc_msgSend_56(_id, _lib._sel_initWithCString_1, bytes);
return NSObject._(_ret, _lib);
}
static NSObject stringWithCString_length_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> bytes, int length) {
final _ret = _lib._objc_msgSend_64(_lib._class_NSString1,
_lib._sel_stringWithCString_length_1, bytes, length);
return NSObject._(_ret, _lib);
}
static NSObject stringWithCString_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> bytes) {
final _ret = _lib._objc_msgSend_56(
_lib._class_NSString1, _lib._sel_stringWithCString_1, bytes);
return NSObject._(_ret, _lib);
}
void getCharacters_(ffi.Pointer<unichar> buffer) {
_lib._objc_msgSend_74(_id, _lib._sel_getCharacters_1, buffer);
}
static NSString new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSString1, _lib._sel_new1);
return NSString._(_ret, _lib);
}
static NSString alloc(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSString1, _lib._sel_alloc1);
return NSString._(_ret, _lib);
}
}
extension StringToNSString on String {
NSString toNSString(NativeObjCLibrary lib) => NSString(lib, this);
}
typedef unichar = pkg_ffi.UnsignedShort;
typedef NSRange = _NSRange;
class _NSRange extends ffi.Struct {
@NSUInteger()
external int location;
@NSUInteger()
external int length;
}
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 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;
}
void _ObjCBlock_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
NSRange arg1,
NSRange arg2,
ffi.Pointer<ffi.Uint8> arg3) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0, NSRange arg1,
NSRange arg2, ffi.Pointer<ffi.Uint8> arg3)>>()
.asFunction<
void Function(
ffi.Pointer<ObjCObject> arg0,
NSRange arg1,
NSRange arg2,
ffi.Pointer<ffi.Uint8> arg3)>()(arg0, arg1, arg2, arg3);
}
class ObjCBlock {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock._(this._impl, this._lib);
ObjCBlock.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0, NSRange arg1,
NSRange arg2, ffi.Pointer<ffi.Uint8> arg3)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
NSRange arg1,
NSRange arg2,
ffi.Pointer<ffi.Uint8> arg3)>(
_ObjCBlock_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class _ObjCBlockDesc extends ffi.Struct {
@pkg_ffi.UnsignedLong()
external int reserved;
@pkg_ffi.UnsignedLong()
external int size;
external ffi.Pointer<ffi.Void> copy_helper;
external ffi.Pointer<ffi.Void> dispose_helper;
external ffi.Pointer<pkg_ffi.Char> signature;
}
class _ObjCBlock extends ffi.Struct {
external ffi.Pointer<ffi.Void> isa;
@pkg_ffi.Int()
external int flags;
@pkg_ffi.Int()
external int reserved;
external ffi.Pointer<ffi.Void> invoke;
external ffi.Pointer<_ObjCBlockDesc> descriptor;
external ffi.Pointer<ffi.Void> target;
}
void _ObjCBlock1_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, ffi.Pointer<ffi.Uint8> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject> arg0, ffi.Pointer<ffi.Uint8> arg1)>>()
.asFunction<
void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ffi.Uint8> arg1)>()(arg0, arg1);
}
class ObjCBlock1 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock1._(this._impl, this._lib);
ObjCBlock1.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ffi.Uint8> arg1)>>
ptr)
: _impl =
_lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ffi.Uint8> arg1)>(
_ObjCBlock1_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
typedef NSStringEncoding = NSUInteger;
class NSData extends _ObjCWrapper {
NSData._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSData castFrom<T extends _ObjCWrapper>(T other) {
return NSData._(other._id, other._lib);
}
static NSData castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSData._(other, lib);
}
}
abstract class NSStringEncodingConversionOptions {
static const int NSStringEncodingConversionAllowLossy = 1;
static const int NSStringEncodingConversionExternalRepresentation = 2;
}
typedef NSRangePointer = ffi.Pointer<NSRange>;
typedef NSStringTransform = ffi.Pointer<ObjCObject>;
void _ObjCBlock2_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, ffi.Pointer<unichar> arg0, int arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<unichar> arg0, NSUInteger arg1)>>()
.asFunction<
void Function(ffi.Pointer<unichar> arg0, int arg1)>()(arg0, arg1);
}
class ObjCBlock2 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock2._(this._impl, this._lib);
ObjCBlock2.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<unichar> arg0, NSUInteger arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<unichar> arg0,
NSUInteger arg1)>(_ObjCBlock2_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class __va_list_tag extends ffi.Struct {
@pkg_ffi.UnsignedInt()
external int gp_offset;
@pkg_ffi.UnsignedInt()
external int fp_offset;
external ffi.Pointer<ffi.Void> overflow_arg_area;
external ffi.Pointer<ffi.Void> reg_save_area;
}
void _ObjCBlock3_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, ffi.Pointer<ffi.Void> arg0, int arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ffi.Void> arg0, NSUInteger arg1)>>()
.asFunction<
void Function(ffi.Pointer<ffi.Void> arg0, int arg1)>()(arg0, arg1);
}
class ObjCBlock3 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock3._(this._impl, this._lib);
ObjCBlock3.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ffi.Void> arg0, NSUInteger arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ffi.Void> arg0,
NSUInteger arg1)>(_ObjCBlock3_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class NSDictionary extends _ObjCWrapper {
NSDictionary._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSDictionary castFrom<T extends _ObjCWrapper>(T other) {
return NSDictionary._(other._id, other._lib);
}
static NSDictionary castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSDictionary._(other, lib);
}
}
class NSValue extends NSObject {
NSValue._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSValue castFrom<T extends _ObjCWrapper>(T other) {
return NSValue._(other._id, other._lib);
}
static NSValue castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSValue._(other, lib);
}
void getValue_size_(ffi.Pointer<ffi.Void> value, int size) {
_lib._objc_msgSend_77(_id, _lib._sel_getValue_size_1, value, size);
}
ffi.Pointer<pkg_ffi.Char> get objCType {
return _lib._objc_msgSend_37(_id, _lib._sel_objCType1);
}
NSValue initWithBytes_objCType_(
ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) {
final _ret = _lib._objc_msgSend_78(
_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 ?? ffi.nullptr);
return NSValue._(_ret, _lib);
}
static NSValue valueWithBytes_objCType_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) {
final _ret = _lib._objc_msgSend_79(
_lib._class_NSValue1, _lib._sel_valueWithBytes_objCType_1, value, type);
return NSValue._(_ret, _lib);
}
static NSValue value_withObjCType_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) {
final _ret = _lib._objc_msgSend_79(
_lib._class_NSValue1, _lib._sel_value_withObjCType_1, value, type);
return NSValue._(_ret, _lib);
}
static NSValue valueWithNonretainedObject_(
NativeObjCLibrary _lib, NSObject anObject) {
final _ret = _lib._objc_msgSend_80(_lib._class_NSValue1,
_lib._sel_valueWithNonretainedObject_1, anObject._id);
return NSValue._(_ret, _lib);
}
NSObject get nonretainedObjectValue {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_nonretainedObjectValue1);
return NSObject._(_ret, _lib);
}
static NSValue valueWithPointer_(
NativeObjCLibrary _lib, ffi.Pointer<ffi.Void> pointer) {
final _ret = _lib._objc_msgSend_81(
_lib._class_NSValue1, _lib._sel_valueWithPointer_1, pointer);
return NSValue._(_ret, _lib);
}
ffi.Pointer<ffi.Void> get pointerValue {
return _lib._objc_msgSend_82(_id, _lib._sel_pointerValue1);
}
bool isEqualToValue_(NSObject? value) {
return _lib._objc_msgSend_4(
_id, _lib._sel_isEqualToValue_1, value?._id ?? ffi.nullptr);
}
void getValue_(ffi.Pointer<ffi.Void> value) {
_lib._objc_msgSend_83(_id, _lib._sel_getValue_1, value);
}
static NSValue valueWithRange_(NativeObjCLibrary _lib, NSRange range) {
final _ret = _lib._objc_msgSend_84(
_lib._class_NSValue1, _lib._sel_valueWithRange_1, range);
return NSValue._(_ret, _lib);
}
NSRange get rangeValue {
return _lib._objc_msgSend_85(_id, _lib._sel_rangeValue1);
}
static NSValue new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSValue1, _lib._sel_new1);
return NSValue._(_ret, _lib);
}
static NSValue alloc(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSValue1, _lib._sel_alloc1);
return NSValue._(_ret, _lib);
}
}
class NSNumber extends NSValue {
NSNumber._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSNumber castFrom<T extends _ObjCWrapper>(T other) {
return NSNumber._(other._id, other._lib);
}
static NSNumber castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSNumber._(other, lib);
}
@override
NSNumber initWithCoder_(NSObject? coder) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithCoder_1, coder?._id ?? ffi.nullptr);
return NSNumber._(_ret, _lib);
}
NSNumber initWithChar_(int value) {
final _ret = _lib._objc_msgSend_86(_id, _lib._sel_initWithChar_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedChar_(int value) {
final _ret =
_lib._objc_msgSend_87(_id, _lib._sel_initWithUnsignedChar_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithShort_(int value) {
final _ret = _lib._objc_msgSend_88(_id, _lib._sel_initWithShort_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedShort_(int value) {
final _ret =
_lib._objc_msgSend_89(_id, _lib._sel_initWithUnsignedShort_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithInt_(int value) {
final _ret = _lib._objc_msgSend_90(_id, _lib._sel_initWithInt_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedInt_(int value) {
final _ret =
_lib._objc_msgSend_91(_id, _lib._sel_initWithUnsignedInt_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithLong_(int value) {
final _ret = _lib._objc_msgSend_92(_id, _lib._sel_initWithLong_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedLong_(int value) {
final _ret =
_lib._objc_msgSend_93(_id, _lib._sel_initWithUnsignedLong_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithLongLong_(int value) {
final _ret =
_lib._objc_msgSend_94(_id, _lib._sel_initWithLongLong_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedLongLong_(int value) {
final _ret =
_lib._objc_msgSend_95(_id, _lib._sel_initWithUnsignedLongLong_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithFloat_(double value) {
final _ret = _lib._objc_msgSend_96(_id, _lib._sel_initWithFloat_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithDouble_(double value) {
final _ret = _lib._objc_msgSend_97(_id, _lib._sel_initWithDouble_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithBool_(bool value) {
final _ret = _lib._objc_msgSend_98(_id, _lib._sel_initWithBool_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithInteger_(int value) {
final _ret = _lib._objc_msgSend_92(_id, _lib._sel_initWithInteger_1, value);
return NSNumber._(_ret, _lib);
}
NSNumber initWithUnsignedInteger_(int value) {
final _ret =
_lib._objc_msgSend_93(_id, _lib._sel_initWithUnsignedInteger_1, value);
return NSNumber._(_ret, _lib);
}
int get charValue {
return _lib._objc_msgSend_99(_id, _lib._sel_charValue1);
}
int get unsignedCharValue {
return _lib._objc_msgSend_100(_id, _lib._sel_unsignedCharValue1);
}
int get shortValue {
return _lib._objc_msgSend_101(_id, _lib._sel_shortValue1);
}
int get unsignedShortValue {
return _lib._objc_msgSend_102(_id, _lib._sel_unsignedShortValue1);
}
int get intValue {
return _lib._objc_msgSend_31(_id, _lib._sel_intValue1);
}
int get unsignedIntValue {
return _lib._objc_msgSend_103(_id, _lib._sel_unsignedIntValue1);
}
int get longValue {
return _lib._objc_msgSend_32(_id, _lib._sel_longValue1);
}
int get unsignedLongValue {
return _lib._objc_msgSend_11(_id, _lib._sel_unsignedLongValue1);
}
int get longLongValue {
return _lib._objc_msgSend_33(_id, _lib._sel_longLongValue1);
}
int get unsignedLongLongValue {
return _lib._objc_msgSend_104(_id, _lib._sel_unsignedLongLongValue1);
}
double get floatValue {
return _lib._objc_msgSend_30(_id, _lib._sel_floatValue1);
}
double get doubleValue {
return _lib._objc_msgSend_29(_id, _lib._sel_doubleValue1);
}
bool get boolValue {
return _lib._objc_msgSend_10(_id, _lib._sel_boolValue1);
}
int get integerValue {
return _lib._objc_msgSend_32(_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 _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
int compare_(NSObject? otherNumber) {
return _lib._objc_msgSend_17(
_id, _lib._sel_compare_1, otherNumber?._id ?? ffi.nullptr);
}
bool isEqualToNumber_(NSObject? number) {
return _lib._objc_msgSend_4(
_id, _lib._sel_isEqualToNumber_1, number?._id ?? ffi.nullptr);
}
NSString descriptionWithLocale_(NSObject locale) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_descriptionWithLocale_1, locale._id);
return NSString._(_ret, _lib);
}
static NSNumber numberWithChar_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_86(
_lib._class_NSNumber1, _lib._sel_numberWithChar_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedChar_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_87(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedChar_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithShort_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_88(
_lib._class_NSNumber1, _lib._sel_numberWithShort_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedShort_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_89(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedShort_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithInt_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_90(
_lib._class_NSNumber1, _lib._sel_numberWithInt_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedInt_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_91(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedInt_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithLong_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_92(
_lib._class_NSNumber1, _lib._sel_numberWithLong_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedLong_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_93(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedLong_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithLongLong_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_94(
_lib._class_NSNumber1, _lib._sel_numberWithLongLong_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedLongLong_(
NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_95(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedLongLong_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithFloat_(NativeObjCLibrary _lib, double value) {
final _ret = _lib._objc_msgSend_96(
_lib._class_NSNumber1, _lib._sel_numberWithFloat_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithDouble_(NativeObjCLibrary _lib, double value) {
final _ret = _lib._objc_msgSend_97(
_lib._class_NSNumber1, _lib._sel_numberWithDouble_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithBool_(NativeObjCLibrary _lib, bool value) {
final _ret = _lib._objc_msgSend_98(
_lib._class_NSNumber1, _lib._sel_numberWithBool_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithInteger_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_92(
_lib._class_NSNumber1, _lib._sel_numberWithInteger_1, value);
return NSNumber._(_ret, _lib);
}
static NSNumber numberWithUnsignedInteger_(
NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_93(
_lib._class_NSNumber1, _lib._sel_numberWithUnsignedInteger_1, value);
return NSNumber._(_ret, _lib);
}
static NSValue valueWithBytes_objCType_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) {
final _ret = _lib._objc_msgSend_79(_lib._class_NSNumber1,
_lib._sel_valueWithBytes_objCType_1, value, type);
return NSValue._(_ret, _lib);
}
static NSValue value_withObjCType_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Void> value, ffi.Pointer<pkg_ffi.Char> type) {
final _ret = _lib._objc_msgSend_79(
_lib._class_NSNumber1, _lib._sel_value_withObjCType_1, value, type);
return NSValue._(_ret, _lib);
}
static NSValue valueWithNonretainedObject_(
NativeObjCLibrary _lib, NSObject anObject) {
final _ret = _lib._objc_msgSend_80(_lib._class_NSNumber1,
_lib._sel_valueWithNonretainedObject_1, anObject._id);
return NSValue._(_ret, _lib);
}
static NSValue valueWithPointer_(
NativeObjCLibrary _lib, ffi.Pointer<ffi.Void> pointer) {
final _ret = _lib._objc_msgSend_81(
_lib._class_NSNumber1, _lib._sel_valueWithPointer_1, pointer);
return NSValue._(_ret, _lib);
}
static NSValue valueWithRange_(NativeObjCLibrary _lib, NSRange range) {
final _ret = _lib._objc_msgSend_84(
_lib._class_NSNumber1, _lib._sel_valueWithRange_1, range);
return NSValue._(_ret, _lib);
}
static NSNumber new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSNumber1, _lib._sel_new1);
return NSNumber._(_ret, _lib);
}
static NSNumber alloc(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSNumber1, _lib._sel_alloc1);
return NSNumber._(_ret, _lib);
}
}
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, NativeObjCLibrary lib)
: super._(id, lib);
static NSEnumerator castFrom<T extends _ObjCWrapper>(T other) {
return NSEnumerator._(other._id, other._lib);
}
static NSEnumerator castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSEnumerator._(other, lib);
}
NSObject nextObject() {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_nextObject1);
return NSObject._(_ret, _lib);
}
NSObject? get allObjects {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_allObjects1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
static NSEnumerator new1(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSEnumerator1, _lib._sel_new1);
return NSEnumerator._(_ret, _lib);
}
static NSEnumerator alloc(NativeObjCLibrary _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;
}
abstract class NSOrderedCollectionDifferenceCalculationOptions {
static const int NSOrderedCollectionDifferenceCalculationOmitInsertedObjects =
1;
static const int NSOrderedCollectionDifferenceCalculationOmitRemovedObjects =
2;
static const int NSOrderedCollectionDifferenceCalculationInferMoves = 4;
}
class NSArray extends NSObject {
NSArray._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSArray castFrom<T extends _ObjCWrapper>(T other) {
return NSArray._(other._id, other._lib);
}
static NSArray castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSArray._(other, lib);
}
int get count {
return _lib._objc_msgSend_11(_id, _lib._sel_count1);
}
NSObject objectAtIndex_(int index) {
final _ret = _lib._objc_msgSend_105(_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_106(
_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 ?? ffi.nullptr);
return NSArray._(_ret, _lib);
}
NSString componentsJoinedByString_(NSObject? separator) {
final _ret = _lib._objc_msgSend_28(_id,
_lib._sel_componentsJoinedByString_1, separator?._id ?? ffi.nullptr);
return NSString._(_ret, _lib);
}
bool containsObject_(NSObject anObject) {
return _lib._objc_msgSend_4(_id, _lib._sel_containsObject_1, anObject._id);
}
NSObject? get description {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_description1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
NSString descriptionWithLocale_(NSObject locale) {
final _ret = _lib._objc_msgSend_28(
_id, _lib._sel_descriptionWithLocale_1, locale._id);
return NSString._(_ret, _lib);
}
NSString descriptionWithLocale_indent_(NSObject locale, int level) {
final _ret = _lib._objc_msgSend_107(
_id, _lib._sel_descriptionWithLocale_indent_1, locale._id, level);
return NSString._(_ret, _lib);
}
NSObject firstObjectCommonWithArray_(NSObject? otherArray) {
final _ret = _lib._objc_msgSend_13(_id,
_lib._sel_firstObjectCommonWithArray_1, otherArray?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
void getObjects_range_(
ffi.Pointer<ffi.Pointer<ObjCObject>> objects, NSRange range) {
_lib._objc_msgSend_108(_id, _lib._sel_getObjects_range_1, objects, range);
}
int indexOfObject_(NSObject anObject) {
return _lib._objc_msgSend_109(_id, _lib._sel_indexOfObject_1, anObject._id);
}
int indexOfObject_inRange_(NSObject anObject, NSRange range) {
return _lib._objc_msgSend_110(
_id, _lib._sel_indexOfObject_inRange_1, anObject._id, range);
}
int indexOfObjectIdenticalTo_(NSObject anObject) {
return _lib._objc_msgSend_109(
_id, _lib._sel_indexOfObjectIdenticalTo_1, anObject._id);
}
int indexOfObjectIdenticalTo_inRange_(NSObject anObject, NSRange range) {
return _lib._objc_msgSend_110(
_id, _lib._sel_indexOfObjectIdenticalTo_inRange_1, anObject._id, range);
}
bool isEqualToArray_(NSObject? otherArray) {
return _lib._objc_msgSend_4(
_id, _lib._sel_isEqualToArray_1, otherArray?._id ?? ffi.nullptr);
}
NSObject get firstObject {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_firstObject1);
return NSObject._(_ret, _lib);
}
NSObject get lastObject {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_lastObject1);
return NSObject._(_ret, _lib);
}
NSObject? get sortedArrayHint {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_sortedArrayHint1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
bool writeToURL_error_(
NSObject? url, ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
return _lib._objc_msgSend_111(
_id, _lib._sel_writeToURL_error_1, url?._id ?? ffi.nullptr, error);
}
void makeObjectsPerformSelector_(ffi.Pointer<ObjCSel> aSelector) {
_lib._objc_msgSend_6(
_id, _lib._sel_makeObjectsPerformSelector_1, aSelector);
}
void makeObjectsPerformSelector_withObject_(
ffi.Pointer<ObjCSel> aSelector, NSObject argument) {
_lib._objc_msgSend_112(
_id,
_lib._sel_makeObjectsPerformSelector_withObject_1,
aSelector,
argument._id);
}
NSObject objectAtIndexedSubscript_(int idx) {
final _ret =
_lib._objc_msgSend_105(_id, _lib._sel_objectAtIndexedSubscript_1, idx);
return NSObject._(_ret, _lib);
}
void enumerateObjectsUsingBlock_(ObjCBlock4 block) {
_lib._objc_msgSend_113(
_id, _lib._sel_enumerateObjectsUsingBlock_1, block._impl);
}
void enumerateObjectsWithOptions_usingBlock_(int opts, ObjCBlock4 block) {
_lib._objc_msgSend_114(_id,
_lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._impl);
}
void enumerateObjectsAtIndexes_options_usingBlock_(
NSObject? s, int opts, ObjCBlock4 block) {
_lib._objc_msgSend_115(
_id,
_lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1,
s?._id ?? ffi.nullptr,
opts,
block._impl);
}
int indexOfObjectPassingTest_(ObjCBlock5 predicate) {
return _lib._objc_msgSend_116(
_id, _lib._sel_indexOfObjectPassingTest_1, predicate._impl);
}
int indexOfObjectWithOptions_passingTest_(int opts, ObjCBlock5 predicate) {
return _lib._objc_msgSend_117(
_id,
_lib._sel_indexOfObjectWithOptions_passingTest_1,
opts,
predicate._impl);
}
int indexOfObjectAtIndexes_options_passingTest_(
NSObject? s, int opts, ObjCBlock5 predicate) {
return _lib._objc_msgSend_118(
_id,
_lib._sel_indexOfObjectAtIndexes_options_passingTest_1,
s?._id ?? ffi.nullptr,
opts,
predicate._impl);
}
NSIndexSet indexesOfObjectsPassingTest_(ObjCBlock5 predicate) {
final _ret = _lib._objc_msgSend_135(
_id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._impl);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet indexesOfObjectsWithOptions_passingTest_(
int opts, ObjCBlock5 predicate) {
final _ret = _lib._objc_msgSend_136(
_id,
_lib._sel_indexesOfObjectsWithOptions_passingTest_1,
opts,
predicate._impl);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(
NSObject? s, int opts, ObjCBlock5 predicate) {
final _ret = _lib._objc_msgSend_137(
_id,
_lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1,
s?._id ?? ffi.nullptr,
opts,
predicate._impl);
return NSIndexSet._(_ret, _lib);
}
int indexOfObject_inSortedRange_options_usingComparator_(
NSObject obj, NSRange r, int opts, NSComparator cmp) {
return _lib._objc_msgSend_138(
_id,
_lib._sel_indexOfObject_inSortedRange_options_usingComparator_1,
obj._id,
r,
opts,
cmp);
}
static NSArray array(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSArray1, _lib._sel_array1);
return NSArray._(_ret, _lib);
}
static NSArray arrayWithObject_(NativeObjCLibrary _lib, NSObject anObject) {
final _ret = _lib._objc_msgSend_13(
_lib._class_NSArray1, _lib._sel_arrayWithObject_1, anObject._id);
return NSArray._(_ret, _lib);
}
static NSArray arrayWithObjects_count_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects, int cnt) {
final _ret = _lib._objc_msgSend_106(
_lib._class_NSArray1, _lib._sel_arrayWithObjects_count_1, objects, cnt);
return NSArray._(_ret, _lib);
}
static NSArray arrayWithObjects_(NativeObjCLibrary _lib, NSObject firstObj) {
final _ret = _lib._objc_msgSend_13(
_lib._class_NSArray1, _lib._sel_arrayWithObjects_1, firstObj._id);
return NSArray._(_ret, _lib);
}
static NSArray arrayWithArray_(NativeObjCLibrary _lib, NSObject? array) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSArray1,
_lib._sel_arrayWithArray_1, array?._id ?? ffi.nullptr);
return NSArray._(_ret, _lib);
}
NSArray initWithObjects_(NSObject firstObj) {
final _ret =
_lib._objc_msgSend_13(_id, _lib._sel_initWithObjects_1, firstObj._id);
return NSArray._(_ret, _lib);
}
NSArray initWithArray_(NSObject? array) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithArray_1, array?._id ?? ffi.nullptr);
return NSArray._(_ret, _lib);
}
NSArray initWithArray_copyItems_(NSObject? array, bool flag) {
final _ret = _lib._objc_msgSend_139(_id,
_lib._sel_initWithArray_copyItems_1, array?._id ?? ffi.nullptr, flag);
return NSArray._(_ret, _lib);
}
void getObjects_(ffi.Pointer<ffi.Pointer<ObjCObject>> objects) {
_lib._objc_msgSend_140(_id, _lib._sel_getObjects_1, objects);
}
bool writeToFile_atomically_(NSObject? path, bool useAuxiliaryFile) {
return _lib._objc_msgSend_72(_id, _lib._sel_writeToFile_atomically_1,
path?._id ?? ffi.nullptr, useAuxiliaryFile);
}
bool writeToURL_atomically_(NSObject? url, bool atomically) {
return _lib._objc_msgSend_72(_id, _lib._sel_writeToURL_atomically_1,
url?._id ?? ffi.nullptr, atomically);
}
static NSArray new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSArray1, _lib._sel_new1);
return NSArray._(_ret, _lib);
}
static NSArray alloc(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSArray1, _lib._sel_alloc1);
return NSArray._(_ret, _lib);
}
}
void _ObjCBlock4_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, int arg1, ffi.Pointer<ffi.Uint8> arg2) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0, NSUInteger arg1,
ffi.Pointer<ffi.Uint8> arg2)>>()
.asFunction<
void Function(ffi.Pointer<ObjCObject> arg0, int arg1,
ffi.Pointer<ffi.Uint8> arg2)>()(arg0, arg1, arg2);
}
class ObjCBlock4 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock4._(this._impl, this._lib);
ObjCBlock4.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0,
NSUInteger arg1, ffi.Pointer<ffi.Uint8> arg2)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
NSUInteger arg1,
ffi.Pointer<ffi.Uint8> arg2)>(
_ObjCBlock4_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
int _ObjCBlock5_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, int arg1, ffi.Pointer<ffi.Uint8> arg2) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject> arg0, NSUInteger arg1,
ffi.Pointer<ffi.Uint8> arg2)>>()
.asFunction<
int Function(ffi.Pointer<ObjCObject> arg0, int arg1,
ffi.Pointer<ffi.Uint8> arg2)>()(arg0, arg1, arg2);
}
class ObjCBlock5 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock5._(this._impl, this._lib);
ObjCBlock5.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject> arg0,
NSUInteger arg1, ffi.Pointer<ffi.Uint8> arg2)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Uint8 Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
NSUInteger arg1,
ffi.Pointer<ffi.Uint8> arg2)>(
_ObjCBlock5_fnPtrTrampoline, 0)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class NSIndexSet extends NSObject {
NSIndexSet._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSIndexSet castFrom<T extends _ObjCWrapper>(T other) {
return NSIndexSet._(other._id, other._lib);
}
static NSIndexSet castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSIndexSet._(other, lib);
}
static NSIndexSet indexSet(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_indexSet1);
return NSIndexSet._(_ret, _lib);
}
static NSIndexSet indexSetWithIndex_(NativeObjCLibrary _lib, int value) {
final _ret = _lib._objc_msgSend_105(
_lib._class_NSIndexSet1, _lib._sel_indexSetWithIndex_1, value);
return NSIndexSet._(_ret, _lib);
}
static NSIndexSet indexSetWithIndexesInRange_(
NativeObjCLibrary _lib, NSRange range) {
final _ret = _lib._objc_msgSend_119(
_lib._class_NSIndexSet1, _lib._sel_indexSetWithIndexesInRange_1, range);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet initWithIndexesInRange_(NSRange range) {
final _ret =
_lib._objc_msgSend_119(_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 ?? ffi.nullptr);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet initWithIndex_(int value) {
final _ret = _lib._objc_msgSend_105(_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 ?? ffi.nullptr);
}
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_44(_id, _lib._sel_indexGreaterThanIndex_1, value);
}
int indexLessThanIndex_(int value) {
return _lib._objc_msgSend_44(_id, _lib._sel_indexLessThanIndex_1, value);
}
int indexGreaterThanOrEqualToIndex_(int value) {
return _lib._objc_msgSend_44(
_id, _lib._sel_indexGreaterThanOrEqualToIndex_1, value);
}
int indexLessThanOrEqualToIndex_(int value) {
return _lib._objc_msgSend_44(
_id, _lib._sel_indexLessThanOrEqualToIndex_1, value);
}
int getIndexes_maxCount_inIndexRange_(ffi.Pointer<NSUInteger> indexBuffer,
int bufferSize, NSRangePointer range) {
return _lib._objc_msgSend_120(
_id,
_lib._sel_getIndexes_maxCount_inIndexRange_1,
indexBuffer,
bufferSize,
range);
}
int countOfIndexesInRange_(NSRange range) {
return _lib._objc_msgSend_121(
_id, _lib._sel_countOfIndexesInRange_1, range);
}
bool containsIndex_(int value) {
return _lib._objc_msgSend_40(_id, _lib._sel_containsIndex_1, value);
}
bool containsIndexesInRange_(NSRange range) {
return _lib._objc_msgSend_122(
_id, _lib._sel_containsIndexesInRange_1, range);
}
bool containsIndexes_(NSObject? indexSet) {
return _lib._objc_msgSend_4(
_id, _lib._sel_containsIndexes_1, indexSet?._id ?? ffi.nullptr);
}
bool intersectsIndexesInRange_(NSRange range) {
return _lib._objc_msgSend_122(
_id, _lib._sel_intersectsIndexesInRange_1, range);
}
void enumerateIndexesUsingBlock_(ObjCBlock6 block) {
_lib._objc_msgSend_123(
_id, _lib._sel_enumerateIndexesUsingBlock_1, block._impl);
}
void enumerateIndexesWithOptions_usingBlock_(int opts, ObjCBlock6 block) {
_lib._objc_msgSend_124(_id,
_lib._sel_enumerateIndexesWithOptions_usingBlock_1, opts, block._impl);
}
void enumerateIndexesInRange_options_usingBlock_(
NSRange range, int opts, ObjCBlock6 block) {
_lib._objc_msgSend_125(
_id,
_lib._sel_enumerateIndexesInRange_options_usingBlock_1,
range,
opts,
block._impl);
}
int indexPassingTest_(ObjCBlock7 predicate) {
return _lib._objc_msgSend_126(
_id, _lib._sel_indexPassingTest_1, predicate._impl);
}
int indexWithOptions_passingTest_(int opts, ObjCBlock7 predicate) {
return _lib._objc_msgSend_127(
_id, _lib._sel_indexWithOptions_passingTest_1, opts, predicate._impl);
}
int indexInRange_options_passingTest_(
NSRange range, int opts, ObjCBlock7 predicate) {
return _lib._objc_msgSend_128(
_id,
_lib._sel_indexInRange_options_passingTest_1,
range,
opts,
predicate._impl);
}
NSIndexSet indexesPassingTest_(ObjCBlock7 predicate) {
final _ret = _lib._objc_msgSend_129(
_id, _lib._sel_indexesPassingTest_1, predicate._impl);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet indexesWithOptions_passingTest_(int opts, ObjCBlock7 predicate) {
final _ret = _lib._objc_msgSend_130(
_id, _lib._sel_indexesWithOptions_passingTest_1, opts, predicate._impl);
return NSIndexSet._(_ret, _lib);
}
NSIndexSet indexesInRange_options_passingTest_(
NSRange range, int opts, ObjCBlock7 predicate) {
final _ret = _lib._objc_msgSend_131(
_id,
_lib._sel_indexesInRange_options_passingTest_1,
range,
opts,
predicate._impl);
return NSIndexSet._(_ret, _lib);
}
void enumerateRangesUsingBlock_(ObjCBlock8 block) {
_lib._objc_msgSend_132(
_id, _lib._sel_enumerateRangesUsingBlock_1, block._impl);
}
void enumerateRangesWithOptions_usingBlock_(int opts, ObjCBlock8 block) {
_lib._objc_msgSend_133(_id,
_lib._sel_enumerateRangesWithOptions_usingBlock_1, opts, block._impl);
}
void enumerateRangesInRange_options_usingBlock_(
NSRange range, int opts, ObjCBlock8 block) {
_lib._objc_msgSend_134(
_id,
_lib._sel_enumerateRangesInRange_options_usingBlock_1,
range,
opts,
block._impl);
}
static NSIndexSet new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_new1);
return NSIndexSet._(_ret, _lib);
}
static NSIndexSet alloc(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSIndexSet1, _lib._sel_alloc1);
return NSIndexSet._(_ret, _lib);
}
}
void _ObjCBlock6_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer<ffi.Uint8> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>>()
.asFunction<void Function(int arg0, ffi.Pointer<ffi.Uint8> arg1)>()(
arg0, arg1);
}
class ObjCBlock6 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock6._(this._impl, this._lib);
ObjCBlock6.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(ffi.Pointer<_ObjCBlock> block,
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>(
_ObjCBlock6_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
int _ObjCBlock7_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer<ffi.Uint8> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Uint8 Function(
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>>()
.asFunction<int Function(int arg0, ffi.Pointer<ffi.Uint8> arg1)>()(
arg0, arg1);
}
class ObjCBlock7 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock7._(this._impl, this._lib);
ObjCBlock7.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Uint8 Function(
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Uint8 Function(ffi.Pointer<_ObjCBlock> block,
NSUInteger arg0, ffi.Pointer<ffi.Uint8> arg1)>(
_ObjCBlock7_fnPtrTrampoline, 0)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
void _ObjCBlock8_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, NSRange arg0, ffi.Pointer<ffi.Uint8> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(NSRange arg0, ffi.Pointer<ffi.Uint8> arg1)>>()
.asFunction<
void Function(
NSRange arg0, ffi.Pointer<ffi.Uint8> arg1)>()(arg0, arg1);
}
class ObjCBlock8 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock8._(this._impl, this._lib);
ObjCBlock8.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(NSRange arg0, ffi.Pointer<ffi.Uint8> arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(ffi.Pointer<_ObjCBlock> block,
NSRange arg0, ffi.Pointer<ffi.Uint8> arg1)>(
_ObjCBlock8_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
abstract class NSBinarySearchingOptions {
static const int NSBinarySearchingFirstEqual = 256;
static const int NSBinarySearchingLastEqual = 512;
static const int NSBinarySearchingInsertionIndex = 1024;
}
typedef NSComparator = ffi.Pointer<_ObjCBlock>;
int _ObjCBlock9_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, ffi.Pointer<ObjCObject> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>>()
.asFunction<
int Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>()(arg0, arg1);
}
class ObjCBlock9 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock9._(this._impl, this._lib);
ObjCBlock9.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Int32 Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>(
_ObjCBlock9_fnPtrTrampoline, 0)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class NSMutableArray extends NSArray {
NSMutableArray._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSMutableArray castFrom<T extends _ObjCWrapper>(T other) {
return NSMutableArray._(other._id, other._lib);
}
static NSMutableArray castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSMutableArray._(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_141(
_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_41(_id, _lib._sel_removeObjectAtIndex_1, index);
}
void replaceObjectAtIndex_withObject_(int index, NSObject anObject) {
_lib._objc_msgSend_142(
_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_105(_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 ?? ffi.nullptr);
return NSMutableArray._(_ret, _lib);
}
void addObjectsFromArray_(NSObject? otherArray) {
_lib._objc_msgSend_8(
_id, _lib._sel_addObjectsFromArray_1, otherArray?._id ?? ffi.nullptr);
}
void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) {
_lib._objc_msgSend_143(
_id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2);
}
void removeAllObjects() {
_lib._objc_msgSend_0(_id, _lib._sel_removeAllObjects1);
}
void removeObject_inRange_(NSObject anObject, NSRange range) {
_lib._objc_msgSend_144(
_id, _lib._sel_removeObject_inRange_1, anObject._id, range);
}
void removeObject_(NSObject anObject) {
_lib._objc_msgSend_8(_id, _lib._sel_removeObject_1, anObject._id);
}
void removeObjectIdenticalTo_inRange_(NSObject anObject, NSRange range) {
_lib._objc_msgSend_144(
_id, _lib._sel_removeObjectIdenticalTo_inRange_1, anObject._id, range);
}
void removeObjectIdenticalTo_(NSObject anObject) {
_lib._objc_msgSend_8(
_id, _lib._sel_removeObjectIdenticalTo_1, anObject._id);
}
void removeObjectsFromIndices_numIndices_(
ffi.Pointer<NSUInteger> indices, int cnt) {
_lib._objc_msgSend_145(
_id, _lib._sel_removeObjectsFromIndices_numIndices_1, indices, cnt);
}
void removeObjectsInArray_(NSObject? otherArray) {
_lib._objc_msgSend_8(
_id, _lib._sel_removeObjectsInArray_1, otherArray?._id ?? ffi.nullptr);
}
void removeObjectsInRange_(NSRange range) {
_lib._objc_msgSend_146(_id, _lib._sel_removeObjectsInRange_1, range);
}
void replaceObjectsInRange_withObjectsFromArray_range_(
NSRange range, NSObject? otherArray, NSRange otherRange) {
_lib._objc_msgSend_147(
_id,
_lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1,
range,
otherArray?._id ?? ffi.nullptr,
otherRange);
}
void replaceObjectsInRange_withObjectsFromArray_(
NSRange range, NSObject? otherArray) {
_lib._objc_msgSend_148(
_id,
_lib._sel_replaceObjectsInRange_withObjectsFromArray_1,
range,
otherArray?._id ?? ffi.nullptr);
}
void setArray_(NSObject? otherArray) {
_lib._objc_msgSend_8(
_id, _lib._sel_setArray_1, otherArray?._id ?? ffi.nullptr);
}
void sortUsingFunction_context_(
ffi.Pointer<
ffi.NativeFunction<
NSInteger Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Void>)>>
compare,
ffi.Pointer<ffi.Void> context) {
_lib._objc_msgSend_149(
_id, _lib._sel_sortUsingFunction_context_1, compare, context);
}
void sortUsingSelector_(ffi.Pointer<ObjCSel> comparator) {
_lib._objc_msgSend_6(_id, _lib._sel_sortUsingSelector_1, comparator);
}
void insertObjects_atIndexes_(NSObject? objects, NSObject? indexes) {
_lib._objc_msgSend_150(_id, _lib._sel_insertObjects_atIndexes_1,
objects?._id ?? ffi.nullptr, indexes?._id ?? ffi.nullptr);
}
void removeObjectsAtIndexes_(NSObject? indexes) {
_lib._objc_msgSend_8(
_id, _lib._sel_removeObjectsAtIndexes_1, indexes?._id ?? ffi.nullptr);
}
void replaceObjectsAtIndexes_withObjects_(
NSObject? indexes, NSObject? objects) {
_lib._objc_msgSend_150(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1,
indexes?._id ?? ffi.nullptr, objects?._id ?? ffi.nullptr);
}
void setObject_atIndexedSubscript_(NSObject obj, int idx) {
_lib._objc_msgSend_141(
_id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx);
}
void sortUsingComparator_(NSComparator cmptr) {
_lib._objc_msgSend_151(_id, _lib._sel_sortUsingComparator_1, cmptr);
}
void sortWithOptions_usingComparator_(int opts, NSComparator cmptr) {
_lib._objc_msgSend_152(
_id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr);
}
static NSMutableArray arrayWithCapacity_(
NativeObjCLibrary _lib, int numItems) {
final _ret = _lib._objc_msgSend_105(
_lib._class_NSMutableArray1, _lib._sel_arrayWithCapacity_1, numItems);
return NSMutableArray._(_ret, _lib);
}
void applyDifference_(NSObject? difference) {
_lib._objc_msgSend_8(
_id, _lib._sel_applyDifference_1, difference?._id ?? ffi.nullptr);
}
static NSMutableArray array(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSMutableArray1, _lib._sel_array1);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray arrayWithObject_(
NativeObjCLibrary _lib, NSObject anObject) {
final _ret = _lib._objc_msgSend_13(
_lib._class_NSMutableArray1, _lib._sel_arrayWithObject_1, anObject._id);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray arrayWithObjects_count_(NativeObjCLibrary _lib,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects, int cnt) {
final _ret = _lib._objc_msgSend_106(_lib._class_NSMutableArray1,
_lib._sel_arrayWithObjects_count_1, objects, cnt);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray arrayWithObjects_(
NativeObjCLibrary _lib, NSObject firstObj) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableArray1,
_lib._sel_arrayWithObjects_1, firstObj._id);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray arrayWithArray_(
NativeObjCLibrary _lib, NSObject? array) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableArray1,
_lib._sel_arrayWithArray_1, array?._id ?? ffi.nullptr);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray new1(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSMutableArray1, _lib._sel_new1);
return NSMutableArray._(_ret, _lib);
}
static NSMutableArray alloc(NativeObjCLibrary _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, NativeObjCLibrary lib)
: super._(id, lib);
static NSItemProvider castFrom<T extends _ObjCWrapper>(T other) {
return NSItemProvider._(other._id, other._lib);
}
static NSItemProvider castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSItemProvider._(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, ObjCBlock10 loadHandler) {
_lib._objc_msgSend_153(
_id,
_lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
visibility,
loadHandler._impl);
}
void
registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_(
NSObject? typeIdentifier,
int fileOptions,
int visibility,
ObjCBlock12 loadHandler) {
_lib._objc_msgSend_154(
_id,
_lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
fileOptions,
visibility,
loadHandler._impl);
}
NSObject? get registeredTypeIdentifiers {
final _ret =
_lib._objc_msgSend_1(_id, _lib._sel_registeredTypeIdentifiers1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
bool hasItemConformingToTypeIdentifier_(NSObject? typeIdentifier) {
return _lib._objc_msgSend_4(
_id,
_lib._sel_hasItemConformingToTypeIdentifier_1,
typeIdentifier?._id ?? ffi.nullptr);
}
bool hasRepresentationConformingToTypeIdentifier_fileOptions_(
NSObject? typeIdentifier, int fileOptions) {
return _lib._objc_msgSend_155(
_id,
_lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1,
typeIdentifier?._id ?? ffi.nullptr,
fileOptions);
}
NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_(
NSObject? typeIdentifier, ObjCBlock11 completionHandler) {
final _ret = _lib._objc_msgSend_156(
_id,
_lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
completionHandler._impl);
return NSProgress._(_ret, _lib);
}
NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_(
NSObject? typeIdentifier, ObjCBlock11 completionHandler) {
final _ret = _lib._objc_msgSend_156(
_id,
_lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
completionHandler._impl);
return NSProgress._(_ret, _lib);
}
NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_(
NSObject? typeIdentifier, ObjCBlock13 completionHandler) {
final _ret = _lib._objc_msgSend_157(
_id,
_lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
completionHandler._impl);
return NSProgress._(_ret, _lib);
}
NSObject? get suggestedName {
final _ret = _lib._objc_msgSend_1(_id, _lib._sel_suggestedName1);
return _ret.address == 0 ? null : NSObject._(_ret, _lib);
}
set suggestedName(NSObject? value) {
_lib._objc_msgSend_8(
_id, _lib._sel_setSuggestedName_1, value?._id ?? ffi.nullptr);
}
NSItemProvider initWithObject_(NSObject? object) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithObject_1, object?._id ?? ffi.nullptr);
return NSItemProvider._(_ret, _lib);
}
void registerObject_visibility_(NSObject? object, int visibility) {
_lib._objc_msgSend_158(_id, _lib._sel_registerObject_visibility_1,
object?._id ?? ffi.nullptr, visibility);
}
void registerObjectOfClass_visibility_loadHandler_(
NSObject? aClass, int visibility, ObjCBlock10 loadHandler) {
_lib._objc_msgSend_153(
_id,
_lib._sel_registerObjectOfClass_visibility_loadHandler_1,
aClass?._id ?? ffi.nullptr,
visibility,
loadHandler._impl);
}
bool canLoadObjectOfClass_(NSObject? aClass) {
return _lib._objc_msgSend_4(
_id, _lib._sel_canLoadObjectOfClass_1, aClass?._id ?? ffi.nullptr);
}
NSProgress loadObjectOfClass_completionHandler_(
NSObject? aClass, ObjCBlock11 completionHandler) {
final _ret = _lib._objc_msgSend_156(
_id,
_lib._sel_loadObjectOfClass_completionHandler_1,
aClass?._id ?? ffi.nullptr,
completionHandler._impl);
return NSProgress._(_ret, _lib);
}
NSItemProvider initWithItem_typeIdentifier_(
NSObject? item, NSObject? typeIdentifier) {
final _ret = _lib._objc_msgSend_58(
_id,
_lib._sel_initWithItem_typeIdentifier_1,
item?._id ?? ffi.nullptr,
typeIdentifier?._id ?? ffi.nullptr);
return NSItemProvider._(_ret, _lib);
}
NSItemProvider initWithContentsOfURL_(NSObject? fileURL) {
final _ret = _lib._objc_msgSend_13(
_id, _lib._sel_initWithContentsOfURL_1, fileURL?._id ?? ffi.nullptr);
return NSItemProvider._(_ret, _lib);
}
void registerItemForTypeIdentifier_loadHandler_(
NSObject? typeIdentifier, NSItemProviderLoadHandler loadHandler) {
_lib._objc_msgSend_159(
_id,
_lib._sel_registerItemForTypeIdentifier_loadHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
loadHandler);
}
void loadItemForTypeIdentifier_options_completionHandler_(
NSObject? typeIdentifier,
NSObject? options,
NSItemProviderCompletionHandler completionHandler) {
_lib._objc_msgSend_160(
_id,
_lib._sel_loadItemForTypeIdentifier_options_completionHandler_1,
typeIdentifier?._id ?? ffi.nullptr,
options?._id ?? ffi.nullptr,
completionHandler);
}
NSItemProviderLoadHandler get previewImageHandler {
return _lib._objc_msgSend_161(_id, _lib._sel_previewImageHandler1);
}
set previewImageHandler(NSItemProviderLoadHandler value) {
_lib._objc_msgSend_162(_id, _lib._sel_setPreviewImageHandler_1, value);
}
void loadPreviewImageWithOptions_completionHandler_(
NSObject? options, NSItemProviderCompletionHandler completionHandler) {
_lib._objc_msgSend_163(
_id,
_lib._sel_loadPreviewImageWithOptions_completionHandler_1,
options?._id ?? ffi.nullptr,
completionHandler);
}
static NSItemProvider new1(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSItemProvider1, _lib._sel_new1);
return NSItemProvider._(_ret, _lib);
}
static NSItemProvider alloc(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSItemProvider1, _lib._sel_alloc1);
return NSItemProvider._(_ret, _lib);
}
}
ffi.Pointer<ObjCObject> _ObjCBlock10_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<_ObjCBlock> arg0)>>()
.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> arg0)>()(arg0);
}
class ObjCBlock10 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock10._(this._impl, this._lib);
ObjCBlock10.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> arg0)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<_ObjCBlock> arg0)>(
_ObjCBlock10_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
void _ObjCBlock11_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, ffi.Pointer<ObjCObject> arg1) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>>()
.asFunction<
void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>()(arg0, arg1);
}
class ObjCBlock11 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock11._(this._impl, this._lib);
ObjCBlock11.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>>
ptr)
: _impl =
_lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
ffi.Pointer<ObjCObject> arg1)>(
_ObjCBlock11_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
ffi.Pointer<ObjCObject> _ObjCBlock12_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<_ObjCBlock> arg0)>>()
.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> arg0)>()(arg0);
}
class ObjCBlock12 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock12._(this._impl, this._lib);
ObjCBlock12.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> arg0)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<_ObjCBlock> arg0)>(
_ObjCBlock12_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
void _ObjCBlock13_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0, int arg1, ffi.Pointer<ObjCObject> arg2) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0, ffi.Uint8 arg1,
ffi.Pointer<ObjCObject> arg2)>>()
.asFunction<
void Function(ffi.Pointer<ObjCObject> arg0, int arg1,
ffi.Pointer<ObjCObject> arg2)>()(arg0, arg1, arg2);
}
class ObjCBlock13 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock13._(this._impl, this._lib);
ObjCBlock13.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject> arg0,
ffi.Uint8 arg1, ffi.Pointer<ObjCObject> arg2)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
ffi.Uint8 arg1,
ffi.Pointer<ObjCObject> arg2)>(
_ObjCBlock13_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
class NSProgress extends _ObjCWrapper {
NSProgress._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSProgress castFrom<T extends _ObjCWrapper>(T other) {
return NSProgress._(other._id, other._lib);
}
static NSProgress castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSProgress._(other, lib);
}
}
typedef NSItemProviderLoadHandler = ffi.Pointer<_ObjCBlock>;
void _ObjCBlock14_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block,
NSItemProviderCompletionHandler arg0,
ffi.Pointer<ObjCObject> arg1,
ffi.Pointer<ObjCObject> arg2) {
return block.ref.target
.cast<
ffi.NativeFunction<
ffi.Void Function(
NSItemProviderCompletionHandler arg0,
ffi.Pointer<ObjCObject> arg1,
ffi.Pointer<ObjCObject> arg2)>>()
.asFunction<
void Function(
NSItemProviderCompletionHandler arg0,
ffi.Pointer<ObjCObject> arg1,
ffi.Pointer<ObjCObject> arg2)>()(arg0, arg1, arg2);
}
class ObjCBlock14 {
final ffi.Pointer<_ObjCBlock> _impl;
final NativeObjCLibrary _lib;
ObjCBlock14._(this._impl, this._lib);
ObjCBlock14.fromFunctionPointer(
this._lib,
ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
NSItemProviderCompletionHandler arg0,
ffi.Pointer<ObjCObject> arg1,
ffi.Pointer<ObjCObject> arg2)>>
ptr)
: _impl = _lib._newBlock1(
ffi.Pointer.fromFunction<
ffi.Void Function(
ffi.Pointer<_ObjCBlock> block,
NSItemProviderCompletionHandler arg0,
ffi.Pointer<ObjCObject> arg1,
ffi.Pointer<ObjCObject> arg2)>(
_ObjCBlock14_fnPtrTrampoline)
.cast(),
ptr.cast());
ffi.Pointer<_ObjCBlock> get pointer => _impl;
}
typedef NSItemProviderCompletionHandler = ffi.Pointer<_ObjCBlock>;
abstract class NSItemProviderErrorCode {
static const int NSItemProviderUnknownError = -1;
static const int NSItemProviderItemUnavailableError = -1000;
static const int NSItemProviderUnexpectedValueClassError = -1100;
static const int NSItemProviderUnavailableCoercionError = -1200;
}
typedef NSStringEncodingDetectionOptionsKey = ffi.Pointer<ObjCObject>;
class NSMutableString extends NSString {
NSMutableString._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib)
: super._(id, lib);
static NSMutableString castFrom<T extends _ObjCWrapper>(T other) {
return NSMutableString._(other._id, other._lib);
}
static NSMutableString castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return NSMutableString._(other, lib);
}
void replaceCharactersInRange_withString_(NSRange range, NSObject? aString) {
_lib._objc_msgSend_148(_id, _lib._sel_replaceCharactersInRange_withString_1,
range, aString?._id ?? ffi.nullptr);
}
void insertString_atIndex_(NSObject? aString, int loc) {
_lib._objc_msgSend_141(_id, _lib._sel_insertString_atIndex_1,
aString?._id ?? ffi.nullptr, loc);
}
void deleteCharactersInRange_(NSRange range) {
_lib._objc_msgSend_146(_id, _lib._sel_deleteCharactersInRange_1, range);
}
void appendString_(NSObject? aString) {
_lib._objc_msgSend_8(
_id, _lib._sel_appendString_1, aString?._id ?? ffi.nullptr);
}
void appendFormat_(NSObject? format) {
_lib._objc_msgSend_8(
_id, _lib._sel_appendFormat_1, format?._id ?? ffi.nullptr);
}
void setString_(NSObject? aString) {
_lib._objc_msgSend_8(
_id, _lib._sel_setString_1, aString?._id ?? ffi.nullptr);
}
int replaceOccurrencesOfString_withString_options_range_(NSObject? target,
NSObject? replacement, int options, NSRange searchRange) {
return _lib._objc_msgSend_164(
_id,
_lib._sel_replaceOccurrencesOfString_withString_options_range_1,
target?._id ?? ffi.nullptr,
replacement?._id ?? ffi.nullptr,
options,
searchRange);
}
bool applyTransform_reverse_range_updatedRange_(NSStringTransform transform,
bool reverse, NSRange range, NSRangePointer resultingRange) {
return _lib._objc_msgSend_165(
_id,
_lib._sel_applyTransform_reverse_range_updatedRange_1,
transform,
reverse,
range,
resultingRange);
}
NSMutableString initWithCapacity_(int capacity) {
final _ret =
_lib._objc_msgSend_166(_id, _lib._sel_initWithCapacity_1, capacity);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithCapacity_(
NativeObjCLibrary _lib, int capacity) {
final _ret = _lib._objc_msgSend_166(
_lib._class_NSMutableString1, _lib._sel_stringWithCapacity_1, capacity);
return NSMutableString._(_ret, _lib);
}
static ffi.Pointer<NSStringEncoding> getAvailableStringEncodings(
NativeObjCLibrary _lib) {
return _lib._objc_msgSend_45(
_lib._class_NSMutableString1, _lib._sel_availableStringEncodings1);
}
static NSString localizedNameOfStringEncoding_(
NativeObjCLibrary _lib, int encoding) {
final _ret = _lib._objc_msgSend_14(_lib._class_NSMutableString1,
_lib._sel_localizedNameOfStringEncoding_1, encoding);
return NSString._(_ret, _lib);
}
static int getDefaultCStringEncoding(NativeObjCLibrary _lib) {
return _lib._objc_msgSend_11(
_lib._class_NSMutableString1, _lib._sel_defaultCStringEncoding1);
}
static NSMutableString string(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSMutableString1, _lib._sel_string1);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithString_(
NativeObjCLibrary _lib, NSObject? string) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableString1,
_lib._sel_stringWithString_1, string?._id ?? ffi.nullptr);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithCharacters_length_(
NativeObjCLibrary _lib, ffi.Pointer<unichar> characters, int length) {
final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableString1,
_lib._sel_stringWithCharacters_length_1, characters, length);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithUTF8String_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> nullTerminatedCString) {
final _ret = _lib._objc_msgSend_56(_lib._class_NSMutableString1,
_lib._sel_stringWithUTF8String_1, nullTerminatedCString);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithFormat_(
NativeObjCLibrary _lib, NSObject? format) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableString1,
_lib._sel_stringWithFormat_1, format?._id ?? ffi.nullptr);
return NSMutableString._(_ret, _lib);
}
static NSMutableString localizedStringWithFormat_(
NativeObjCLibrary _lib, NSObject? format) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableString1,
_lib._sel_localizedStringWithFormat_1, format?._id ?? ffi.nullptr);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithCString_encoding_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> cString, int enc) {
final _ret = _lib._objc_msgSend_64(_lib._class_NSMutableString1,
_lib._sel_stringWithCString_encoding_1, cString, enc);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithContentsOfURL_encoding_error_(
NativeObjCLibrary _lib,
NSObject? url,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfURL_encoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithContentsOfFile_encoding_error_(
NativeObjCLibrary _lib,
NSObject? path,
int enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_65(
_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfFile_encoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithContentsOfURL_usedEncoding_error_(
NativeObjCLibrary _lib,
NSObject? url,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfURL_usedEncoding_error_1,
url?._id ?? ffi.nullptr,
enc,
error);
return NSMutableString._(_ret, _lib);
}
static NSMutableString stringWithContentsOfFile_usedEncoding_error_(
NativeObjCLibrary _lib,
NSObject? path,
ffi.Pointer<NSStringEncoding> enc,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_66(
_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfFile_usedEncoding_error_1,
path?._id ?? ffi.nullptr,
enc,
error);
return NSMutableString._(_ret, _lib);
}
static int
stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_(
NativeObjCLibrary _lib,
NSObject? data,
NSObject? opts,
ffi.Pointer<ffi.Pointer<ObjCObject>> string,
ffi.Pointer<ffi.Uint8> usedLossyConversion) {
return _lib._objc_msgSend_67(
_lib._class_NSMutableString1,
_lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1,
data?._id ?? ffi.nullptr,
opts?._id ?? ffi.nullptr,
string,
usedLossyConversion);
}
static NSObject stringWithContentsOfFile_(
NativeObjCLibrary _lib, NSObject? path) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfFile_1, path?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
static NSObject stringWithContentsOfURL_(
NativeObjCLibrary _lib, NSObject? url) {
final _ret = _lib._objc_msgSend_13(_lib._class_NSMutableString1,
_lib._sel_stringWithContentsOfURL_1, url?._id ?? ffi.nullptr);
return NSObject._(_ret, _lib);
}
static NSObject stringWithCString_length_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> bytes, int length) {
final _ret = _lib._objc_msgSend_64(_lib._class_NSMutableString1,
_lib._sel_stringWithCString_length_1, bytes, length);
return NSObject._(_ret, _lib);
}
static NSObject stringWithCString_(
NativeObjCLibrary _lib, ffi.Pointer<pkg_ffi.Char> bytes) {
final _ret = _lib._objc_msgSend_56(
_lib._class_NSMutableString1, _lib._sel_stringWithCString_1, bytes);
return NSObject._(_ret, _lib);
}
static NSMutableString new1(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSMutableString1, _lib._sel_new1);
return NSMutableString._(_ret, _lib);
}
static NSMutableString alloc(NativeObjCLibrary _lib) {
final _ret =
_lib._objc_msgSend_1(_lib._class_NSMutableString1, _lib._sel_alloc1);
return NSMutableString._(_ret, _lib);
}
}
typedef NSExceptionName = ffi.Pointer<ObjCObject>;
class Foo extends NSObject {
Foo._(ffi.Pointer<ObjCObject> id, NativeObjCLibrary lib) : super._(id, lib);
static Foo castFrom<T extends _ObjCWrapper>(T other) {
return Foo._(other._id, other._lib);
}
static Foo castFromPointer(
NativeObjCLibrary lib, ffi.Pointer<ObjCObject> other) {
return Foo._(other, lib);
}
int get intVal {
return _lib._objc_msgSend_167(_id, _lib._sel_intVal1);
}
set intVal(int value) {
_lib._objc_msgSend_168(_id, _lib._sel_setIntVal_1, value);
}
static Foo makeFoo_(NativeObjCLibrary _lib, double x) {
final _ret =
_lib._objc_msgSend_169(_lib._class_Foo1, _lib._sel_makeFoo_1, x);
return Foo._(_ret, _lib);
}
int multiply_withOtherFoo_(bool useIntVals, NSObject? other) {
return _lib._objc_msgSend_170(_id, _lib._sel_multiply_withOtherFoo_1,
useIntVals, other?._id ?? ffi.nullptr);
}
void setDoubleVal_(double x) {
_lib._objc_msgSend_171(_id, _lib._sel_setDoubleVal_1, x);
}
static Foo new1(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_Foo1, _lib._sel_new1);
return Foo._(_ret, _lib);
}
static Foo alloc(NativeObjCLibrary _lib) {
final _ret = _lib._objc_msgSend_1(_lib._class_Foo1, _lib._sel_alloc1);
return Foo._(_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;