[ffigen] Improve Type deduping in objc_msgSend (#326)
* Improve Type deduping in objc_msgSend
* Comment why toString can't be a cache key
* Fix test
diff --git a/pkgs/ffigen/lib/src/code_generator/func_type.dart b/pkgs/ffigen/lib/src/code_generator/func_type.dart
index 7f40502..0b8abfd 100644
--- a/pkgs/ffigen/lib/src/code_generator/func_type.dart
+++ b/pkgs/ffigen/lib/src/code_generator/func_type.dart
@@ -45,6 +45,9 @@
String toString() => _getTypeString(false, (Type t) => t.toString());
@override
+ String cacheKey() => _getTypeString(false, (Type t) => t.cacheKey());
+
+ @override
void addDependencies(Set<Binding> dependencies) {
returnType.addDependencies(dependencies);
for (final p in parameters) {
@@ -74,4 +77,7 @@
@override
String toString() => 'NativeFunction<${type.toString()}>';
+
+ @override
+ String cacheKey() => 'NatFn(${type.cacheKey()})';
}
diff --git a/pkgs/ffigen/lib/src/code_generator/native_type.dart b/pkgs/ffigen/lib/src/code_generator/native_type.dart
index e51581d..ea65169 100644
--- a/pkgs/ffigen/lib/src/code_generator/native_type.dart
+++ b/pkgs/ffigen/lib/src/code_generator/native_type.dart
@@ -55,6 +55,9 @@
@override
String toString() => _cType;
+
+ @override
+ String cacheKey() => _cType;
}
class BooleanType extends NativeType {
@@ -65,4 +68,7 @@
@override
String toString() => 'bool';
+
+ @override
+ String cacheKey() => 'bool';
}
diff --git a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart
index 3c170c0..6074a71 100644
--- a/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart
+++ b/pkgs/ffigen/lib/src/code_generator/objc_built_in_functions.dart
@@ -29,10 +29,9 @@
// We need to load a separate instance of objc_msgSend for each signature.
final _msgSendFuncs = <String, Func>{};
Func getMsgSendFunc(Type returnType, List<ObjCMethodParam> params) {
- // TODO(#279): These keys don't dedupe sufficiently.
- var key = returnType.hashCode.toRadixString(36);
+ var key = returnType.cacheKey();
for (final p in params) {
- key += ' ' + p.type.hashCode.toRadixString(36);
+ key += ' ' + p.type.cacheKey();
}
_msgSendFuncs[key] ??= Func(
name: '_objc_msgSend_${_msgSendFuncs.length}',
diff --git a/pkgs/ffigen/lib/src/code_generator/pointer.dart b/pkgs/ffigen/lib/src/code_generator/pointer.dart
index 445c360..cacb5b2 100644
--- a/pkgs/ffigen/lib/src/code_generator/pointer.dart
+++ b/pkgs/ffigen/lib/src/code_generator/pointer.dart
@@ -24,7 +24,10 @@
'${w.ffiLibraryPrefix}.Pointer<${child.getCType(w)}>';
@override
- String toString() => '*$child';
+ String toString() => '$child*';
+
+ @override
+ String cacheKey() => '${child.cacheKey()}*';
}
/// Represents a constant array, which has a fixed size.
@@ -40,6 +43,9 @@
@override
String toString() => '$child[$length]';
+
+ @override
+ String cacheKey() => '${child.cacheKey()}[$length]';
}
/// Represents an incomplete array, which has an unknown size.
@@ -51,4 +57,7 @@
@override
String toString() => '$child[]';
+
+ @override
+ String cacheKey() => '${child.cacheKey()}[]';
}
diff --git a/pkgs/ffigen/lib/src/code_generator/type.dart b/pkgs/ffigen/lib/src/code_generator/type.dart
index af580b3..0ad138f 100644
--- a/pkgs/ffigen/lib/src/code_generator/type.dart
+++ b/pkgs/ffigen/lib/src/code_generator/type.dart
@@ -47,6 +47,13 @@
/// only. This string should not be printed as generated code.
@override
String toString();
+
+ /// Cache key used in various places to dedupe Types. By default this is just
+ /// the hash of the Type, but in many cases this does not dedupe sufficiently.
+ /// So Types that may be duplicated should override this to return a more
+ /// specific key. Types that are already deduped don't need to override this.
+ /// toString() is not a valid cache key as there may be name collisions.
+ String cacheKey() => hashCode.toRadixString(36);
}
/// Function to check if the dart and C type string are same.
@@ -87,6 +94,9 @@
@override
String toString() => originalName;
+
+ @override
+ String cacheKey() => hashCode.toRadixString(36);
}
/// Represents an unimplemented type. Used as a marker, so that declarations
diff --git a/pkgs/ffigen/lib/src/code_generator/typealias.dart b/pkgs/ffigen/lib/src/code_generator/typealias.dart
index f83c0ba..9211ae8 100644
--- a/pkgs/ffigen/lib/src/code_generator/typealias.dart
+++ b/pkgs/ffigen/lib/src/code_generator/typealias.dart
@@ -76,4 +76,7 @@
return type.getDartType(w);
}
}
+
+ @override
+ String cacheKey() => type.cacheKey();
}
diff --git a/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_config_bindings.dart b/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_config_bindings.dart
index d43541e..f837933 100644
--- a/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_config_bindings.dart
+++ b/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_config_bindings.dart
@@ -104,88 +104,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -193,20 +117,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -214,15 +138,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -236,273 +240,54 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_23(
+ ffi.Pointer<ObjCObject> _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
cString,
@@ -510,50 +295,50 @@
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_24(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ late final __objc_msgSend_13Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
}
@@ -673,14 +458,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -688,7 +473,7 @@
static NSObject copyWithZone(NativeLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -697,7 +482,7 @@
NativeLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -707,7 +492,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -715,14 +500,14 @@
static bool conformsToProtocol(NativeLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -731,7 +516,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -739,22 +524,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -762,7 +547,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -772,7 +557,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -780,27 +565,27 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(NativeLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
static bool resolveClassMethod(NativeLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -809,21 +594,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -831,7 +616,7 @@
static NSObject class1(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -839,7 +624,7 @@
static NSString description(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -847,7 +632,7 @@
static NSString debugDescription(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -900,7 +685,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_23(
+ final _ret = _lib._objc_msgSend_12(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -908,7 +693,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_24(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_13(_id, _sel_UTF8String!);
}
}
diff --git a/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_interface_bindings.dart b/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_interface_bindings.dart
index 93b66b2..e85cef0 100644
--- a/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_interface_bindings.dart
+++ b/pkgs/ffigen/test/header_parser_tests/expected_bindings/_expected_objc_interface_bindings.dart
@@ -104,88 +104,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -193,20 +117,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -214,15 +138,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -236,273 +240,54 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_23(
+ ffi.Pointer<ObjCObject> _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
cString,
@@ -510,116 +295,116 @@
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_24(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ late final __objc_msgSend_13Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_26(
+ int _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_26(
+ return __objc_msgSend_15(
obj,
sel,
);
}
- late final __objc_msgSend_26Ptr = _lookup<
+ late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
+ late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_27(
+ void _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_27(
+ return __objc_msgSend_16(
obj,
sel,
value,
);
}
- late final __objc_msgSend_27Ptr = _lookup<
+ late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
+ late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_28(
+ ffi.Pointer<ObjCObject> _objc_msgSend_17(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double someArg,
) {
- return __objc_msgSend_28(
+ return __objc_msgSend_17(
obj,
sel,
someArg,
);
}
- late final __objc_msgSend_28Ptr = _lookup<
+ late final __objc_msgSend_17Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend');
- late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
+ late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
- int _objc_msgSend_29(
+ int _objc_msgSend_18(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> someArg,
ffi.Pointer<ObjCObject> otherArg,
) {
- return __objc_msgSend_29(
+ return __objc_msgSend_18(
obj,
sel,
someArg,
@@ -627,14 +412,14 @@
);
}
- late final __objc_msgSend_29Ptr = _lookup<
+ late final __objc_msgSend_18Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
+ late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>)>();
}
@@ -671,26 +456,26 @@
static ffi.Pointer<ObjCSel>? _sel_someProperty;
int get someProperty {
_sel_someProperty ??= _registerName(_lib, "someProperty");
- return _lib._objc_msgSend_26(_id, _sel_someProperty!);
+ return _lib._objc_msgSend_15(_id, _sel_someProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_someProperty1;
set someProperty(int value) {
_sel_someProperty1 ??= _registerName(_lib, "setSomeProperty:");
- _lib._objc_msgSend_27(_id, _sel_someProperty1!, value);
+ _lib._objc_msgSend_16(_id, _sel_someProperty1!, value);
}
static ffi.Pointer<ObjCSel>? _sel_readOnlyProperty;
int get readOnlyProperty {
_sel_readOnlyProperty ??= _registerName(_lib, "readOnlyProperty");
- return _lib._objc_msgSend_26(_id, _sel_readOnlyProperty!);
+ return _lib._objc_msgSend_15(_id, _sel_readOnlyProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_classReadOnlyProperty;
static int getClassReadOnlyProperty(NativeLibrary _lib) {
_class ??= _getClass(_lib, "Foo");
_sel_classReadOnlyProperty ??= _registerName(_lib, "classReadOnlyProperty");
- return _lib._objc_msgSend_26(_class!, _sel_classReadOnlyProperty!);
+ return _lib._objc_msgSend_15(_class!, _sel_classReadOnlyProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_classReadWriteProperty;
@@ -698,7 +483,7 @@
_class ??= _getClass(_lib, "Foo");
_sel_classReadWriteProperty ??=
_registerName(_lib, "classReadWriteProperty");
- return _lib._objc_msgSend_26(_class!, _sel_classReadWriteProperty!);
+ return _lib._objc_msgSend_15(_class!, _sel_classReadWriteProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_classReadWriteProperty1;
@@ -706,14 +491,14 @@
_class ??= _getClass(_lib, "Foo");
_sel_classReadWriteProperty1 ??=
_registerName(_lib, "setClassReadWriteProperty:");
- _lib._objc_msgSend_27(_class!, _sel_classReadWriteProperty1!, value);
+ _lib._objc_msgSend_16(_class!, _sel_classReadWriteProperty1!, value);
}
static ffi.Pointer<ObjCSel>? _sel_aClassMethod;
static Foo aClassMethod(NativeLibrary _lib, double someArg) {
_class ??= _getClass(_lib, "Foo");
_sel_aClassMethod ??= _registerName(_lib, "aClassMethod:");
- final _ret = _lib._objc_msgSend_28(_class!, _sel_aClassMethod!, someArg);
+ final _ret = _lib._objc_msgSend_17(_class!, _sel_aClassMethod!, someArg);
return Foo._(_ret, _lib);
}
@@ -721,7 +506,7 @@
int anInstanceMethod_withOtherArg(NSObject someArg, NSObject otherArg) {
_sel_anInstanceMethod_withOtherArg ??=
_registerName(_lib, "anInstanceMethod:withOtherArg:");
- return _lib._objc_msgSend_29(
+ return _lib._objc_msgSend_18(
_id, _sel_anInstanceMethod_withOtherArg!, someArg._id, otherArg._id);
}
@@ -811,14 +596,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -826,7 +611,7 @@
static NSObject copyWithZone(NativeLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -835,7 +620,7 @@
NativeLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -845,7 +630,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -853,14 +638,14 @@
static bool conformsToProtocol(NativeLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -869,7 +654,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -877,22 +662,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -900,7 +685,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -910,7 +695,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -918,27 +703,27 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(NativeLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
static bool resolveClassMethod(NativeLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -947,21 +732,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -969,7 +754,7 @@
static NSObject class1(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -977,7 +762,7 @@
static NSString description(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -985,7 +770,7 @@
static NSString debugDescription(NativeLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -1038,7 +823,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_23(
+ final _ret = _lib._objc_msgSend_12(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -1046,7 +831,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_24(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_13(_id, _sel_UTF8String!);
}
}
diff --git a/pkgs/ffigen/test/native_objc_test/method_bindings.dart b/pkgs/ffigen/test/native_objc_test/method_bindings.dart
index 4c74d24..d8390d3 100644
--- a/pkgs/ffigen/test/native_objc_test/method_bindings.dart
+++ b/pkgs/ffigen/test/native_objc_test/method_bindings.dart
@@ -191,88 +191,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -280,20 +204,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -301,15 +225,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -323,273 +327,54 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_23(
+ ffi.Pointer<ObjCObject> _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
cString,
@@ -597,96 +382,96 @@
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_24(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ late final __objc_msgSend_13Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_26(
+ int _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_26(
+ return __objc_msgSend_15(
obj,
sel,
);
}
- late final __objc_msgSend_26Ptr = _lookup<
+ late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
+ late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_27(
+ int _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int x,
) {
- return __objc_msgSend_27(
+ return __objc_msgSend_16(
obj,
sel,
x,
);
}
- late final __objc_msgSend_27Ptr = _lookup<
+ late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
+ late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- int _objc_msgSend_28(
+ int _objc_msgSend_17(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int x,
int y,
) {
- return __objc_msgSend_28(
+ return __objc_msgSend_17(
obj,
sel,
x,
@@ -694,21 +479,21 @@
);
}
- late final __objc_msgSend_28Ptr = _lookup<
+ late final __objc_msgSend_17Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
+ late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int)>();
- int _objc_msgSend_29(
+ int _objc_msgSend_18(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int x,
int y,
int z,
) {
- return __objc_msgSend_29(
+ return __objc_msgSend_18(
obj,
sel,
x,
@@ -717,11 +502,11 @@
);
}
- late final __objc_msgSend_29Ptr = _lookup<
+ late final __objc_msgSend_18Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Int32, ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
+ late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
int Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int, int)>();
}
@@ -855,53 +640,53 @@
static ffi.Pointer<ObjCSel>? _sel_add;
int add() {
_sel_add ??= _registerName(_lib, "add");
- return _lib._objc_msgSend_26(_id, _sel_add!);
+ return _lib._objc_msgSend_15(_id, _sel_add!);
}
static ffi.Pointer<ObjCSel>? _sel_add1;
int add1(int x) {
_sel_add1 ??= _registerName(_lib, "add:");
- return _lib._objc_msgSend_27(_id, _sel_add1!, x);
+ return _lib._objc_msgSend_16(_id, _sel_add1!, x);
}
static ffi.Pointer<ObjCSel>? _sel_add_Y;
int add_Y(int x, int y) {
_sel_add_Y ??= _registerName(_lib, "add:Y:");
- return _lib._objc_msgSend_28(_id, _sel_add_Y!, x, y);
+ return _lib._objc_msgSend_17(_id, _sel_add_Y!, x, y);
}
static ffi.Pointer<ObjCSel>? _sel_add_Y_Z;
int add_Y_Z(int x, int y, int z) {
_sel_add_Y_Z ??= _registerName(_lib, "add:Y:Z:");
- return _lib._objc_msgSend_29(_id, _sel_add_Y_Z!, x, y, z);
+ return _lib._objc_msgSend_18(_id, _sel_add_Y_Z!, x, y, z);
}
static ffi.Pointer<ObjCSel>? _sel_sub;
static int sub(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "MethodInterface");
_sel_sub ??= _registerName(_lib, "sub");
- return _lib._objc_msgSend_26(_class!, _sel_sub!);
+ return _lib._objc_msgSend_15(_class!, _sel_sub!);
}
static ffi.Pointer<ObjCSel>? _sel_sub1;
static int sub1(MethodTestObjCLibrary _lib, int x) {
_class ??= _getClass(_lib, "MethodInterface");
_sel_sub1 ??= _registerName(_lib, "sub:");
- return _lib._objc_msgSend_27(_class!, _sel_sub1!, x);
+ return _lib._objc_msgSend_16(_class!, _sel_sub1!, x);
}
static ffi.Pointer<ObjCSel>? _sel_sub_Y;
static int sub_Y(MethodTestObjCLibrary _lib, int x, int y) {
_class ??= _getClass(_lib, "MethodInterface");
_sel_sub_Y ??= _registerName(_lib, "sub:Y:");
- return _lib._objc_msgSend_28(_class!, _sel_sub_Y!, x, y);
+ return _lib._objc_msgSend_17(_class!, _sel_sub_Y!, x, y);
}
static ffi.Pointer<ObjCSel>? _sel_sub_Y_Z;
static int sub_Y_Z(MethodTestObjCLibrary _lib, int x, int y, int z) {
_class ??= _getClass(_lib, "MethodInterface");
_sel_sub_Y_Z ??= _registerName(_lib, "sub:Y:Z:");
- return _lib._objc_msgSend_29(_class!, _sel_sub_Y_Z!, x, y, z);
+ return _lib._objc_msgSend_18(_class!, _sel_sub_Y_Z!, x, y, z);
}
static ffi.Pointer<ObjCSel>? _sel_new1;
@@ -992,14 +777,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -1008,7 +793,7 @@
MethodTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -1017,7 +802,7 @@
MethodTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -1027,7 +812,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -1036,14 +821,14 @@
MethodTestObjCLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -1052,7 +837,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -1060,22 +845,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -1083,7 +868,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1093,7 +878,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1101,20 +886,20 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(MethodTestObjCLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
@@ -1122,7 +907,7 @@
MethodTestObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -1131,21 +916,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -1153,7 +938,7 @@
static NSObject class1(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -1161,7 +946,7 @@
static NSString description(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -1169,7 +954,7 @@
static NSString debugDescription(MethodTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -1223,7 +1008,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_23(
+ final _ret = _lib._objc_msgSend_12(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -1231,7 +1016,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_24(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_13(_id, _sel_UTF8String!);
}
}
diff --git a/pkgs/ffigen/test/native_objc_test/native_objc_test_bindings.dart b/pkgs/ffigen/test/native_objc_test/native_objc_test_bindings.dart
index b4c7fac..9ffa2a8 100644
--- a/pkgs/ffigen/test/native_objc_test/native_objc_test_bindings.dart
+++ b/pkgs/ffigen/test/native_objc_test/native_objc_test_bindings.dart
@@ -488,88 +488,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -577,20 +501,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -598,15 +522,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -620,312 +624,93 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_23(
+ int _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
index,
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
unichar Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- instancetype _objc_msgSend_24(
+ instancetype _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> coder,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
coder,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ 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_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
cString,
@@ -933,116 +718,116 @@
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_26(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_26(
+ return __objc_msgSend_15(
obj,
sel,
);
}
- late final __objc_msgSend_26Ptr = _lookup<
+ late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
+ late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_27(
+ ffi.Pointer<ObjCObject> _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_27(
+ return __objc_msgSend_16(
obj,
sel,
);
}
- late final __objc_msgSend_27Ptr = _lookup<
+ late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
+ late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_28(
+ int _objc_msgSend_17(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_28(
+ return __objc_msgSend_17(
obj,
sel,
);
}
- late final __objc_msgSend_28Ptr = _lookup<
+ late final __objc_msgSend_17Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
+ late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_29(
+ void _objc_msgSend_18(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_29(
+ return __objc_msgSend_18(
obj,
sel,
value,
);
}
- late final __objc_msgSend_29Ptr = _lookup<
+ late final __objc_msgSend_18Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
+ late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_30(
+ ffi.Pointer<ObjCObject> _objc_msgSend_19(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double x,
) {
- return __objc_msgSend_30(
+ return __objc_msgSend_19(
obj,
sel,
x,
);
}
- late final __objc_msgSend_30Ptr = _lookup<
+ late final __objc_msgSend_19Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend');
- late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction<
+ late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
- int _objc_msgSend_31(
+ int _objc_msgSend_20(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
bool useIntVals,
ffi.Pointer<ObjCObject> other,
) {
- return __objc_msgSend_31(
+ return __objc_msgSend_20(
obj,
sel,
useIntVals ? 1 : 0,
@@ -1050,31 +835,31 @@
);
}
- late final __objc_msgSend_31Ptr = _lookup<
+ late final __objc_msgSend_20Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Uint8, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction<
+ late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<ObjCObject>)>();
- void _objc_msgSend_32(
+ void _objc_msgSend_21(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double x,
) {
- return __objc_msgSend_32(
+ return __objc_msgSend_21(
obj,
sel,
x,
);
}
- late final __objc_msgSend_32Ptr = _lookup<
+ late final __objc_msgSend_21Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Double)>>('objc_msgSend');
- late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction<
+ late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
}
@@ -1301,20 +1086,20 @@
static ffi.Pointer<ObjCSel>? _sel_intVal;
int get intVal {
_sel_intVal ??= _registerName(_lib, "intVal");
- return _lib._objc_msgSend_28(_id, _sel_intVal!);
+ return _lib._objc_msgSend_17(_id, _sel_intVal!);
}
static ffi.Pointer<ObjCSel>? _sel_intVal1;
set intVal(int value) {
_sel_intVal1 ??= _registerName(_lib, "setIntVal:");
- _lib._objc_msgSend_29(_id, _sel_intVal1!, value);
+ _lib._objc_msgSend_18(_id, _sel_intVal1!, value);
}
static ffi.Pointer<ObjCSel>? _sel_makeFoo;
static Foo makeFoo(NativeObjCLibrary _lib, double x) {
_class ??= _getClass(_lib, "Foo");
_sel_makeFoo ??= _registerName(_lib, "makeFoo:");
- final _ret = _lib._objc_msgSend_30(_class!, _sel_makeFoo!, x);
+ final _ret = _lib._objc_msgSend_19(_class!, _sel_makeFoo!, x);
return Foo._(_ret, _lib);
}
@@ -1322,14 +1107,14 @@
int multiply_withOtherFoo(bool useIntVals, NSObject other) {
_sel_multiply_withOtherFoo ??=
_registerName(_lib, "multiply:withOtherFoo:");
- return _lib._objc_msgSend_31(
+ return _lib._objc_msgSend_20(
_id, _sel_multiply_withOtherFoo!, useIntVals, other._id);
}
static ffi.Pointer<ObjCSel>? _sel_setDoubleVal;
void setDoubleVal(double x) {
_sel_setDoubleVal ??= _registerName(_lib, "setDoubleVal:");
- _lib._objc_msgSend_32(_id, _sel_setDoubleVal!, x);
+ _lib._objc_msgSend_21(_id, _sel_setDoubleVal!, x);
}
static ffi.Pointer<ObjCSel>? _sel_new1;
@@ -1420,14 +1205,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -1436,7 +1221,7 @@
NativeObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -1445,7 +1230,7 @@
NativeObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -1455,7 +1240,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -1463,14 +1248,14 @@
static bool conformsToProtocol(NativeObjCLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -1479,7 +1264,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -1487,22 +1272,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -1510,7 +1295,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1520,7 +1305,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1528,20 +1313,20 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(NativeObjCLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
@@ -1549,7 +1334,7 @@
NativeObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -1558,21 +1343,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(NativeObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(NativeObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -1580,7 +1365,7 @@
static NSObject class1(NativeObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -1588,7 +1373,7 @@
static NSString description(NativeObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_27(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_16(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -1596,7 +1381,7 @@
static NSString debugDescription(NativeObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_27(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_16(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -1643,13 +1428,13 @@
static ffi.Pointer<ObjCSel>? _sel_length;
int get length {
_sel_length ??= _registerName(_lib, "length");
- return _lib._objc_msgSend_20(_id, _sel_length!);
+ return _lib._objc_msgSend_11(_id, _sel_length!);
}
static ffi.Pointer<ObjCSel>? _sel_characterAtIndex;
int characterAtIndex(int index) {
_sel_characterAtIndex ??= _registerName(_lib, "characterAtIndex:");
- return _lib._objc_msgSend_23(_id, _sel_characterAtIndex!, index);
+ return _lib._objc_msgSend_12(_id, _sel_characterAtIndex!, index);
}
static ffi.Pointer<ObjCSel>? _sel_init;
@@ -1663,7 +1448,7 @@
static ffi.Pointer<ObjCSel>? _sel_initWithCoder;
NSString initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_24(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSString._(_ret, _lib);
}
@@ -1673,7 +1458,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_25(
+ final _ret = _lib._objc_msgSend_14(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -1681,7 +1466,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_26(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_15(_id, _sel_UTF8String!);
}
static ffi.Pointer<ObjCSel>? _sel_new1;
diff --git a/pkgs/ffigen/test/native_objc_test/property_bindings.dart b/pkgs/ffigen/test/native_objc_test/property_bindings.dart
index 85485e7..9a18e7d 100644
--- a/pkgs/ffigen/test/native_objc_test/property_bindings.dart
+++ b/pkgs/ffigen/test/native_objc_test/property_bindings.dart
@@ -191,88 +191,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -280,20 +204,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -301,15 +225,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -323,273 +327,54 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_23(
+ ffi.Pointer<ObjCObject> _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
cString,
@@ -597,87 +382,87 @@
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_24(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ late final __objc_msgSend_13Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_26(
+ int _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_26(
+ return __objc_msgSend_15(
obj,
sel,
);
}
- late final __objc_msgSend_26Ptr = _lookup<
+ late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
+ late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_27(
+ void _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_27(
+ return __objc_msgSend_16(
obj,
sel,
value,
);
}
- late final __objc_msgSend_27Ptr = _lookup<
+ late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
+ late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
late final ffi.Pointer<ffi.Int32> __classReadWriteProperty =
@@ -818,26 +603,26 @@
static ffi.Pointer<ObjCSel>? _sel_readOnlyProperty;
int get readOnlyProperty {
_sel_readOnlyProperty ??= _registerName(_lib, "readOnlyProperty");
- return _lib._objc_msgSend_26(_id, _sel_readOnlyProperty!);
+ return _lib._objc_msgSend_15(_id, _sel_readOnlyProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_readWriteProperty;
int get readWriteProperty {
_sel_readWriteProperty ??= _registerName(_lib, "readWriteProperty");
- return _lib._objc_msgSend_26(_id, _sel_readWriteProperty!);
+ return _lib._objc_msgSend_15(_id, _sel_readWriteProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_readWriteProperty1;
set readWriteProperty(int value) {
_sel_readWriteProperty1 ??= _registerName(_lib, "setReadWriteProperty:");
- _lib._objc_msgSend_27(_id, _sel_readWriteProperty1!, value);
+ _lib._objc_msgSend_16(_id, _sel_readWriteProperty1!, value);
}
static ffi.Pointer<ObjCSel>? _sel_classReadOnlyProperty;
static int getClassReadOnlyProperty(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "PropertyInterface");
_sel_classReadOnlyProperty ??= _registerName(_lib, "classReadOnlyProperty");
- return _lib._objc_msgSend_26(_class!, _sel_classReadOnlyProperty!);
+ return _lib._objc_msgSend_15(_class!, _sel_classReadOnlyProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_classReadWriteProperty;
@@ -845,7 +630,7 @@
_class ??= _getClass(_lib, "PropertyInterface");
_sel_classReadWriteProperty ??=
_registerName(_lib, "classReadWriteProperty");
- return _lib._objc_msgSend_26(_class!, _sel_classReadWriteProperty!);
+ return _lib._objc_msgSend_15(_class!, _sel_classReadWriteProperty!);
}
static ffi.Pointer<ObjCSel>? _sel_classReadWriteProperty1;
@@ -854,7 +639,7 @@
_class ??= _getClass(_lib, "PropertyInterface");
_sel_classReadWriteProperty1 ??=
_registerName(_lib, "setClassReadWriteProperty:");
- _lib._objc_msgSend_27(_class!, _sel_classReadWriteProperty1!, value);
+ _lib._objc_msgSend_16(_class!, _sel_classReadWriteProperty1!, value);
}
static ffi.Pointer<ObjCSel>? _sel_new1;
@@ -945,14 +730,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -961,7 +746,7 @@
PropertyTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -970,7 +755,7 @@
PropertyTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -980,7 +765,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -989,14 +774,14 @@
PropertyTestObjCLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -1005,7 +790,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -1013,22 +798,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -1036,7 +821,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1046,7 +831,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -1054,20 +839,20 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(PropertyTestObjCLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
@@ -1075,7 +860,7 @@
PropertyTestObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -1084,21 +869,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -1106,7 +891,7 @@
static NSObject class1(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -1114,7 +899,7 @@
static NSString description(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -1122,7 +907,7 @@
static NSString debugDescription(PropertyTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_25(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_14(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -1176,7 +961,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_23(
+ final _ret = _lib._objc_msgSend_12(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -1184,7 +969,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_24(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_13(_id, _sel_UTF8String!);
}
}
diff --git a/pkgs/ffigen/test/native_objc_test/string_bindings.dart b/pkgs/ffigen/test/native_objc_test/string_bindings.dart
index fc45dec..870df19 100644
--- a/pkgs/ffigen/test/native_objc_test/string_bindings.dart
+++ b/pkgs/ffigen/test/native_objc_test/string_bindings.dart
@@ -191,88 +191,12 @@
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<_NSZone>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_3(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_3(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_3Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_4(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_4(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_4Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_5(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_5(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_5Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_6(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<_NSZone> zone,
- ) {
- return __objc_msgSend_6(
- obj,
- sel,
- zone,
- );
- }
-
- late final __objc_msgSend_6Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>>('objc_msgSend');
- late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<_NSZone>)>();
-
- bool _objc_msgSend_7(
+ bool _objc_msgSend_3(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
) {
- return __objc_msgSend_7(
+ return __objc_msgSend_3(
obj,
sel,
aSelector,
@@ -280,20 +204,20 @@
0;
}
- late final __objc_msgSend_7Ptr = _lookup<
+ 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_7 = __objc_msgSend_7Ptr.asFunction<
+ late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCSel>)>();
- bool _objc_msgSend_8(
+ bool _objc_msgSend_4(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> protocol,
) {
- return __objc_msgSend_8(
+ return __objc_msgSend_4(
obj,
sel,
protocol,
@@ -301,15 +225,95 @@
0;
}
- late final __objc_msgSend_8Ptr = _lookup<
+ 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_8 = __objc_msgSend_8Ptr.asFunction<
+ late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- IMP _objc_msgSend_9(
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ 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>)>();
+
+ ffi.Pointer<ObjCObject> _objc_msgSend_9(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCSel> aSelector,
@@ -323,312 +327,93 @@
late final __objc_msgSend_9Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
+ ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
- IMP _objc_msgSend_10(
+ bool _objc_msgSend_10(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_10(
- obj,
- sel,
- aSelector,
- );
+ obj,
+ sel,
+ ) !=
+ 0;
}
late final __objc_msgSend_10Ptr = _lookup<
ffi.NativeFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
+ ffi.Uint8 Function(
+ ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction<
- IMP Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
+ int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_11(
+ int _objc_msgSend_11(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
) {
return __objc_msgSend_11(
obj,
sel,
- aSelector,
);
}
late final __objc_msgSend_11Ptr = _lookup<
ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_12(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_12(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_12Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_13(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anInvocation,
- ) {
- return __objc_msgSend_13(
- obj,
- sel,
- anInvocation,
- );
- }
-
- late final __objc_msgSend_13Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_14(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_14(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_14Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_15(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> aSelector,
- ) {
- return __objc_msgSend_15(
- obj,
- sel,
- aSelector,
- );
- }
-
- late final __objc_msgSend_15Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_16(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_16(
- obj,
- sel,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_16Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_17(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_17(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_17Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 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>)>();
-
- bool _objc_msgSend_18(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_18(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_18Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_19(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCSel> sel1,
- ) {
- return __objc_msgSend_19(
- obj,
- sel,
- sel1,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_19Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_20(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_20(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_20Ptr = _lookup<
- ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
+ late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_21(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_21(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_21Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_22(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_22(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_22Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_23(
+ int _objc_msgSend_12(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
) {
- return __objc_msgSend_23(
+ return __objc_msgSend_12(
obj,
sel,
index,
);
}
- late final __objc_msgSend_23Ptr = _lookup<
+ late final __objc_msgSend_12Ptr = _lookup<
ffi.NativeFunction<
unichar Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
+ late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- instancetype _objc_msgSend_24(
+ instancetype _objc_msgSend_13(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> coder,
) {
- return __objc_msgSend_24(
+ return __objc_msgSend_13(
obj,
sel,
coder,
);
}
- late final __objc_msgSend_24Ptr = _lookup<
+ 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_24 = __objc_msgSend_24Ptr.asFunction<
+ late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_25(
+ ffi.Pointer<ObjCObject> _objc_msgSend_14(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<pkg_ffi.Char> cString,
int enc,
) {
- return __objc_msgSend_25(
+ return __objc_msgSend_14(
obj,
sel,
cString,
@@ -636,60 +421,60 @@
);
}
- late final __objc_msgSend_25Ptr = _lookup<
+ late final __objc_msgSend_14Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<pkg_ffi.Char>,
pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
+ late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<pkg_ffi.Char>, int)>();
- ffi.Pointer<pkg_ffi.Char> _objc_msgSend_26(
+ ffi.Pointer<pkg_ffi.Char> _objc_msgSend_15(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_26(
+ return __objc_msgSend_15(
obj,
sel,
);
}
- late final __objc_msgSend_26Ptr = _lookup<
+ late final __objc_msgSend_15Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
+ late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction<
ffi.Pointer<pkg_ffi.Char> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_27(
+ ffi.Pointer<ObjCObject> _objc_msgSend_16(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_27(
+ return __objc_msgSend_16(
obj,
sel,
);
}
- late final __objc_msgSend_27Ptr = _lookup<
+ late final __objc_msgSend_16Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
+ late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- void _objc_msgSend_28(
+ void _objc_msgSend_17(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
int size,
) {
- return __objc_msgSend_28(
+ return __objc_msgSend_17(
obj,
sel,
value,
@@ -697,39 +482,21 @@
);
}
- late final __objc_msgSend_28Ptr = _lookup<
+ late final __objc_msgSend_17Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
+ late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, int)>();
- ffi.Pointer<pkg_ffi.Char> _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.Pointer<pkg_ffi.Char> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
- ffi.Pointer<pkg_ffi.Char> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- instancetype _objc_msgSend_30(
+ instancetype _objc_msgSend_18(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Void> value,
ffi.Pointer<pkg_ffi.Char> type,
) {
- return __objc_msgSend_30(
+ return __objc_msgSend_18(
obj,
sel,
value,
@@ -737,736 +504,529 @@
);
}
- late final __objc_msgSend_30Ptr = _lookup<
+ late final __objc_msgSend_18Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<pkg_ffi.Char>)>>('objc_msgSend');
- late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction<
+ late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Void>, ffi.Pointer<pkg_ffi.Char>)>();
- instancetype _objc_msgSend_31(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> coder,
- ) {
- return __objc_msgSend_31(
- obj,
- sel,
- coder,
- );
- }
-
- late final __objc_msgSend_31Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- instancetype _objc_msgSend_32(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> coder,
- ) {
- return __objc_msgSend_32(
- obj,
- sel,
- coder,
- );
- }
-
- late final __objc_msgSend_32Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_33(
+ ffi.Pointer<ObjCObject> _objc_msgSend_19(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_33(
+ return __objc_msgSend_19(
obj,
sel,
value,
);
}
- late final __objc_msgSend_33Ptr = _lookup<
+ late final __objc_msgSend_19Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Char)>>('objc_msgSend');
- late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction<
+ late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_34(
+ ffi.Pointer<ObjCObject> _objc_msgSend_20(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_34(
+ return __objc_msgSend_20(
obj,
sel,
value,
);
}
- late final __objc_msgSend_34Ptr = _lookup<
+ late final __objc_msgSend_20Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedChar)>>('objc_msgSend');
- late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction<
+ late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_35(
+ ffi.Pointer<ObjCObject> _objc_msgSend_21(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_35(
+ return __objc_msgSend_21(
obj,
sel,
value,
);
}
- late final __objc_msgSend_35Ptr = _lookup<
+ late final __objc_msgSend_21Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Short)>>('objc_msgSend');
- late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction<
+ late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_36(
+ ffi.Pointer<ObjCObject> _objc_msgSend_22(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_36(
+ return __objc_msgSend_22(
obj,
sel,
value,
);
}
- late final __objc_msgSend_36Ptr = _lookup<
+ late final __objc_msgSend_22Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedShort)>>('objc_msgSend');
- late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction<
+ late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_37(
+ ffi.Pointer<ObjCObject> _objc_msgSend_23(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_37(
+ return __objc_msgSend_23(
obj,
sel,
value,
);
}
- late final __objc_msgSend_37Ptr = _lookup<
+ late final __objc_msgSend_23Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Int)>>('objc_msgSend');
- late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction<
+ late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_38(
+ ffi.Pointer<ObjCObject> _objc_msgSend_24(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_38(
+ return __objc_msgSend_24(
obj,
sel,
value,
);
}
- late final __objc_msgSend_38Ptr = _lookup<
+ late final __objc_msgSend_24Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedInt)>>('objc_msgSend');
- late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction<
+ late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_39(
+ ffi.Pointer<ObjCObject> _objc_msgSend_25(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_39(
+ return __objc_msgSend_25(
obj,
sel,
value,
);
}
- late final __objc_msgSend_39Ptr = _lookup<
+ late final __objc_msgSend_25Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.Long)>>('objc_msgSend');
- late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction<
+ late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_40(
+ ffi.Pointer<ObjCObject> _objc_msgSend_26(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_40(
+ return __objc_msgSend_26(
obj,
sel,
value,
);
}
- late final __objc_msgSend_40Ptr = _lookup<
+ late final __objc_msgSend_26Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLong)>>('objc_msgSend');
- late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction<
+ late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_41(
+ ffi.Pointer<ObjCObject> _objc_msgSend_27(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_41(
+ return __objc_msgSend_27(
obj,
sel,
value,
);
}
- late final __objc_msgSend_41Ptr = _lookup<
+ late final __objc_msgSend_27Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.LongLong)>>('objc_msgSend');
- late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction<
+ late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_42(
+ ffi.Pointer<ObjCObject> _objc_msgSend_28(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_42(
+ return __objc_msgSend_28(
obj,
sel,
value,
);
}
- late final __objc_msgSend_42Ptr = _lookup<
+ late final __objc_msgSend_28Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, pkg_ffi.UnsignedLongLong)>>('objc_msgSend');
- late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction<
+ late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_43(
+ ffi.Pointer<ObjCObject> _objc_msgSend_29(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double value,
) {
- return __objc_msgSend_43(
+ return __objc_msgSend_29(
obj,
sel,
value,
);
}
- late final __objc_msgSend_43Ptr = _lookup<
+ late final __objc_msgSend_29Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Float)>>('objc_msgSend');
- late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction<
+ late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_44(
+ ffi.Pointer<ObjCObject> _objc_msgSend_30(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
double value,
) {
- return __objc_msgSend_44(
+ return __objc_msgSend_30(
obj,
sel,
value,
);
}
- late final __objc_msgSend_44Ptr = _lookup<
+ late final __objc_msgSend_30Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Double)>>('objc_msgSend');
- late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction<
+ late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, double)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_45(
+ ffi.Pointer<ObjCObject> _objc_msgSend_31(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
bool value,
) {
- return __objc_msgSend_45(
+ return __objc_msgSend_31(
obj,
sel,
value ? 1 : 0,
);
}
- late final __objc_msgSend_45Ptr = _lookup<
+ late final __objc_msgSend_31Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Uint8)>>('objc_msgSend');
- late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction<
+ late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_46(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- int value,
- ) {
- return __objc_msgSend_46(
- obj,
- sel,
- value,
- );
- }
-
- late final __objc_msgSend_46Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, NSInteger)>>('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> _objc_msgSend_47(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- int value,
- ) {
- return __objc_msgSend_47(
- obj,
- sel,
- value,
- );
- }
-
- late final __objc_msgSend_47Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
-
- int _objc_msgSend_48(
+ int _objc_msgSend_32(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_48(
+ return __objc_msgSend_32(
obj,
sel,
);
}
- late final __objc_msgSend_48Ptr = _lookup<
+ late final __objc_msgSend_32Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Char Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction<
+ late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_49(
+ int _objc_msgSend_33(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_49(
+ return __objc_msgSend_33(
obj,
sel,
);
}
- late final __objc_msgSend_49Ptr = _lookup<
+ late final __objc_msgSend_33Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedChar Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction<
+ late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_50(
+ int _objc_msgSend_34(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_50(
+ return __objc_msgSend_34(
obj,
sel,
);
}
- late final __objc_msgSend_50Ptr = _lookup<
+ late final __objc_msgSend_34Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Short Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction<
+ late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_51(
+ int _objc_msgSend_35(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_51(
+ return __objc_msgSend_35(
obj,
sel,
);
}
- late final __objc_msgSend_51Ptr = _lookup<
+ late final __objc_msgSend_35Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedShort Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction<
+ late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_52(
+ int _objc_msgSend_36(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_52(
+ return __objc_msgSend_36(
obj,
sel,
);
}
- late final __objc_msgSend_52Ptr = _lookup<
+ late final __objc_msgSend_36Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Int Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction<
+ late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_53(
+ int _objc_msgSend_37(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_53(
+ return __objc_msgSend_37(
obj,
sel,
);
}
- late final __objc_msgSend_53Ptr = _lookup<
+ late final __objc_msgSend_37Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedInt Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction<
+ late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_54(
+ int _objc_msgSend_38(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_54(
+ return __objc_msgSend_38(
obj,
sel,
);
}
- late final __objc_msgSend_54Ptr = _lookup<
+ late final __objc_msgSend_38Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.Long Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction<
+ late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_55(
+ int _objc_msgSend_39(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_55(
+ return __objc_msgSend_39(
obj,
sel,
);
}
- late final __objc_msgSend_55Ptr = _lookup<
- ffi.NativeFunction<
- pkg_ffi.UnsignedLong Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_56(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_56(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_56Ptr = _lookup<
+ late final __objc_msgSend_39Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.LongLong Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction<
+ late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_57(
+ int _objc_msgSend_40(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_57(
+ return __objc_msgSend_40(
obj,
sel,
);
}
- late final __objc_msgSend_57Ptr = _lookup<
+ late final __objc_msgSend_40Ptr = _lookup<
ffi.NativeFunction<
pkg_ffi.UnsignedLongLong Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction<
+ late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- double _objc_msgSend_58(
+ double _objc_msgSend_41(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_58(
+ return __objc_msgSend_41(
obj,
sel,
);
}
- late final __objc_msgSend_58Ptr = _lookup<
+ late final __objc_msgSend_41Ptr = _lookup<
ffi.NativeFunction<
ffi.Float Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction<
+ late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction<
double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- double _objc_msgSend_59(
+ double _objc_msgSend_42(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_59(
+ return __objc_msgSend_42(
obj,
sel,
);
}
- late final __objc_msgSend_59Ptr = _lookup<
+ late final __objc_msgSend_42Ptr = _lookup<
ffi.NativeFunction<
ffi.Double Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction<
+ late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction<
double Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- int _objc_msgSend_60(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_60(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_60Ptr = _lookup<
- ffi.NativeFunction<
- NSInteger Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_61(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_61(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_61Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_62(
+ int _objc_msgSend_43(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> otherNumber,
) {
- return __objc_msgSend_62(
+ return __objc_msgSend_43(
obj,
sel,
otherNumber,
);
}
- late final __objc_msgSend_62Ptr = _lookup<
+ late final __objc_msgSend_43Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction<
+ late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- bool _objc_msgSend_63(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> number,
- ) {
- return __objc_msgSend_63(
- obj,
- sel,
- number,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_63Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_64(
+ ffi.Pointer<ObjCObject> _objc_msgSend_44(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> locale,
) {
- return __objc_msgSend_64(
+ return __objc_msgSend_44(
obj,
sel,
locale,
);
}
- late final __objc_msgSend_64Ptr = _lookup<
+ late final __objc_msgSend_44Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction<
+ late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_65(
+ int _objc_msgSend_45(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
) {
- return __objc_msgSend_65(
+ return __objc_msgSend_45(
obj,
sel,
);
}
- late final __objc_msgSend_65Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_66(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_66(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_66Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- int _objc_msgSend_67(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_67(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_67Ptr = _lookup<
+ late final __objc_msgSend_45Ptr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction<
+ late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
- 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>)>();
-
- instancetype _objc_msgSend_69(
+ instancetype _objc_msgSend_46(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
int type,
int index,
) {
- return __objc_msgSend_69(
+ return __objc_msgSend_46(
obj,
sel,
anObject,
@@ -1475,15 +1035,15 @@
);
}
- late final __objc_msgSend_69Ptr = _lookup<
+ late final __objc_msgSend_46Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32, NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction<
+ late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, int)>();
- instancetype _objc_msgSend_70(
+ instancetype _objc_msgSend_47(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
@@ -1491,7 +1051,7 @@
int index,
int associatedIndex,
) {
- return __objc_msgSend_70(
+ return __objc_msgSend_47(
obj,
sel,
anObject,
@@ -1501,7 +1061,7 @@
);
}
- late final __objc_msgSend_70Ptr = _lookup<
+ late final __objc_msgSend_47Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
@@ -1510,118 +1070,77 @@
ffi.Int32,
NSUInteger,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction<
+ late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, int, int)>();
- instancetype _objc_msgSend_71(
+ instancetype _objc_msgSend_48(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_71(
+ return __objc_msgSend_48(
obj,
sel,
value,
);
}
- late final __objc_msgSend_71Ptr = _lookup<
+ late final __objc_msgSend_48Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction<
+ late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- instancetype _objc_msgSend_72(
+ instancetype _objc_msgSend_49(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
- return __objc_msgSend_72(
+ return __objc_msgSend_49(
obj,
sel,
range,
);
}
- late final __objc_msgSend_72Ptr = _lookup<
+ late final __objc_msgSend_49Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
- late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction<
+ late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
- instancetype _objc_msgSend_73(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> indexSet,
- ) {
- return __objc_msgSend_73(
- obj,
- sel,
- indexSet,
- );
- }
-
- late final __objc_msgSend_73Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- bool _objc_msgSend_74(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> indexSet,
- ) {
- return __objc_msgSend_74(
- obj,
- sel,
- indexSet,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_74Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- int _objc_msgSend_75(
+ int _objc_msgSend_50(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_75(
+ return __objc_msgSend_50(
obj,
sel,
value,
);
}
- late final __objc_msgSend_75Ptr = _lookup<
+ late final __objc_msgSend_50Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction<
+ late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- int _objc_msgSend_76(
+ int _objc_msgSend_51(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<NSUInteger> indexBuffer,
int bufferSize,
NSRangePointer range,
) {
- return __objc_msgSend_76(
+ return __objc_msgSend_51(
obj,
sel,
indexBuffer,
@@ -1630,7 +1149,7 @@
);
}
- late final __objc_msgSend_76Ptr = _lookup<
+ late final __objc_msgSend_51Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(
ffi.Pointer<ObjCObject>,
@@ -1638,35 +1157,35 @@
ffi.Pointer<NSUInteger>,
NSUInteger,
NSRangePointer)>>('objc_msgSend');
- late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction<
+ late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<NSUInteger>, int, NSRangePointer)>();
- int _objc_msgSend_77(
+ int _objc_msgSend_52(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
- return __objc_msgSend_77(
+ return __objc_msgSend_52(
obj,
sel,
range,
);
}
- late final __objc_msgSend_77Ptr = _lookup<
+ late final __objc_msgSend_52Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
- late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction<
+ late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
- bool _objc_msgSend_78(
+ bool _objc_msgSend_53(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_78(
+ return __objc_msgSend_53(
obj,
sel,
value,
@@ -1674,19 +1193,19 @@
0;
}
- late final __objc_msgSend_78Ptr = _lookup<
+ late final __objc_msgSend_53Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction<
+ late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- bool _objc_msgSend_79(
+ bool _objc_msgSend_54(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
- return __objc_msgSend_79(
+ return __objc_msgSend_54(
obj,
sel,
range,
@@ -1694,61 +1213,20 @@
0;
}
- late final __objc_msgSend_79Ptr = _lookup<
+ late final __objc_msgSend_54Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
- late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction<
+ late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
- bool _objc_msgSend_80(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> indexSet,
- ) {
- return __objc_msgSend_80(
- obj,
- sel,
- indexSet,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_80Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_81(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> block,
- ) {
- return __objc_msgSend_81(
- obj,
- sel,
- block,
- );
- }
-
- late final __objc_msgSend_81Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_82(
+ void _objc_msgSend_55(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<ObjCObject> block,
) {
- return __objc_msgSend_82(
+ return __objc_msgSend_55(
obj,
sel,
opts,
@@ -1756,22 +1234,22 @@
);
}
- late final __objc_msgSend_82Ptr = _lookup<
+ late final __objc_msgSend_55Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction<
+ late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<ObjCObject>)>();
- void _objc_msgSend_83(
+ void _objc_msgSend_56(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<ObjCObject> block,
) {
- return __objc_msgSend_83(
+ return __objc_msgSend_56(
obj,
sel,
range,
@@ -1780,41 +1258,41 @@
);
}
- late final __objc_msgSend_83Ptr = _lookup<
+ late final __objc_msgSend_56Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction<
+ late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<ObjCObject>)>();
- int _objc_msgSend_84(
+ int _objc_msgSend_57(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_84(
+ return __objc_msgSend_57(
obj,
sel,
predicate,
);
}
- late final __objc_msgSend_84Ptr = _lookup<
+ late final __objc_msgSend_57Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction<
+ late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>)>();
- int _objc_msgSend_85(
+ int _objc_msgSend_58(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_85(
+ return __objc_msgSend_58(
obj,
sel,
opts,
@@ -1822,22 +1300,22 @@
);
}
- late final __objc_msgSend_85Ptr = _lookup<
+ late final __objc_msgSend_58Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction<
+ late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<ObjCObject>)>();
- int _objc_msgSend_86(
+ int _objc_msgSend_59(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_86(
+ return __objc_msgSend_59(
obj,
sel,
range,
@@ -1846,41 +1324,41 @@
);
}
- late final __objc_msgSend_86Ptr = _lookup<
+ late final __objc_msgSend_59Ptr = _lookup<
ffi.NativeFunction<
NSUInteger Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction<
+ late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_87(
+ ffi.Pointer<ObjCObject> _objc_msgSend_60(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_87(
+ return __objc_msgSend_60(
obj,
sel,
predicate,
);
}
- late final __objc_msgSend_87Ptr = _lookup<
+ late final __objc_msgSend_60Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction<
+ late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_88(
+ ffi.Pointer<ObjCObject> _objc_msgSend_61(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int opts,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_88(
+ return __objc_msgSend_61(
obj,
sel,
opts,
@@ -1888,25 +1366,25 @@
);
}
- late final __objc_msgSend_88Ptr = _lookup<
+ late final __objc_msgSend_61Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Int32,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction<
+ late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, int, ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_89(
+ ffi.Pointer<ObjCObject> _objc_msgSend_62(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
int opts,
ffi.Pointer<ObjCObject> predicate,
) {
- return __objc_msgSend_89(
+ return __objc_msgSend_62(
obj,
sel,
range,
@@ -1915,7 +1393,7 @@
);
}
- late final __objc_msgSend_89Ptr = _lookup<
+ late final __objc_msgSend_62Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
@@ -1923,161 +1401,55 @@
NSRange,
ffi.Int32,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction<
+ late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>, NSRange, int, ffi.Pointer<ObjCObject>)>();
- void _objc_msgSend_90(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> block,
- ) {
- return __objc_msgSend_90(
- obj,
- sel,
- block,
- );
- }
-
- late final __objc_msgSend_90Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_91(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- int opts,
- ffi.Pointer<ObjCObject> block,
- ) {
- return __objc_msgSend_91(
- obj,
- sel,
- opts,
- block,
- );
- }
-
- late final __objc_msgSend_91Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_92(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- NSRange range,
- int opts,
- ffi.Pointer<ObjCObject> block,
- ) {
- return __objc_msgSend_92(
- obj,
- sel,
- range,
- opts,
- block,
- );
- }
-
- late final __objc_msgSend_92Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- NSRange, ffi.Int32, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange, int,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_93(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> indexSet,
- ) {
- return __objc_msgSend_93(
- obj,
- sel,
- indexSet,
- );
- }
-
- late final __objc_msgSend_93Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_94(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> indexSet,
- ) {
- return __objc_msgSend_94(
- obj,
- sel,
- indexSet,
- );
- }
-
- late final __objc_msgSend_94Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_95(
+ void _objc_msgSend_63(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int value,
) {
- return __objc_msgSend_95(
+ return __objc_msgSend_63(
obj,
sel,
value,
);
}
- late final __objc_msgSend_95Ptr = _lookup<
+ late final __objc_msgSend_63Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction<
+ late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
- void _objc_msgSend_96(
+ void _objc_msgSend_64(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
) {
- return __objc_msgSend_96(
+ return __objc_msgSend_64(
obj,
sel,
range,
);
}
- late final __objc_msgSend_96Ptr = _lookup<
+ late final __objc_msgSend_64Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange)>>('objc_msgSend');
- late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction<
+ late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange)>();
- void _objc_msgSend_97(
+ void _objc_msgSend_65(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
int delta,
) {
- return __objc_msgSend_97(
+ return __objc_msgSend_65(
obj,
sel,
index,
@@ -2085,34 +1457,14 @@
);
}
- late final __objc_msgSend_97Ptr = _lookup<
+ late final __objc_msgSend_65Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger, NSInteger)>>('objc_msgSend');
- late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction<
+ late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int, int)>();
- instancetype _objc_msgSend_98(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> changes,
- ) {
- return __objc_msgSend_98(
- obj,
- sel,
- changes,
- );
- }
-
- late final __objc_msgSend_98Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- instancetype _objc_msgSend_99(
+ instancetype _objc_msgSend_66(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> inserts,
@@ -2121,7 +1473,7 @@
ffi.Pointer<ObjCObject> removedObjects,
ffi.Pointer<ObjCObject> changes,
) {
- return __objc_msgSend_99(
+ return __objc_msgSend_66(
obj,
sel,
inserts,
@@ -2132,7 +1484,7 @@
);
}
- late final __objc_msgSend_99Ptr = _lookup<
+ late final __objc_msgSend_66Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
@@ -2142,7 +1494,7 @@
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction<
+ late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
@@ -2152,7 +1504,7 @@
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>();
- instancetype _objc_msgSend_100(
+ instancetype _objc_msgSend_67(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> inserts,
@@ -2160,7 +1512,7 @@
ffi.Pointer<ObjCObject> removes,
ffi.Pointer<ObjCObject> removedObjects,
) {
- return __objc_msgSend_100(
+ return __objc_msgSend_67(
obj,
sel,
inserts,
@@ -2170,7 +1522,7 @@
);
}
- late final __objc_msgSend_100Ptr = _lookup<
+ late final __objc_msgSend_67Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
@@ -2179,7 +1531,7 @@
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction<
+ late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
@@ -2188,69 +1540,13 @@
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _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<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _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<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_103(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- int index,
- ) {
- return __objc_msgSend_103(
- obj,
- sel,
- index,
- );
- }
-
- late final __objc_msgSend_103Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>, NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int)>();
-
- instancetype _objc_msgSend_104(
+ instancetype _objc_msgSend_68(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ffi.Pointer<ObjCObject>> objects,
int cnt,
) {
- return __objc_msgSend_104(
+ return __objc_msgSend_68(
obj,
sel,
objects,
@@ -2258,64 +1554,24 @@
);
}
- late final __objc_msgSend_104Ptr = _lookup<
+ late final __objc_msgSend_68Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>,
NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction<
+ late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ffi.Pointer<ObjCObject>>, int)>();
- instancetype _objc_msgSend_105(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> coder,
- ) {
- return __objc_msgSend_105(
- obj,
- sel,
- coder,
- );
- }
-
- late final __objc_msgSend_105Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_106(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> anObject,
- ) {
- return __objc_msgSend_106(
- obj,
- sel,
- anObject,
- );
- }
-
- late final __objc_msgSend_106Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_107(
+ void _objc_msgSend_69(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> anObject,
int index,
) {
- return __objc_msgSend_107(
+ return __objc_msgSend_69(
obj,
sel,
anObject,
@@ -2323,21 +1579,21 @@
);
}
- late final __objc_msgSend_107Ptr = _lookup<
+ late final __objc_msgSend_69Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSUInteger)>>('objc_msgSend');
- late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction<
+ late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
- void _objc_msgSend_108(
+ void _objc_msgSend_70(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
int index,
ffi.Pointer<ObjCObject> anObject,
) {
- return __objc_msgSend_108(
+ return __objc_msgSend_70(
obj,
sel,
index,
@@ -2345,42 +1601,22 @@
);
}
- late final __objc_msgSend_108Ptr = _lookup<
+ late final __objc_msgSend_70Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSUInteger, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction<
+ late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, int,
ffi.Pointer<ObjCObject>)>();
- instancetype _objc_msgSend_109(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> coder,
- ) {
- return __objc_msgSend_109(
- obj,
- sel,
- coder,
- );
- }
-
- late final __objc_msgSend_109Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_110(
+ void _objc_msgSend_71(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
int visibility,
ffi.Pointer<ObjCObject> loadHandler,
) {
- return __objc_msgSend_110(
+ return __objc_msgSend_71(
obj,
sel,
typeIdentifier,
@@ -2389,7 +1625,7 @@
);
}
- late final __objc_msgSend_110Ptr = _lookup<
+ late final __objc_msgSend_71Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
@@ -2397,11 +1633,11 @@
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction<
+ late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, ffi.Pointer<ObjCObject>)>();
- void _objc_msgSend_111(
+ void _objc_msgSend_72(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
@@ -2409,7 +1645,7 @@
int visibility,
ffi.Pointer<ObjCObject> loadHandler,
) {
- return __objc_msgSend_111(
+ return __objc_msgSend_72(
obj,
sel,
typeIdentifier,
@@ -2419,7 +1655,7 @@
);
}
- late final __objc_msgSend_111Ptr = _lookup<
+ late final __objc_msgSend_72Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
@@ -2428,56 +1664,17 @@
ffi.Int32,
ffi.Int32,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction<
+ late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int, int, ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_112(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_112(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_112Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- bool _objc_msgSend_113(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> typeIdentifier,
- ) {
- return __objc_msgSend_113(
- obj,
- sel,
- typeIdentifier,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_113Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- bool _objc_msgSend_114(
+ bool _objc_msgSend_73(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
int fileOptions,
) {
- return __objc_msgSend_114(
+ return __objc_msgSend_73(
obj,
sel,
typeIdentifier,
@@ -2486,21 +1683,21 @@
0;
}
- late final __objc_msgSend_114Ptr = _lookup<
+ late final __objc_msgSend_73Ptr = _lookup<
ffi.NativeFunction<
ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction<
+ late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction<
int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_115(
+ ffi.Pointer<ObjCObject> _objc_msgSend_74(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
ffi.Pointer<ObjCObject> completionHandler,
) {
- return __objc_msgSend_115(
+ return __objc_msgSend_74(
obj,
sel,
typeIdentifier,
@@ -2508,141 +1705,27 @@
);
}
- late final __objc_msgSend_115Ptr = _lookup<
+ late final __objc_msgSend_74Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction<
+ late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>();
- ffi.Pointer<ObjCObject> _objc_msgSend_116(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> typeIdentifier,
- ffi.Pointer<ObjCObject> completionHandler,
- ) {
- return __objc_msgSend_116(
- obj,
- sel,
- typeIdentifier,
- completionHandler,
- );
- }
-
- late final __objc_msgSend_116Ptr = _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_116 = __objc_msgSend_116Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_117(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> typeIdentifier,
- ffi.Pointer<ObjCObject> completionHandler,
- ) {
- return __objc_msgSend_117(
- obj,
- sel,
- typeIdentifier,
- completionHandler,
- );
- }
-
- late final __objc_msgSend_117Ptr = _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_117 = __objc_msgSend_117Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_118(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ) {
- return __objc_msgSend_118(
- obj,
- sel,
- );
- }
-
- late final __objc_msgSend_118Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>>('objc_msgSend');
- late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>)>();
-
- void _objc_msgSend_119(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> value,
- ) {
- return __objc_msgSend_119(
- obj,
- sel,
- value,
- );
- }
-
- late final __objc_msgSend_119Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- instancetype _objc_msgSend_120(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> object,
- ) {
- return __objc_msgSend_120(
- obj,
- sel,
- object,
- );
- }
-
- late final __objc_msgSend_120Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_121(
+ void _objc_msgSend_75(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> object,
int visibility,
) {
- return __objc_msgSend_121(
+ return __objc_msgSend_75(
obj,
sel,
object,
@@ -2650,98 +1733,21 @@
);
}
- late final __objc_msgSend_121Ptr = _lookup<
+ late final __objc_msgSend_75Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Int32)>>('objc_msgSend');
- late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction<
+ late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, int)>();
- void _objc_msgSend_122(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- int visibility,
- ffi.Pointer<ObjCObject> loadHandler,
- ) {
- return __objc_msgSend_122(
- obj,
- sel,
- aClass,
- visibility,
- loadHandler,
- );
- }
-
- late final __objc_msgSend_122Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Void Function(
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>,
- ffi.Int32,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction<
- void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>, int, ffi.Pointer<ObjCObject>)>();
-
- bool _objc_msgSend_123(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ) {
- return __objc_msgSend_123(
- obj,
- sel,
- aClass,
- ) !=
- 0;
- }
-
- late final __objc_msgSend_123Ptr = _lookup<
- ffi.NativeFunction<
- ffi.Uint8 Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction<
- int Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- ffi.Pointer<ObjCObject> _objc_msgSend_124(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> aClass,
- ffi.Pointer<ObjCObject> completionHandler,
- ) {
- return __objc_msgSend_124(
- obj,
- sel,
- aClass,
- completionHandler,
- );
- }
-
- late final __objc_msgSend_124Ptr = _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_124 = __objc_msgSend_124Ptr.asFunction<
- ffi.Pointer<ObjCObject> Function(
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>,
- ffi.Pointer<ObjCObject>)>();
-
- instancetype _objc_msgSend_125(
+ instancetype _objc_msgSend_76(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> item,
ffi.Pointer<ObjCObject> typeIdentifier,
) {
- return __objc_msgSend_125(
+ return __objc_msgSend_76(
obj,
sel,
item,
@@ -2749,44 +1755,24 @@
);
}
- late final __objc_msgSend_125Ptr = _lookup<
+ late final __objc_msgSend_76Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction<
+ late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCObject>)>();
- instancetype _objc_msgSend_126(
- ffi.Pointer<ObjCObject> obj,
- ffi.Pointer<ObjCSel> sel,
- ffi.Pointer<ObjCObject> fileURL,
- ) {
- return __objc_msgSend_126(
- obj,
- sel,
- fileURL,
- );
- }
-
- late final __objc_msgSend_126Ptr = _lookup<
- ffi.NativeFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction<
- instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
- ffi.Pointer<ObjCObject>)>();
-
- void _objc_msgSend_127(
+ void _objc_msgSend_77(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
NSItemProviderLoadHandler loadHandler,
) {
- return __objc_msgSend_127(
+ return __objc_msgSend_77(
obj,
sel,
typeIdentifier,
@@ -2794,25 +1780,25 @@
);
}
- late final __objc_msgSend_127Ptr = _lookup<
+ late final __objc_msgSend_77Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
NSItemProviderLoadHandler)>>('objc_msgSend');
- late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction<
+ late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, NSItemProviderLoadHandler)>();
- void _objc_msgSend_128(
+ void _objc_msgSend_78(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> typeIdentifier,
ffi.Pointer<ObjCObject> options,
NSItemProviderCompletionHandler completionHandler,
) {
- return __objc_msgSend_128(
+ return __objc_msgSend_78(
obj,
sel,
typeIdentifier,
@@ -2821,7 +1807,7 @@
);
}
- late final __objc_msgSend_128Ptr = _lookup<
+ late final __objc_msgSend_78Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ObjCObject>,
@@ -2829,7 +1815,7 @@
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
NSItemProviderCompletionHandler)>>('objc_msgSend');
- late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction<
+ late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
@@ -3117,13 +2103,13 @@
NSStringEncodingDetectionOptionsKey value) =>
_NSStringEncodingDetectionLikelyLanguageKey.value = value;
- void _objc_msgSend_129(
+ void _objc_msgSend_79(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
NSRange range,
ffi.Pointer<ObjCObject> aString,
) {
- return __objc_msgSend_129(
+ return __objc_msgSend_79(
obj,
sel,
range,
@@ -3131,11 +2117,11 @@
);
}
- late final __objc_msgSend_129Ptr = _lookup<
+ late final __objc_msgSend_79Ptr = _lookup<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
NSRange, ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction<
+ late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction<
void Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>, NSRange,
ffi.Pointer<ObjCObject>)>();
@@ -3156,13 +2142,13 @@
set NSParseErrorException(NSExceptionName value) =>
_NSParseErrorException.value = value;
- ffi.Pointer<ObjCObject> _objc_msgSend_130(
+ ffi.Pointer<ObjCObject> _objc_msgSend_80(
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> a,
ffi.Pointer<ObjCObject> b,
) {
- return __objc_msgSend_130(
+ return __objc_msgSend_80(
obj,
sel,
a,
@@ -3170,14 +2156,14 @@
);
}
- late final __objc_msgSend_130Ptr = _lookup<
+ late final __objc_msgSend_80Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>)>>('objc_msgSend');
- late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction<
+ late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
@@ -3314,13 +2300,13 @@
static ffi.Pointer<ObjCSel>? _sel_getValue_size;
void getValue_size(ffi.Pointer<ffi.Void> value, int size) {
_sel_getValue_size ??= _registerName(_lib, "getValue:size:");
- _lib._objc_msgSend_28(_id, _sel_getValue_size!, value, size);
+ _lib._objc_msgSend_17(_id, _sel_getValue_size!, value, size);
}
static ffi.Pointer<ObjCSel>? _sel_objCType;
ffi.Pointer<pkg_ffi.Char> get objCType {
_sel_objCType ??= _registerName(_lib, "objCType");
- return _lib._objc_msgSend_29(_id, _sel_objCType!);
+ return _lib._objc_msgSend_15(_id, _sel_objCType!);
}
static ffi.Pointer<ObjCSel>? _sel_initWithBytes_objCType;
@@ -3329,14 +2315,14 @@
_sel_initWithBytes_objCType ??=
_registerName(_lib, "initWithBytes:objCType:");
final _ret =
- _lib._objc_msgSend_30(_id, _sel_initWithBytes_objCType!, value, type);
+ _lib._objc_msgSend_18(_id, _sel_initWithBytes_objCType!, value, type);
return NSValue._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithCoder;
NSValue initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_31(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSValue._(_ret, _lib);
}
@@ -3428,14 +2414,14 @@
static ffi.Pointer<ObjCSel>? _sel_copy;
NSObject copy() {
_sel_copy ??= _registerName(_lib, "copy");
- final _ret = _lib._objc_msgSend_3(_id, _sel_copy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_copy!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_mutableCopy;
NSObject mutableCopy() {
_sel_mutableCopy ??= _registerName(_lib, "mutableCopy");
- final _ret = _lib._objc_msgSend_4(_id, _sel_mutableCopy!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_mutableCopy!);
return NSObject._(_ret, _lib);
}
@@ -3444,7 +2430,7 @@
StringTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_copyWithZone ??= _registerName(_lib, "copyWithZone:");
- final _ret = _lib._objc_msgSend_5(_class!, _sel_copyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_copyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -3453,7 +2439,7 @@
StringTestObjCLibrary _lib, ffi.Pointer<_NSZone> zone) {
_class ??= _getClass(_lib, "NSObject");
_sel_mutableCopyWithZone ??= _registerName(_lib, "mutableCopyWithZone:");
- final _ret = _lib._objc_msgSend_6(_class!, _sel_mutableCopyWithZone!, zone);
+ final _ret = _lib._objc_msgSend_2(_class!, _sel_mutableCopyWithZone!, zone);
return NSObject._(_ret, _lib);
}
@@ -3463,7 +2449,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instancesRespondToSelector ??=
_registerName(_lib, "instancesRespondToSelector:");
- return _lib._objc_msgSend_7(
+ return _lib._objc_msgSend_3(
_class!, _sel_instancesRespondToSelector!, aSelector);
}
@@ -3472,14 +2458,14 @@
StringTestObjCLibrary _lib, NSObject protocol) {
_class ??= _getClass(_lib, "NSObject");
_sel_conformsToProtocol ??= _registerName(_lib, "conformsToProtocol:");
- return _lib._objc_msgSend_8(
+ return _lib._objc_msgSend_4(
_class!, _sel_conformsToProtocol!, protocol._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodForSelector;
IMP methodForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_methodForSelector ??= _registerName(_lib, "methodForSelector:");
- return _lib._objc_msgSend_9(_id, _sel_methodForSelector!, aSelector);
+ return _lib._objc_msgSend_5(_id, _sel_methodForSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_instanceMethodForSelector;
@@ -3488,7 +2474,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodForSelector ??=
_registerName(_lib, "instanceMethodForSelector:");
- return _lib._objc_msgSend_10(
+ return _lib._objc_msgSend_5(
_class!, _sel_instanceMethodForSelector!, aSelector);
}
@@ -3496,22 +2482,22 @@
void doesNotRecognizeSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_doesNotRecognizeSelector ??=
_registerName(_lib, "doesNotRecognizeSelector:");
- _lib._objc_msgSend_11(_id, _sel_doesNotRecognizeSelector!, aSelector);
+ _lib._objc_msgSend_6(_id, _sel_doesNotRecognizeSelector!, aSelector);
}
static ffi.Pointer<ObjCSel>? _sel_forwardingTargetForSelector;
NSObject forwardingTargetForSelector(ffi.Pointer<ObjCSel> aSelector) {
_sel_forwardingTargetForSelector ??=
_registerName(_lib, "forwardingTargetForSelector:");
- final _ret = _lib._objc_msgSend_12(
- _id, _sel_forwardingTargetForSelector!, aSelector);
+ final _ret =
+ _lib._objc_msgSend_7(_id, _sel_forwardingTargetForSelector!, aSelector);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_forwardInvocation;
void forwardInvocation(NSObject anInvocation) {
_sel_forwardInvocation ??= _registerName(_lib, "forwardInvocation:");
- _lib._objc_msgSend_13(_id, _sel_forwardInvocation!, anInvocation._id);
+ _lib._objc_msgSend_8(_id, _sel_forwardInvocation!, anInvocation._id);
}
static ffi.Pointer<ObjCSel>? _sel_methodSignatureForSelector;
@@ -3519,7 +2505,7 @@
_sel_methodSignatureForSelector ??=
_registerName(_lib, "methodSignatureForSelector:");
final _ret =
- _lib._objc_msgSend_14(_id, _sel_methodSignatureForSelector!, aSelector);
+ _lib._objc_msgSend_9(_id, _sel_methodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -3529,7 +2515,7 @@
_class ??= _getClass(_lib, "NSObject");
_sel_instanceMethodSignatureForSelector ??=
_registerName(_lib, "instanceMethodSignatureForSelector:");
- final _ret = _lib._objc_msgSend_15(
+ final _ret = _lib._objc_msgSend_9(
_class!, _sel_instanceMethodSignatureForSelector!, aSelector);
return NSMethodSignature._(_ret, _lib);
}
@@ -3537,20 +2523,20 @@
static ffi.Pointer<ObjCSel>? _sel_allowsWeakReference;
bool allowsWeakReference() {
_sel_allowsWeakReference ??= _registerName(_lib, "allowsWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_allowsWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_allowsWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_retainWeakReference;
bool retainWeakReference() {
_sel_retainWeakReference ??= _registerName(_lib, "retainWeakReference");
- return _lib._objc_msgSend_16(_id, _sel_retainWeakReference!);
+ return _lib._objc_msgSend_10(_id, _sel_retainWeakReference!);
}
static ffi.Pointer<ObjCSel>? _sel_isSubclassOfClass;
static bool isSubclassOfClass(StringTestObjCLibrary _lib, NSObject aClass) {
_class ??= _getClass(_lib, "NSObject");
_sel_isSubclassOfClass ??= _registerName(_lib, "isSubclassOfClass:");
- return _lib._objc_msgSend_17(_class!, _sel_isSubclassOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_class!, _sel_isSubclassOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_resolveClassMethod;
@@ -3558,7 +2544,7 @@
StringTestObjCLibrary _lib, ffi.Pointer<ObjCSel> sel) {
_class ??= _getClass(_lib, "NSObject");
_sel_resolveClassMethod ??= _registerName(_lib, "resolveClassMethod:");
- return _lib._objc_msgSend_18(_class!, _sel_resolveClassMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveClassMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_resolveInstanceMethod;
@@ -3567,21 +2553,21 @@
_class ??= _getClass(_lib, "NSObject");
_sel_resolveInstanceMethod ??=
_registerName(_lib, "resolveInstanceMethod:");
- return _lib._objc_msgSend_19(_class!, _sel_resolveInstanceMethod!, sel);
+ return _lib._objc_msgSend_3(_class!, _sel_resolveInstanceMethod!, sel);
}
static ffi.Pointer<ObjCSel>? _sel_hash;
static int hash(StringTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_hash ??= _registerName(_lib, "hash");
- return _lib._objc_msgSend_20(_class!, _sel_hash!);
+ return _lib._objc_msgSend_11(_class!, _sel_hash!);
}
static ffi.Pointer<ObjCSel>? _sel_superclass;
static NSObject superclass(StringTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_superclass ??= _registerName(_lib, "superclass");
- final _ret = _lib._objc_msgSend_21(_class!, _sel_superclass!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_superclass!);
return NSObject._(_ret, _lib);
}
@@ -3589,7 +2575,7 @@
static NSObject class1(StringTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_class1 ??= _registerName(_lib, "class");
- final _ret = _lib._objc_msgSend_22(_class!, _sel_class1!);
+ final _ret = _lib._objc_msgSend_1(_class!, _sel_class1!);
return NSObject._(_ret, _lib);
}
@@ -3597,7 +2583,7 @@
static NSString description(StringTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_description ??= _registerName(_lib, "description");
- final _ret = _lib._objc_msgSend_27(_class!, _sel_description!);
+ final _ret = _lib._objc_msgSend_16(_class!, _sel_description!);
return NSString._(_ret, _lib);
}
@@ -3605,7 +2591,7 @@
static NSString debugDescription(StringTestObjCLibrary _lib) {
_class ??= _getClass(_lib, "NSObject");
_sel_debugDescription ??= _registerName(_lib, "debugDescription");
- final _ret = _lib._objc_msgSend_27(_class!, _sel_debugDescription!);
+ final _ret = _lib._objc_msgSend_16(_class!, _sel_debugDescription!);
return NSString._(_ret, _lib);
}
}
@@ -3656,13 +2642,13 @@
static ffi.Pointer<ObjCSel>? _sel_length;
int get length {
_sel_length ??= _registerName(_lib, "length");
- return _lib._objc_msgSend_20(_id, _sel_length!);
+ return _lib._objc_msgSend_11(_id, _sel_length!);
}
static ffi.Pointer<ObjCSel>? _sel_characterAtIndex;
int characterAtIndex(int index) {
_sel_characterAtIndex ??= _registerName(_lib, "characterAtIndex:");
- return _lib._objc_msgSend_23(_id, _sel_characterAtIndex!, index);
+ return _lib._objc_msgSend_12(_id, _sel_characterAtIndex!, index);
}
static ffi.Pointer<ObjCSel>? _sel_init;
@@ -3676,7 +2662,7 @@
static ffi.Pointer<ObjCSel>? _sel_initWithCoder;
NSString initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_24(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSString._(_ret, _lib);
}
@@ -3686,7 +2672,7 @@
_class ??= _getClass(_lib, "NSString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_25(
+ final _ret = _lib._objc_msgSend_14(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -3694,7 +2680,7 @@
static ffi.Pointer<ObjCSel>? _sel_UTF8String;
ffi.Pointer<pkg_ffi.Char> UTF8String() {
_sel_UTF8String ??= _registerName(_lib, "UTF8String");
- return _lib._objc_msgSend_26(_id, _sel_UTF8String!);
+ return _lib._objc_msgSend_15(_id, _sel_UTF8String!);
}
static ffi.Pointer<ObjCSel>? _sel_new1;
@@ -3734,28 +2720,28 @@
@override
NSNumber initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_32(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithChar;
NSNumber initWithChar(int value) {
_sel_initWithChar ??= _registerName(_lib, "initWithChar:");
- final _ret = _lib._objc_msgSend_33(_id, _sel_initWithChar!, value);
+ final _ret = _lib._objc_msgSend_19(_id, _sel_initWithChar!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithUnsignedChar;
NSNumber initWithUnsignedChar(int value) {
_sel_initWithUnsignedChar ??= _registerName(_lib, "initWithUnsignedChar:");
- final _ret = _lib._objc_msgSend_34(_id, _sel_initWithUnsignedChar!, value);
+ final _ret = _lib._objc_msgSend_20(_id, _sel_initWithUnsignedChar!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithShort;
NSNumber initWithShort(int value) {
_sel_initWithShort ??= _registerName(_lib, "initWithShort:");
- final _ret = _lib._objc_msgSend_35(_id, _sel_initWithShort!, value);
+ final _ret = _lib._objc_msgSend_21(_id, _sel_initWithShort!, value);
return NSNumber._(_ret, _lib);
}
@@ -3763,42 +2749,42 @@
NSNumber initWithUnsignedShort(int value) {
_sel_initWithUnsignedShort ??=
_registerName(_lib, "initWithUnsignedShort:");
- final _ret = _lib._objc_msgSend_36(_id, _sel_initWithUnsignedShort!, value);
+ final _ret = _lib._objc_msgSend_22(_id, _sel_initWithUnsignedShort!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithInt;
NSNumber initWithInt(int value) {
_sel_initWithInt ??= _registerName(_lib, "initWithInt:");
- final _ret = _lib._objc_msgSend_37(_id, _sel_initWithInt!, value);
+ final _ret = _lib._objc_msgSend_23(_id, _sel_initWithInt!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithUnsignedInt;
NSNumber initWithUnsignedInt(int value) {
_sel_initWithUnsignedInt ??= _registerName(_lib, "initWithUnsignedInt:");
- final _ret = _lib._objc_msgSend_38(_id, _sel_initWithUnsignedInt!, value);
+ final _ret = _lib._objc_msgSend_24(_id, _sel_initWithUnsignedInt!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithLong;
NSNumber initWithLong(int value) {
_sel_initWithLong ??= _registerName(_lib, "initWithLong:");
- final _ret = _lib._objc_msgSend_39(_id, _sel_initWithLong!, value);
+ final _ret = _lib._objc_msgSend_25(_id, _sel_initWithLong!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithUnsignedLong;
NSNumber initWithUnsignedLong(int value) {
_sel_initWithUnsignedLong ??= _registerName(_lib, "initWithUnsignedLong:");
- final _ret = _lib._objc_msgSend_40(_id, _sel_initWithUnsignedLong!, value);
+ final _ret = _lib._objc_msgSend_26(_id, _sel_initWithUnsignedLong!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithLongLong;
NSNumber initWithLongLong(int value) {
_sel_initWithLongLong ??= _registerName(_lib, "initWithLongLong:");
- final _ret = _lib._objc_msgSend_41(_id, _sel_initWithLongLong!, value);
+ final _ret = _lib._objc_msgSend_27(_id, _sel_initWithLongLong!, value);
return NSNumber._(_ret, _lib);
}
@@ -3807,35 +2793,35 @@
_sel_initWithUnsignedLongLong ??=
_registerName(_lib, "initWithUnsignedLongLong:");
final _ret =
- _lib._objc_msgSend_42(_id, _sel_initWithUnsignedLongLong!, value);
+ _lib._objc_msgSend_28(_id, _sel_initWithUnsignedLongLong!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithFloat;
NSNumber initWithFloat(double value) {
_sel_initWithFloat ??= _registerName(_lib, "initWithFloat:");
- final _ret = _lib._objc_msgSend_43(_id, _sel_initWithFloat!, value);
+ final _ret = _lib._objc_msgSend_29(_id, _sel_initWithFloat!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithDouble;
NSNumber initWithDouble(double value) {
_sel_initWithDouble ??= _registerName(_lib, "initWithDouble:");
- final _ret = _lib._objc_msgSend_44(_id, _sel_initWithDouble!, value);
+ final _ret = _lib._objc_msgSend_30(_id, _sel_initWithDouble!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithBool;
NSNumber initWithBool(bool value) {
_sel_initWithBool ??= _registerName(_lib, "initWithBool:");
- final _ret = _lib._objc_msgSend_45(_id, _sel_initWithBool!, value);
+ final _ret = _lib._objc_msgSend_31(_id, _sel_initWithBool!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithInteger;
NSNumber initWithInteger(int value) {
_sel_initWithInteger ??= _registerName(_lib, "initWithInteger:");
- final _ret = _lib._objc_msgSend_46(_id, _sel_initWithInteger!, value);
+ final _ret = _lib._objc_msgSend_25(_id, _sel_initWithInteger!, value);
return NSNumber._(_ret, _lib);
}
@@ -3844,117 +2830,117 @@
_sel_initWithUnsignedInteger ??=
_registerName(_lib, "initWithUnsignedInteger:");
final _ret =
- _lib._objc_msgSend_47(_id, _sel_initWithUnsignedInteger!, value);
+ _lib._objc_msgSend_26(_id, _sel_initWithUnsignedInteger!, value);
return NSNumber._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_charValue;
int get charValue {
_sel_charValue ??= _registerName(_lib, "charValue");
- return _lib._objc_msgSend_48(_id, _sel_charValue!);
+ return _lib._objc_msgSend_32(_id, _sel_charValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedCharValue;
int get unsignedCharValue {
_sel_unsignedCharValue ??= _registerName(_lib, "unsignedCharValue");
- return _lib._objc_msgSend_49(_id, _sel_unsignedCharValue!);
+ return _lib._objc_msgSend_33(_id, _sel_unsignedCharValue!);
}
static ffi.Pointer<ObjCSel>? _sel_shortValue;
int get shortValue {
_sel_shortValue ??= _registerName(_lib, "shortValue");
- return _lib._objc_msgSend_50(_id, _sel_shortValue!);
+ return _lib._objc_msgSend_34(_id, _sel_shortValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedShortValue;
int get unsignedShortValue {
_sel_unsignedShortValue ??= _registerName(_lib, "unsignedShortValue");
- return _lib._objc_msgSend_51(_id, _sel_unsignedShortValue!);
+ return _lib._objc_msgSend_35(_id, _sel_unsignedShortValue!);
}
static ffi.Pointer<ObjCSel>? _sel_intValue;
int get intValue {
_sel_intValue ??= _registerName(_lib, "intValue");
- return _lib._objc_msgSend_52(_id, _sel_intValue!);
+ return _lib._objc_msgSend_36(_id, _sel_intValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedIntValue;
int get unsignedIntValue {
_sel_unsignedIntValue ??= _registerName(_lib, "unsignedIntValue");
- return _lib._objc_msgSend_53(_id, _sel_unsignedIntValue!);
+ return _lib._objc_msgSend_37(_id, _sel_unsignedIntValue!);
}
static ffi.Pointer<ObjCSel>? _sel_longValue;
int get longValue {
_sel_longValue ??= _registerName(_lib, "longValue");
- return _lib._objc_msgSend_54(_id, _sel_longValue!);
+ return _lib._objc_msgSend_38(_id, _sel_longValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedLongValue;
int get unsignedLongValue {
_sel_unsignedLongValue ??= _registerName(_lib, "unsignedLongValue");
- return _lib._objc_msgSend_55(_id, _sel_unsignedLongValue!);
+ return _lib._objc_msgSend_11(_id, _sel_unsignedLongValue!);
}
static ffi.Pointer<ObjCSel>? _sel_longLongValue;
int get longLongValue {
_sel_longLongValue ??= _registerName(_lib, "longLongValue");
- return _lib._objc_msgSend_56(_id, _sel_longLongValue!);
+ return _lib._objc_msgSend_39(_id, _sel_longLongValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedLongLongValue;
int get unsignedLongLongValue {
_sel_unsignedLongLongValue ??= _registerName(_lib, "unsignedLongLongValue");
- return _lib._objc_msgSend_57(_id, _sel_unsignedLongLongValue!);
+ return _lib._objc_msgSend_40(_id, _sel_unsignedLongLongValue!);
}
static ffi.Pointer<ObjCSel>? _sel_floatValue;
double get floatValue {
_sel_floatValue ??= _registerName(_lib, "floatValue");
- return _lib._objc_msgSend_58(_id, _sel_floatValue!);
+ return _lib._objc_msgSend_41(_id, _sel_floatValue!);
}
static ffi.Pointer<ObjCSel>? _sel_doubleValue;
double get doubleValue {
_sel_doubleValue ??= _registerName(_lib, "doubleValue");
- return _lib._objc_msgSend_59(_id, _sel_doubleValue!);
+ return _lib._objc_msgSend_42(_id, _sel_doubleValue!);
}
static ffi.Pointer<ObjCSel>? _sel_boolValue;
bool get boolValue {
_sel_boolValue ??= _registerName(_lib, "boolValue");
- return _lib._objc_msgSend_16(_id, _sel_boolValue!);
+ return _lib._objc_msgSend_10(_id, _sel_boolValue!);
}
static ffi.Pointer<ObjCSel>? _sel_integerValue;
int get integerValue {
_sel_integerValue ??= _registerName(_lib, "integerValue");
- return _lib._objc_msgSend_60(_id, _sel_integerValue!);
+ return _lib._objc_msgSend_38(_id, _sel_integerValue!);
}
static ffi.Pointer<ObjCSel>? _sel_unsignedIntegerValue;
int get unsignedIntegerValue {
_sel_unsignedIntegerValue ??= _registerName(_lib, "unsignedIntegerValue");
- return _lib._objc_msgSend_20(_id, _sel_unsignedIntegerValue!);
+ return _lib._objc_msgSend_11(_id, _sel_unsignedIntegerValue!);
}
static ffi.Pointer<ObjCSel>? _sel_stringValue;
NSObject get stringValue {
_sel_stringValue ??= _registerName(_lib, "stringValue");
- final _ret = _lib._objc_msgSend_61(_id, _sel_stringValue!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_stringValue!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_compare;
int compare(NSObject otherNumber) {
_sel_compare ??= _registerName(_lib, "compare:");
- return _lib._objc_msgSend_62(_id, _sel_compare!, otherNumber._id);
+ return _lib._objc_msgSend_43(_id, _sel_compare!, otherNumber._id);
}
static ffi.Pointer<ObjCSel>? _sel_isEqualToNumber;
bool isEqualToNumber(NSObject number) {
_sel_isEqualToNumber ??= _registerName(_lib, "isEqualToNumber:");
- return _lib._objc_msgSend_63(_id, _sel_isEqualToNumber!, number._id);
+ return _lib._objc_msgSend_4(_id, _sel_isEqualToNumber!, number._id);
}
static ffi.Pointer<ObjCSel>? _sel_descriptionWithLocale;
@@ -3962,7 +2948,7 @@
_sel_descriptionWithLocale ??=
_registerName(_lib, "descriptionWithLocale:");
final _ret =
- _lib._objc_msgSend_64(_id, _sel_descriptionWithLocale!, locale._id);
+ _lib._objc_msgSend_44(_id, _sel_descriptionWithLocale!, locale._id);
return NSString._(_ret, _lib);
}
@@ -4016,7 +3002,7 @@
static ffi.Pointer<ObjCSel>? _sel_nextObject;
NSObject nextObject() {
_sel_nextObject ??= _registerName(_lib, "nextObject");
- final _ret = _lib._objc_msgSend_65(_id, _sel_nextObject!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_nextObject!);
return NSObject._(_ret, _lib);
}
@@ -4056,33 +3042,33 @@
static ffi.Pointer<ObjCSel>? _sel_object;
NSObject get object {
_sel_object ??= _registerName(_lib, "object");
- final _ret = _lib._objc_msgSend_66(_id, _sel_object!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_object!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_changeType;
int get changeType {
_sel_changeType ??= _registerName(_lib, "changeType");
- return _lib._objc_msgSend_67(_id, _sel_changeType!);
+ return _lib._objc_msgSend_45(_id, _sel_changeType!);
}
static ffi.Pointer<ObjCSel>? _sel_index;
int get index {
_sel_index ??= _registerName(_lib, "index");
- return _lib._objc_msgSend_20(_id, _sel_index!);
+ return _lib._objc_msgSend_11(_id, _sel_index!);
}
static ffi.Pointer<ObjCSel>? _sel_associatedIndex;
int get associatedIndex {
_sel_associatedIndex ??= _registerName(_lib, "associatedIndex");
- return _lib._objc_msgSend_20(_id, _sel_associatedIndex!);
+ return _lib._objc_msgSend_11(_id, _sel_associatedIndex!);
}
static ffi.Pointer<ObjCSel>? _sel_init;
@override
NSObject init() {
_sel_init ??= _registerName(_lib, "init");
- final _ret = _lib._objc_msgSend_68(_id, _sel_init!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_init!);
return NSObject._(_ret, _lib);
}
@@ -4091,7 +3077,7 @@
NSObject anObject, int type, int index) {
_sel_initWithObject_type_index ??=
_registerName(_lib, "initWithObject:type:index:");
- final _ret = _lib._objc_msgSend_69(
+ final _ret = _lib._objc_msgSend_46(
_id, _sel_initWithObject_type_index!, anObject._id, type, index);
return NSOrderedCollectionChange._(_ret, _lib);
}
@@ -4101,7 +3087,7 @@
NSObject anObject, int type, int index, int associatedIndex) {
_sel_initWithObject_type_index_associatedIndex ??=
_registerName(_lib, "initWithObject:type:index:associatedIndex:");
- final _ret = _lib._objc_msgSend_70(
+ final _ret = _lib._objc_msgSend_47(
_id,
_sel_initWithObject_type_index_associatedIndex!,
anObject._id,
@@ -4150,7 +3136,7 @@
static NSIndexSet indexSetWithIndex(StringTestObjCLibrary _lib, int value) {
_class ??= _getClass(_lib, "NSIndexSet");
_sel_indexSetWithIndex ??= _registerName(_lib, "indexSetWithIndex:");
- final _ret = _lib._objc_msgSend_71(_class!, _sel_indexSetWithIndex!, value);
+ final _ret = _lib._objc_msgSend_48(_class!, _sel_indexSetWithIndex!, value);
return NSIndexSet._(_ret, _lib);
}
@@ -4161,7 +3147,7 @@
_sel_indexSetWithIndexesInRange ??=
_registerName(_lib, "indexSetWithIndexesInRange:");
final _ret =
- _lib._objc_msgSend_72(_class!, _sel_indexSetWithIndexesInRange!, range);
+ _lib._objc_msgSend_49(_class!, _sel_indexSetWithIndexesInRange!, range);
return NSIndexSet._(_ret, _lib);
}
@@ -4170,7 +3156,7 @@
_sel_initWithIndexesInRange ??=
_registerName(_lib, "initWithIndexesInRange:");
final _ret =
- _lib._objc_msgSend_72(_id, _sel_initWithIndexesInRange!, range);
+ _lib._objc_msgSend_49(_id, _sel_initWithIndexesInRange!, range);
return NSIndexSet._(_ret, _lib);
}
@@ -4178,59 +3164,59 @@
NSIndexSet initWithIndexSet(NSObject indexSet) {
_sel_initWithIndexSet ??= _registerName(_lib, "initWithIndexSet:");
final _ret =
- _lib._objc_msgSend_73(_id, _sel_initWithIndexSet!, indexSet._id);
+ _lib._objc_msgSend_13(_id, _sel_initWithIndexSet!, indexSet._id);
return NSIndexSet._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithIndex;
NSIndexSet initWithIndex(int value) {
_sel_initWithIndex ??= _registerName(_lib, "initWithIndex:");
- final _ret = _lib._objc_msgSend_71(_id, _sel_initWithIndex!, value);
+ final _ret = _lib._objc_msgSend_48(_id, _sel_initWithIndex!, value);
return NSIndexSet._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_isEqualToIndexSet;
bool isEqualToIndexSet(NSObject indexSet) {
_sel_isEqualToIndexSet ??= _registerName(_lib, "isEqualToIndexSet:");
- return _lib._objc_msgSend_74(_id, _sel_isEqualToIndexSet!, indexSet._id);
+ return _lib._objc_msgSend_4(_id, _sel_isEqualToIndexSet!, indexSet._id);
}
static ffi.Pointer<ObjCSel>? _sel_count;
int get count {
_sel_count ??= _registerName(_lib, "count");
- return _lib._objc_msgSend_20(_id, _sel_count!);
+ return _lib._objc_msgSend_11(_id, _sel_count!);
}
static ffi.Pointer<ObjCSel>? _sel_firstIndex;
int get firstIndex {
_sel_firstIndex ??= _registerName(_lib, "firstIndex");
- return _lib._objc_msgSend_20(_id, _sel_firstIndex!);
+ return _lib._objc_msgSend_11(_id, _sel_firstIndex!);
}
static ffi.Pointer<ObjCSel>? _sel_lastIndex;
int get lastIndex {
_sel_lastIndex ??= _registerName(_lib, "lastIndex");
- return _lib._objc_msgSend_20(_id, _sel_lastIndex!);
+ return _lib._objc_msgSend_11(_id, _sel_lastIndex!);
}
static ffi.Pointer<ObjCSel>? _sel_indexGreaterThanIndex;
int indexGreaterThanIndex(int value) {
_sel_indexGreaterThanIndex ??=
_registerName(_lib, "indexGreaterThanIndex:");
- return _lib._objc_msgSend_75(_id, _sel_indexGreaterThanIndex!, value);
+ return _lib._objc_msgSend_50(_id, _sel_indexGreaterThanIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_indexLessThanIndex;
int indexLessThanIndex(int value) {
_sel_indexLessThanIndex ??= _registerName(_lib, "indexLessThanIndex:");
- return _lib._objc_msgSend_75(_id, _sel_indexLessThanIndex!, value);
+ return _lib._objc_msgSend_50(_id, _sel_indexLessThanIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_indexGreaterThanOrEqualToIndex;
int indexGreaterThanOrEqualToIndex(int value) {
_sel_indexGreaterThanOrEqualToIndex ??=
_registerName(_lib, "indexGreaterThanOrEqualToIndex:");
- return _lib._objc_msgSend_75(
+ return _lib._objc_msgSend_50(
_id, _sel_indexGreaterThanOrEqualToIndex!, value);
}
@@ -4238,7 +3224,7 @@
int indexLessThanOrEqualToIndex(int value) {
_sel_indexLessThanOrEqualToIndex ??=
_registerName(_lib, "indexLessThanOrEqualToIndex:");
- return _lib._objc_msgSend_75(_id, _sel_indexLessThanOrEqualToIndex!, value);
+ return _lib._objc_msgSend_50(_id, _sel_indexLessThanOrEqualToIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_getIndexes_maxCount_inIndexRange;
@@ -4246,7 +3232,7 @@
int bufferSize, NSRangePointer range) {
_sel_getIndexes_maxCount_inIndexRange ??=
_registerName(_lib, "getIndexes:maxCount:inIndexRange:");
- return _lib._objc_msgSend_76(_id, _sel_getIndexes_maxCount_inIndexRange!,
+ return _lib._objc_msgSend_51(_id, _sel_getIndexes_maxCount_inIndexRange!,
indexBuffer, bufferSize, range);
}
@@ -4254,47 +3240,47 @@
int countOfIndexesInRange(NSRange range) {
_sel_countOfIndexesInRange ??=
_registerName(_lib, "countOfIndexesInRange:");
- return _lib._objc_msgSend_77(_id, _sel_countOfIndexesInRange!, range);
+ return _lib._objc_msgSend_52(_id, _sel_countOfIndexesInRange!, range);
}
static ffi.Pointer<ObjCSel>? _sel_containsIndex;
bool containsIndex(int value) {
_sel_containsIndex ??= _registerName(_lib, "containsIndex:");
- return _lib._objc_msgSend_78(_id, _sel_containsIndex!, value);
+ return _lib._objc_msgSend_53(_id, _sel_containsIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_containsIndexesInRange;
bool containsIndexesInRange(NSRange range) {
_sel_containsIndexesInRange ??=
_registerName(_lib, "containsIndexesInRange:");
- return _lib._objc_msgSend_79(_id, _sel_containsIndexesInRange!, range);
+ return _lib._objc_msgSend_54(_id, _sel_containsIndexesInRange!, range);
}
static ffi.Pointer<ObjCSel>? _sel_containsIndexes;
bool containsIndexes(NSObject indexSet) {
_sel_containsIndexes ??= _registerName(_lib, "containsIndexes:");
- return _lib._objc_msgSend_80(_id, _sel_containsIndexes!, indexSet._id);
+ return _lib._objc_msgSend_4(_id, _sel_containsIndexes!, indexSet._id);
}
static ffi.Pointer<ObjCSel>? _sel_intersectsIndexesInRange;
bool intersectsIndexesInRange(NSRange range) {
_sel_intersectsIndexesInRange ??=
_registerName(_lib, "intersectsIndexesInRange:");
- return _lib._objc_msgSend_79(_id, _sel_intersectsIndexesInRange!, range);
+ return _lib._objc_msgSend_54(_id, _sel_intersectsIndexesInRange!, range);
}
static ffi.Pointer<ObjCSel>? _sel_enumerateIndexesUsingBlock;
void enumerateIndexesUsingBlock(NSObject block) {
_sel_enumerateIndexesUsingBlock ??=
_registerName(_lib, "enumerateIndexesUsingBlock:");
- _lib._objc_msgSend_81(_id, _sel_enumerateIndexesUsingBlock!, block._id);
+ _lib._objc_msgSend_8(_id, _sel_enumerateIndexesUsingBlock!, block._id);
}
static ffi.Pointer<ObjCSel>? _sel_enumerateIndexesWithOptions_usingBlock;
void enumerateIndexesWithOptions_usingBlock(int opts, NSObject block) {
_sel_enumerateIndexesWithOptions_usingBlock ??=
_registerName(_lib, "enumerateIndexesWithOptions:usingBlock:");
- _lib._objc_msgSend_82(
+ _lib._objc_msgSend_55(
_id, _sel_enumerateIndexesWithOptions_usingBlock!, opts, block._id);
}
@@ -4303,21 +3289,21 @@
NSRange range, int opts, NSObject block) {
_sel_enumerateIndexesInRange_options_usingBlock ??=
_registerName(_lib, "enumerateIndexesInRange:options:usingBlock:");
- _lib._objc_msgSend_83(_id, _sel_enumerateIndexesInRange_options_usingBlock!,
+ _lib._objc_msgSend_56(_id, _sel_enumerateIndexesInRange_options_usingBlock!,
range, opts, block._id);
}
static ffi.Pointer<ObjCSel>? _sel_indexPassingTest;
int indexPassingTest(NSObject predicate) {
_sel_indexPassingTest ??= _registerName(_lib, "indexPassingTest:");
- return _lib._objc_msgSend_84(_id, _sel_indexPassingTest!, predicate._id);
+ return _lib._objc_msgSend_57(_id, _sel_indexPassingTest!, predicate._id);
}
static ffi.Pointer<ObjCSel>? _sel_indexWithOptions_passingTest;
int indexWithOptions_passingTest(int opts, NSObject predicate) {
_sel_indexWithOptions_passingTest ??=
_registerName(_lib, "indexWithOptions:passingTest:");
- return _lib._objc_msgSend_85(
+ return _lib._objc_msgSend_58(
_id, _sel_indexWithOptions_passingTest!, opts, predicate._id);
}
@@ -4326,7 +3312,7 @@
NSRange range, int opts, NSObject predicate) {
_sel_indexInRange_options_passingTest ??=
_registerName(_lib, "indexInRange:options:passingTest:");
- return _lib._objc_msgSend_86(_id, _sel_indexInRange_options_passingTest!,
+ return _lib._objc_msgSend_59(_id, _sel_indexInRange_options_passingTest!,
range, opts, predicate._id);
}
@@ -4334,7 +3320,7 @@
NSIndexSet indexesPassingTest(NSObject predicate) {
_sel_indexesPassingTest ??= _registerName(_lib, "indexesPassingTest:");
final _ret =
- _lib._objc_msgSend_87(_id, _sel_indexesPassingTest!, predicate._id);
+ _lib._objc_msgSend_60(_id, _sel_indexesPassingTest!, predicate._id);
return NSIndexSet._(_ret, _lib);
}
@@ -4342,7 +3328,7 @@
NSIndexSet indexesWithOptions_passingTest(int opts, NSObject predicate) {
_sel_indexesWithOptions_passingTest ??=
_registerName(_lib, "indexesWithOptions:passingTest:");
- final _ret = _lib._objc_msgSend_88(
+ final _ret = _lib._objc_msgSend_61(
_id, _sel_indexesWithOptions_passingTest!, opts, predicate._id);
return NSIndexSet._(_ret, _lib);
}
@@ -4352,7 +3338,7 @@
NSRange range, int opts, NSObject predicate) {
_sel_indexesInRange_options_passingTest ??=
_registerName(_lib, "indexesInRange:options:passingTest:");
- final _ret = _lib._objc_msgSend_89(_id,
+ final _ret = _lib._objc_msgSend_62(_id,
_sel_indexesInRange_options_passingTest!, range, opts, predicate._id);
return NSIndexSet._(_ret, _lib);
}
@@ -4361,14 +3347,14 @@
void enumerateRangesUsingBlock(NSObject block) {
_sel_enumerateRangesUsingBlock ??=
_registerName(_lib, "enumerateRangesUsingBlock:");
- _lib._objc_msgSend_90(_id, _sel_enumerateRangesUsingBlock!, block._id);
+ _lib._objc_msgSend_8(_id, _sel_enumerateRangesUsingBlock!, block._id);
}
static ffi.Pointer<ObjCSel>? _sel_enumerateRangesWithOptions_usingBlock;
void enumerateRangesWithOptions_usingBlock(int opts, NSObject block) {
_sel_enumerateRangesWithOptions_usingBlock ??=
_registerName(_lib, "enumerateRangesWithOptions:usingBlock:");
- _lib._objc_msgSend_91(
+ _lib._objc_msgSend_55(
_id, _sel_enumerateRangesWithOptions_usingBlock!, opts, block._id);
}
@@ -4377,7 +3363,7 @@
NSRange range, int opts, NSObject block) {
_sel_enumerateRangesInRange_options_usingBlock ??=
_registerName(_lib, "enumerateRangesInRange:options:usingBlock:");
- _lib._objc_msgSend_92(_id, _sel_enumerateRangesInRange_options_usingBlock!,
+ _lib._objc_msgSend_56(_id, _sel_enumerateRangesInRange_options_usingBlock!,
range, opts, block._id);
}
@@ -4414,13 +3400,13 @@
static ffi.Pointer<ObjCSel>? _sel_addIndexes;
void addIndexes(NSObject indexSet) {
_sel_addIndexes ??= _registerName(_lib, "addIndexes:");
- _lib._objc_msgSend_93(_id, _sel_addIndexes!, indexSet._id);
+ _lib._objc_msgSend_8(_id, _sel_addIndexes!, indexSet._id);
}
static ffi.Pointer<ObjCSel>? _sel_removeIndexes;
void removeIndexes(NSObject indexSet) {
_sel_removeIndexes ??= _registerName(_lib, "removeIndexes:");
- _lib._objc_msgSend_94(_id, _sel_removeIndexes!, indexSet._id);
+ _lib._objc_msgSend_8(_id, _sel_removeIndexes!, indexSet._id);
}
static ffi.Pointer<ObjCSel>? _sel_removeAllIndexes;
@@ -4432,32 +3418,32 @@
static ffi.Pointer<ObjCSel>? _sel_addIndex;
void addIndex(int value) {
_sel_addIndex ??= _registerName(_lib, "addIndex:");
- _lib._objc_msgSend_95(_id, _sel_addIndex!, value);
+ _lib._objc_msgSend_63(_id, _sel_addIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_removeIndex;
void removeIndex(int value) {
_sel_removeIndex ??= _registerName(_lib, "removeIndex:");
- _lib._objc_msgSend_95(_id, _sel_removeIndex!, value);
+ _lib._objc_msgSend_63(_id, _sel_removeIndex!, value);
}
static ffi.Pointer<ObjCSel>? _sel_addIndexesInRange;
void addIndexesInRange(NSRange range) {
_sel_addIndexesInRange ??= _registerName(_lib, "addIndexesInRange:");
- _lib._objc_msgSend_96(_id, _sel_addIndexesInRange!, range);
+ _lib._objc_msgSend_64(_id, _sel_addIndexesInRange!, range);
}
static ffi.Pointer<ObjCSel>? _sel_removeIndexesInRange;
void removeIndexesInRange(NSRange range) {
_sel_removeIndexesInRange ??= _registerName(_lib, "removeIndexesInRange:");
- _lib._objc_msgSend_96(_id, _sel_removeIndexesInRange!, range);
+ _lib._objc_msgSend_64(_id, _sel_removeIndexesInRange!, range);
}
static ffi.Pointer<ObjCSel>? _sel_shiftIndexesStartingAtIndex_by;
void shiftIndexesStartingAtIndex_by(int index, int delta) {
_sel_shiftIndexesStartingAtIndex_by ??=
_registerName(_lib, "shiftIndexesStartingAtIndex:by:");
- _lib._objc_msgSend_97(
+ _lib._objc_msgSend_65(
_id, _sel_shiftIndexesStartingAtIndex_by!, index, delta);
}
@@ -4474,7 +3460,7 @@
StringTestObjCLibrary _lib, int value) {
_class ??= _getClass(_lib, "NSMutableIndexSet");
_sel_indexSetWithIndex ??= _registerName(_lib, "indexSetWithIndex:");
- final _ret = _lib._objc_msgSend_71(_class!, _sel_indexSetWithIndex!, value);
+ final _ret = _lib._objc_msgSend_48(_class!, _sel_indexSetWithIndex!, value);
return NSMutableIndexSet._(_ret, _lib);
}
@@ -4485,7 +3471,7 @@
_sel_indexSetWithIndexesInRange ??=
_registerName(_lib, "indexSetWithIndexesInRange:");
final _ret =
- _lib._objc_msgSend_72(_class!, _sel_indexSetWithIndexesInRange!, range);
+ _lib._objc_msgSend_49(_class!, _sel_indexSetWithIndexesInRange!, range);
return NSMutableIndexSet._(_ret, _lib);
}
@@ -4529,7 +3515,7 @@
static ffi.Pointer<ObjCSel>? _sel_initWithChanges;
NSOrderedCollectionDifference initWithChanges(NSObject changes) {
_sel_initWithChanges ??= _registerName(_lib, "initWithChanges:");
- final _ret = _lib._objc_msgSend_98(_id, _sel_initWithChanges!, changes._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithChanges!, changes._id);
return NSOrderedCollectionDifference._(_ret, _lib);
}
@@ -4545,7 +3531,7 @@
_sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_additionalChanges ??=
_registerName(_lib,
"initWithInsertIndexes:insertedObjects:removeIndexes:removedObjects:additionalChanges:");
- final _ret = _lib._objc_msgSend_99(
+ final _ret = _lib._objc_msgSend_66(
_id,
_sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects_additionalChanges!,
inserts._id,
@@ -4567,7 +3553,7 @@
_sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects ??=
_registerName(_lib,
"initWithInsertIndexes:insertedObjects:removeIndexes:removedObjects:");
- final _ret = _lib._objc_msgSend_100(
+ final _ret = _lib._objc_msgSend_67(
_id,
_sel_initWithInsertIndexes_insertedObjects_removeIndexes_removedObjects!,
inserts._id,
@@ -4580,21 +3566,21 @@
static ffi.Pointer<ObjCSel>? _sel_insertions;
NSObject get insertions {
_sel_insertions ??= _registerName(_lib, "insertions");
- final _ret = _lib._objc_msgSend_101(_id, _sel_insertions!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_insertions!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_removals;
NSObject get removals {
_sel_removals ??= _registerName(_lib, "removals");
- final _ret = _lib._objc_msgSend_102(_id, _sel_removals!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_removals!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_hasChanges;
bool get hasChanges {
_sel_hasChanges ??= _registerName(_lib, "hasChanges");
- return _lib._objc_msgSend_16(_id, _sel_hasChanges!);
+ return _lib._objc_msgSend_10(_id, _sel_hasChanges!);
}
static ffi.Pointer<ObjCSel>? _sel_inverseDifference;
@@ -4634,13 +3620,13 @@
static ffi.Pointer<ObjCSel>? _sel_count;
int get count {
_sel_count ??= _registerName(_lib, "count");
- return _lib._objc_msgSend_20(_id, _sel_count!);
+ return _lib._objc_msgSend_11(_id, _sel_count!);
}
static ffi.Pointer<ObjCSel>? _sel_objectAtIndex;
NSObject objectAtIndex(int index) {
_sel_objectAtIndex ??= _registerName(_lib, "objectAtIndex:");
- final _ret = _lib._objc_msgSend_103(_id, _sel_objectAtIndex!, index);
+ final _ret = _lib._objc_msgSend_48(_id, _sel_objectAtIndex!, index);
return NSObject._(_ret, _lib);
}
@@ -4658,14 +3644,14 @@
_sel_initWithObjects_count ??=
_registerName(_lib, "initWithObjects:count:");
final _ret =
- _lib._objc_msgSend_104(_id, _sel_initWithObjects_count!, objects, cnt);
+ _lib._objc_msgSend_68(_id, _sel_initWithObjects_count!, objects, cnt);
return NSArray._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_initWithCoder;
NSArray initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_105(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSArray._(_ret, _lib);
}
@@ -4705,14 +3691,13 @@
static ffi.Pointer<ObjCSel>? _sel_addObject;
void addObject(NSObject anObject) {
_sel_addObject ??= _registerName(_lib, "addObject:");
- _lib._objc_msgSend_106(_id, _sel_addObject!, anObject._id);
+ _lib._objc_msgSend_8(_id, _sel_addObject!, anObject._id);
}
static ffi.Pointer<ObjCSel>? _sel_insertObject_atIndex;
void insertObject_atIndex(NSObject anObject, int index) {
_sel_insertObject_atIndex ??= _registerName(_lib, "insertObject:atIndex:");
- _lib._objc_msgSend_107(
- _id, _sel_insertObject_atIndex!, anObject._id, index);
+ _lib._objc_msgSend_69(_id, _sel_insertObject_atIndex!, anObject._id, index);
}
static ffi.Pointer<ObjCSel>? _sel_removeLastObject;
@@ -4724,14 +3709,14 @@
static ffi.Pointer<ObjCSel>? _sel_removeObjectAtIndex;
void removeObjectAtIndex(int index) {
_sel_removeObjectAtIndex ??= _registerName(_lib, "removeObjectAtIndex:");
- _lib._objc_msgSend_95(_id, _sel_removeObjectAtIndex!, index);
+ _lib._objc_msgSend_63(_id, _sel_removeObjectAtIndex!, index);
}
static ffi.Pointer<ObjCSel>? _sel_replaceObjectAtIndex_withObject;
void replaceObjectAtIndex_withObject(int index, NSObject anObject) {
_sel_replaceObjectAtIndex_withObject ??=
_registerName(_lib, "replaceObjectAtIndex:withObject:");
- _lib._objc_msgSend_108(
+ _lib._objc_msgSend_70(
_id, _sel_replaceObjectAtIndex_withObject!, index, anObject._id);
}
@@ -4746,7 +3731,7 @@
static ffi.Pointer<ObjCSel>? _sel_initWithCapacity;
NSMutableArray initWithCapacity(int numItems) {
_sel_initWithCapacity ??= _registerName(_lib, "initWithCapacity:");
- final _ret = _lib._objc_msgSend_71(_id, _sel_initWithCapacity!, numItems);
+ final _ret = _lib._objc_msgSend_48(_id, _sel_initWithCapacity!, numItems);
return NSMutableArray._(_ret, _lib);
}
@@ -4754,7 +3739,7 @@
@override
NSMutableArray initWithCoder(NSObject coder) {
_sel_initWithCoder ??= _registerName(_lib, "initWithCoder:");
- final _ret = _lib._objc_msgSend_109(_id, _sel_initWithCoder!, coder._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithCoder!, coder._id);
return NSMutableArray._(_ret, _lib);
}
@@ -4811,7 +3796,7 @@
_sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler ??=
_registerName(_lib,
"registerDataRepresentationForTypeIdentifier:visibility:loadHandler:");
- _lib._objc_msgSend_110(
+ _lib._objc_msgSend_71(
_id,
_sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler!,
typeIdentifier._id,
@@ -4830,7 +3815,7 @@
_sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler ??=
_registerName(_lib,
"registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:");
- _lib._objc_msgSend_111(
+ _lib._objc_msgSend_72(
_id,
_sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler!,
typeIdentifier._id,
@@ -4843,7 +3828,7 @@
NSObject get registeredTypeIdentifiers {
_sel_registeredTypeIdentifiers ??=
_registerName(_lib, "registeredTypeIdentifiers");
- final _ret = _lib._objc_msgSend_112(_id, _sel_registeredTypeIdentifiers!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_registeredTypeIdentifiers!);
return NSObject._(_ret, _lib);
}
@@ -4851,7 +3836,7 @@
bool hasItemConformingToTypeIdentifier(NSObject typeIdentifier) {
_sel_hasItemConformingToTypeIdentifier ??=
_registerName(_lib, "hasItemConformingToTypeIdentifier:");
- return _lib._objc_msgSend_113(
+ return _lib._objc_msgSend_4(
_id, _sel_hasItemConformingToTypeIdentifier!, typeIdentifier._id);
}
@@ -4862,7 +3847,7 @@
_sel_hasRepresentationConformingToTypeIdentifier_fileOptions ??=
_registerName(
_lib, "hasRepresentationConformingToTypeIdentifier:fileOptions:");
- return _lib._objc_msgSend_114(
+ return _lib._objc_msgSend_73(
_id,
_sel_hasRepresentationConformingToTypeIdentifier_fileOptions!,
typeIdentifier._id,
@@ -4876,7 +3861,7 @@
_sel_loadDataRepresentationForTypeIdentifier_completionHandler ??=
_registerName(
_lib, "loadDataRepresentationForTypeIdentifier:completionHandler:");
- final _ret = _lib._objc_msgSend_115(
+ final _ret = _lib._objc_msgSend_74(
_id,
_sel_loadDataRepresentationForTypeIdentifier_completionHandler!,
typeIdentifier._id,
@@ -4891,7 +3876,7 @@
_sel_loadFileRepresentationForTypeIdentifier_completionHandler ??=
_registerName(
_lib, "loadFileRepresentationForTypeIdentifier:completionHandler:");
- final _ret = _lib._objc_msgSend_116(
+ final _ret = _lib._objc_msgSend_74(
_id,
_sel_loadFileRepresentationForTypeIdentifier_completionHandler!,
typeIdentifier._id,
@@ -4906,7 +3891,7 @@
_sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler ??=
_registerName(_lib,
"loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:");
- final _ret = _lib._objc_msgSend_117(
+ final _ret = _lib._objc_msgSend_74(
_id,
_sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler!,
typeIdentifier._id,
@@ -4917,20 +3902,20 @@
static ffi.Pointer<ObjCSel>? _sel_suggestedName;
NSObject get suggestedName {
_sel_suggestedName ??= _registerName(_lib, "suggestedName");
- final _ret = _lib._objc_msgSend_118(_id, _sel_suggestedName!);
+ final _ret = _lib._objc_msgSend_1(_id, _sel_suggestedName!);
return NSObject._(_ret, _lib);
}
static ffi.Pointer<ObjCSel>? _sel_suggestedName1;
set suggestedName(NSObject value) {
_sel_suggestedName1 ??= _registerName(_lib, "setSuggestedName:");
- _lib._objc_msgSend_119(_id, _sel_suggestedName1!, value._id);
+ _lib._objc_msgSend_8(_id, _sel_suggestedName1!, value._id);
}
static ffi.Pointer<ObjCSel>? _sel_initWithObject;
NSItemProvider initWithObject(NSObject object) {
_sel_initWithObject ??= _registerName(_lib, "initWithObject:");
- final _ret = _lib._objc_msgSend_120(_id, _sel_initWithObject!, object._id);
+ final _ret = _lib._objc_msgSend_13(_id, _sel_initWithObject!, object._id);
return NSItemProvider._(_ret, _lib);
}
@@ -4938,7 +3923,7 @@
void registerObject_visibility(NSObject object, int visibility) {
_sel_registerObject_visibility ??=
_registerName(_lib, "registerObject:visibility:");
- _lib._objc_msgSend_121(
+ _lib._objc_msgSend_75(
_id, _sel_registerObject_visibility!, object._id, visibility);
}
@@ -4948,7 +3933,7 @@
NSObject aClass, int visibility, NSObject loadHandler) {
_sel_registerObjectOfClass_visibility_loadHandler ??=
_registerName(_lib, "registerObjectOfClass:visibility:loadHandler:");
- _lib._objc_msgSend_122(
+ _lib._objc_msgSend_71(
_id,
_sel_registerObjectOfClass_visibility_loadHandler!,
aClass._id,
@@ -4959,7 +3944,7 @@
static ffi.Pointer<ObjCSel>? _sel_canLoadObjectOfClass;
bool canLoadObjectOfClass(NSObject aClass) {
_sel_canLoadObjectOfClass ??= _registerName(_lib, "canLoadObjectOfClass:");
- return _lib._objc_msgSend_123(_id, _sel_canLoadObjectOfClass!, aClass._id);
+ return _lib._objc_msgSend_4(_id, _sel_canLoadObjectOfClass!, aClass._id);
}
static ffi.Pointer<ObjCSel>? _sel_loadObjectOfClass_completionHandler;
@@ -4967,7 +3952,7 @@
NSObject aClass, NSObject completionHandler) {
_sel_loadObjectOfClass_completionHandler ??=
_registerName(_lib, "loadObjectOfClass:completionHandler:");
- final _ret = _lib._objc_msgSend_124(
+ final _ret = _lib._objc_msgSend_74(
_id,
_sel_loadObjectOfClass_completionHandler!,
aClass._id,
@@ -4980,7 +3965,7 @@
NSObject item, NSObject typeIdentifier) {
_sel_initWithItem_typeIdentifier ??=
_registerName(_lib, "initWithItem:typeIdentifier:");
- final _ret = _lib._objc_msgSend_125(
+ final _ret = _lib._objc_msgSend_76(
_id, _sel_initWithItem_typeIdentifier!, item._id, typeIdentifier._id);
return NSItemProvider._(_ret, _lib);
}
@@ -4990,7 +3975,7 @@
_sel_initWithContentsOfURL ??=
_registerName(_lib, "initWithContentsOfURL:");
final _ret =
- _lib._objc_msgSend_126(_id, _sel_initWithContentsOfURL!, fileURL._id);
+ _lib._objc_msgSend_13(_id, _sel_initWithContentsOfURL!, fileURL._id);
return NSItemProvider._(_ret, _lib);
}
@@ -4999,7 +3984,7 @@
NSObject typeIdentifier, NSItemProviderLoadHandler loadHandler) {
_sel_registerItemForTypeIdentifier_loadHandler ??=
_registerName(_lib, "registerItemForTypeIdentifier:loadHandler:");
- _lib._objc_msgSend_127(_id, _sel_registerItemForTypeIdentifier_loadHandler!,
+ _lib._objc_msgSend_77(_id, _sel_registerItemForTypeIdentifier_loadHandler!,
typeIdentifier._id, loadHandler);
}
@@ -5011,7 +3996,7 @@
NSItemProviderCompletionHandler completionHandler) {
_sel_loadItemForTypeIdentifier_options_completionHandler ??= _registerName(
_lib, "loadItemForTypeIdentifier:options:completionHandler:");
- _lib._objc_msgSend_128(
+ _lib._objc_msgSend_78(
_id,
_sel_loadItemForTypeIdentifier_options_completionHandler!,
typeIdentifier._id,
@@ -5104,7 +4089,7 @@
void replaceCharactersInRange_withString(NSRange range, NSObject aString) {
_sel_replaceCharactersInRange_withString ??=
_registerName(_lib, "replaceCharactersInRange:withString:");
- _lib._objc_msgSend_129(
+ _lib._objc_msgSend_79(
_id, _sel_replaceCharactersInRange_withString!, range, aString._id);
}
@@ -5114,7 +4099,7 @@
_class ??= _getClass(_lib, "NSMutableString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_25(
+ final _ret = _lib._objc_msgSend_14(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -5154,7 +4139,7 @@
_class ??= _getClass(_lib, "NSSimpleCString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_25(
+ final _ret = _lib._objc_msgSend_14(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -5192,7 +4177,7 @@
_class ??= _getClass(_lib, "NSConstantString");
_sel_stringWithCString_encoding ??=
_registerName(_lib, "stringWithCString:encoding:");
- final _ret = _lib._objc_msgSend_25(
+ final _ret = _lib._objc_msgSend_14(
_class!, _sel_stringWithCString_encoding!, cString, enc);
return NSString._(_ret, _lib);
}
@@ -5230,7 +4215,7 @@
_class ??= _getClass(_lib, "StringUtil");
_sel_strConcat_with ??= _registerName(_lib, "strConcat:with:");
final _ret =
- _lib._objc_msgSend_130(_class!, _sel_strConcat_with!, a._id, b._id);
+ _lib._objc_msgSend_80(_class!, _sel_strConcat_with!, a._id, b._id);
return NSString._(_ret, _lib);
}