blob: c52c6fa3d879e94f69ffff682c0ca8594ac8b95c [file]
// AUTO GENERATED FILE, DO NOT EDIT.
//
// Generated by `package:ffigen`.
// ignore_for_file: type=lint, unused_import, unused_element, deprecated_member_use_from_same_package
@ffi.DefaultAsset('package:ffigen/objc_test')
library;
import 'dart:ffi' as ffi;
import 'package:objective_c/objective_c.dart' as objc;
import 'package:ffi/ffi.dart' as pkg_ffi;
const _$objcVersionCheck = objc.ObjCVersionCheck(9, 6);
/// Construction methods for `objc.ObjCBlock<Struct16 Function()>`.
abstract final class ObjCBlock_Struct16 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Struct16 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Struct16 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Struct16 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Struct16 Function()>> ptr,
) => objc.ObjCBlock<Struct16 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Struct16 Function()> fromFunction(
Struct16 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Struct16 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Struct16 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Struct16 Function()>>()
.asFunction<Struct16 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Struct16 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Struct16 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Struct16 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Struct16 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Struct16 Function()>`.
extension ObjCBlock_Struct16$CallExtension
on objc.ObjCBlock<Struct16 Function()> {
Struct16 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Struct16 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Struct16 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Struct24 Function()>`.
abstract final class ObjCBlock_Struct24 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Struct24 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Struct24 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Struct24 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Struct24 Function()>> ptr,
) => objc.ObjCBlock<Struct24 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Struct24 Function()> fromFunction(
Struct24 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Struct24 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Struct24 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Struct24 Function()>>()
.asFunction<Struct24 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Struct24 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Struct24 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Struct24 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Struct24 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Struct24 Function()>`.
extension ObjCBlock_Struct24$CallExtension
on objc.ObjCBlock<Struct24 Function()> {
Struct24 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Struct24 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Struct24 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Struct32 Function()>`.
abstract final class ObjCBlock_Struct32 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Struct32 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Struct32 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Struct32 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Struct32 Function()>> ptr,
) => objc.ObjCBlock<Struct32 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Struct32 Function()> fromFunction(
Struct32 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Struct32 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Struct32 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Struct32 Function()>>()
.asFunction<Struct32 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Struct32 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Struct32 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Struct32 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Struct32 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Struct32 Function()>`.
extension ObjCBlock_Struct32$CallExtension
on objc.ObjCBlock<Struct32 Function()> {
Struct32 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Struct32 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Struct32 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Struct8 Function()>`.
abstract final class ObjCBlock_Struct8 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Struct8 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Struct8 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Struct8 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Struct8 Function()>> ptr,
) => objc.ObjCBlock<Struct8 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Struct8 Function()> fromFunction(
Struct8 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Struct8 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Struct8 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Struct8 Function()>>()
.asFunction<Struct8 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Struct8 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Struct8 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Struct8 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Struct8 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Struct8 Function()>`.
extension ObjCBlock_Struct8$CallExtension
on objc.ObjCBlock<Struct8 Function()> {
Struct8 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Struct8 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Struct8 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Union16 Function()>`.
abstract final class ObjCBlock_Union16 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Union16 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Union16 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Union16 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Union16 Function()>> ptr,
) => objc.ObjCBlock<Union16 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Union16 Function()> fromFunction(
Union16 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Union16 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Union16 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Union16 Function()>>()
.asFunction<Union16 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Union16 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Union16 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Union16 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Union16 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Union16 Function()>`.
extension ObjCBlock_Union16$CallExtension
on objc.ObjCBlock<Union16 Function()> {
Union16 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Union16 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Union16 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Union24 Function()>`.
abstract final class ObjCBlock_Union24 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Union24 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Union24 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Union24 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Union24 Function()>> ptr,
) => objc.ObjCBlock<Union24 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Union24 Function()> fromFunction(
Union24 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Union24 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Union24 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Union24 Function()>>()
.asFunction<Union24 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Union24 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Union24 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Union24 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Union24 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Union24 Function()>`.
extension ObjCBlock_Union24$CallExtension
on objc.ObjCBlock<Union24 Function()> {
Union24 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Union24 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Union24 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Union32 Function()>`.
abstract final class ObjCBlock_Union32 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Union32 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Union32 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Union32 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Union32 Function()>> ptr,
) => objc.ObjCBlock<Union32 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Union32 Function()> fromFunction(
Union32 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Union32 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Union32 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
block.ref.target
.cast<ffi.NativeFunction<Union32 Function()>>()
.asFunction<Union32 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Union32 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Union32 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Union32 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Union32 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Union32 Function()>`.
extension ObjCBlock_Union32$CallExtension
on objc.ObjCBlock<Union32 Function()> {
Union32 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Union32 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Union32 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// Construction methods for `objc.ObjCBlock<Union8 Function()>`.
abstract final class ObjCBlock_Union8 {
/// Returns a block that wraps the given raw block pointer.
static objc.ObjCBlock<Union8 Function()> fromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) => objc.ObjCBlock<Union8 Function()>(
pointer,
retain: retain,
release: release,
);
/// Creates a block from a C function pointer.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
static objc.ObjCBlock<Union8 Function()> fromFunctionPointer(
ffi.Pointer<ffi.NativeFunction<Union8 Function()>> ptr,
) => objc.ObjCBlock<Union8 Function()>(
objc.newPointerBlock(_fnPtrCallable, ptr.cast()),
retain: false,
release: true,
);
/// Creates a block from a Dart function.
///
/// This block must be invoked by native code running on the same thread as
/// the isolate that registered it. Invoking the block on the wrong thread
/// will result in a crash.
///
/// If `keepIsolateAlive` is true, this block will keep this isolate alive
/// until it is garbage collected by both Dart and ObjC.
static objc.ObjCBlock<Union8 Function()> fromFunction(
Union8 Function() fn, {
bool keepIsolateAlive = true,
}) => objc.ObjCBlock<Union8 Function()>(
objc.newClosureBlock(_closureCallable, () {
return fn();
}, keepIsolateAlive),
retain: false,
release: true,
);
static Union8 _fnPtrTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) => block
.ref
.target
.cast<ffi.NativeFunction<Union8 Function()>>()
.asFunction<Union8 Function()>()();
static ffi.Pointer<ffi.Void> _fnPtrCallable =
ffi.Pointer.fromFunction<
Union8 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_fnPtrTrampoline)
.cast();
static Union8 _closureTrampoline(ffi.Pointer<objc.ObjCBlockImpl> block) =>
(objc.getBlockClosure(block) as Union8 Function())();
static ffi.Pointer<ffi.Void> _closureCallable =
ffi.Pointer.fromFunction<
Union8 Function(ffi.Pointer<objc.ObjCBlockImpl>)
>(_closureTrampoline)
.cast();
}
/// Call operator for `objc.ObjCBlock<Union8 Function()>`.
extension ObjCBlock_Union8$CallExtension on objc.ObjCBlock<Union8 Function()> {
Union8 call() {
return ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<
Union8 Function(ffi.Pointer<objc.ObjCBlockImpl> block)
>
>()
.asFunction<Union8 Function(ffi.Pointer<objc.ObjCBlockImpl>)>()(
ref.pointer,
);
}
}
/// SmallStructTester
extension type SmallStructTester._(objc.ObjCObject object$)
implements objc.ObjCObject, objc.NSObject {
/// Constructs a [SmallStructTester] that points to the same underlying object as [other].
SmallStructTester.as(objc.ObjCObject other) : object$ = other {
assert(isA(object$));
}
/// Constructs a [SmallStructTester] that wraps the given raw object pointer.
SmallStructTester.fromPointer(
ffi.Pointer<objc.ObjCObjectImpl> other, {
bool retain = false,
bool release = false,
}) : object$ = objc.ObjCObject(other, retain: retain, release: release) {
assert(isA(object$));
}
/// Returns whether [obj] is an instance of [SmallStructTester].
static bool isA(objc.ObjCObject? obj) => obj == null
? false
: _objc_msgSend_19nvye5(
obj.ref.pointer,
_sel_isKindOfClass_,
_class_SmallStructTester,
);
/// alloc
static SmallStructTester alloc() {
final $ret = _objc_msgSend_151sglz(_class_SmallStructTester, _sel_alloc);
return SmallStructTester.fromPointer($ret, retain: false, release: true);
}
/// allocWithZone:
static SmallStructTester allocWithZone(ffi.Pointer<objc.NSZone> zone) {
final $ret = _objc_msgSend_1cwp428(
_class_SmallStructTester,
_sel_allocWithZone_,
zone,
);
return SmallStructTester.fromPointer($ret, retain: false, release: true);
}
/// callStruct16Block:
static Struct16 callStruct16Block(DartStruct16Block block) {
final _$$ref = block.ref;
return _objc_msgSend_52unem(
_class_SmallStructTester,
_sel_callStruct16Block_,
_$$ref.pointer,
);
}
/// callStruct24Block:
static Struct24 callStruct24Block(DartStruct24Block block) {
final _$$ref = block.ref;
final $ptr = pkg_ffi.calloc<Struct24>();
objc.useMsgSendVariants
? _objc_msgSend_dod749Stret(
$ptr,
_class_SmallStructTester,
_sel_callStruct24Block_,
_$$ref.pointer,
)
: $ptr.ref = _objc_msgSend_dod749(
_class_SmallStructTester,
_sel_callStruct24Block_,
_$$ref.pointer,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct24>($finalizable);
}
/// callStruct32Block:
static Struct32 callStruct32Block(DartStruct32Block block) {
final _$$ref = block.ref;
final $ptr = pkg_ffi.calloc<Struct32>();
objc.useMsgSendVariants
? _objc_msgSend_pqul40Stret(
$ptr,
_class_SmallStructTester,
_sel_callStruct32Block_,
_$$ref.pointer,
)
: $ptr.ref = _objc_msgSend_pqul40(
_class_SmallStructTester,
_sel_callStruct32Block_,
_$$ref.pointer,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct32>($finalizable);
}
/// callStruct8Block:
static Struct8 callStruct8Block(DartStruct8Block block) {
final _$$ref = block.ref;
return _objc_msgSend_12y327v(
_class_SmallStructTester,
_sel_callStruct8Block_,
_$$ref.pointer,
);
}
/// callUnion16Block:
static Union16 callUnion16Block(DartUnion16Block block) {
final _$$ref = block.ref;
return _objc_msgSend_f8uoqi(
_class_SmallStructTester,
_sel_callUnion16Block_,
_$$ref.pointer,
);
}
/// callUnion24Block:
static Union24 callUnion24Block(DartUnion24Block block) {
final _$$ref = block.ref;
final $ptr = pkg_ffi.calloc<Union24>();
objc.useMsgSendVariants
? _objc_msgSend_14sbhfpStret(
$ptr,
_class_SmallStructTester,
_sel_callUnion24Block_,
_$$ref.pointer,
)
: $ptr.ref = _objc_msgSend_14sbhfp(
_class_SmallStructTester,
_sel_callUnion24Block_,
_$$ref.pointer,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union24>($finalizable);
}
/// callUnion32Block:
static Union32 callUnion32Block(DartUnion32Block block) {
final _$$ref = block.ref;
final $ptr = pkg_ffi.calloc<Union32>();
objc.useMsgSendVariants
? _objc_msgSend_bycxucStret(
$ptr,
_class_SmallStructTester,
_sel_callUnion32Block_,
_$$ref.pointer,
)
: $ptr.ref = _objc_msgSend_bycxuc(
_class_SmallStructTester,
_sel_callUnion32Block_,
_$$ref.pointer,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union32>($finalizable);
}
/// callUnion8Block:
static Union8 callUnion8Block(DartUnion8Block block) {
final _$$ref = block.ref;
return _objc_msgSend_1dk1rdj(
_class_SmallStructTester,
_sel_callUnion8Block_,
_$$ref.pointer,
);
}
/// new
static SmallStructTester new$() {
final $ret = _objc_msgSend_151sglz(_class_SmallStructTester, _sel_new);
return SmallStructTester.fromPointer($ret, retain: false, release: true);
}
/// Returns a new instance of SmallStructTester constructed with the default `new` method.
SmallStructTester() : this.as(new$().object$);
}
extension SmallStructTester$Methods on SmallStructTester {
/// getStruct16Method
Struct16 getStruct16Method() {
final _$$ref = object$.ref;
return _objc_msgSend_1728cw3(_$$ref.pointer, _sel_getStruct16Method);
}
/// getStruct24Method
Struct24 getStruct24Method() {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Struct24>();
objc.useMsgSendVariants
? _objc_msgSend_cckn96Stret(
$ptr,
_$$ref.pointer,
_sel_getStruct24Method,
)
: $ptr.ref = _objc_msgSend_cckn96(
_$$ref.pointer,
_sel_getStruct24Method,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct24>($finalizable);
}
/// getStruct32Method
Struct32 getStruct32Method() {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Struct32>();
objc.useMsgSendVariants
? _objc_msgSend_1krpi0dStret(
$ptr,
_$$ref.pointer,
_sel_getStruct32Method,
)
: $ptr.ref = _objc_msgSend_1krpi0d(
_$$ref.pointer,
_sel_getStruct32Method,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct32>($finalizable);
}
/// getStruct8Method
Struct8 getStruct8Method() {
final _$$ref = object$.ref;
return _objc_msgSend_8lxd0c(_$$ref.pointer, _sel_getStruct8Method);
}
/// getUnion16Method
Union16 getUnion16Method() {
final _$$ref = object$.ref;
return _objc_msgSend_1j2v0w7(_$$ref.pointer, _sel_getUnion16Method);
}
/// getUnion24Method
Union24 getUnion24Method() {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Union24>();
objc.useMsgSendVariants
? _objc_msgSend_yygd0uStret($ptr, _$$ref.pointer, _sel_getUnion24Method)
: $ptr.ref = _objc_msgSend_yygd0u(
_$$ref.pointer,
_sel_getUnion24Method,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union24>($finalizable);
}
/// getUnion32Method
Union32 getUnion32Method() {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Union32>();
objc.useMsgSendVariants
? _objc_msgSend_9oml3tStret($ptr, _$$ref.pointer, _sel_getUnion32Method)
: $ptr.ref = _objc_msgSend_9oml3t(
_$$ref.pointer,
_sel_getUnion32Method,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union32>($finalizable);
}
/// getUnion8Method
Union8 getUnion8Method() {
final _$$ref = object$.ref;
return _objc_msgSend_qlggu8(_$$ref.pointer, _sel_getUnion8Method);
}
/// init
SmallStructTester init() {
final _$$ref = object$.ref;
objc.checkOsVersionInternal(
'SmallStructTester.init',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 0, 0)),
);
final $ret = _objc_msgSend_151sglz(
_$$ref.retainAndReturnPointer(),
_sel_init,
);
return SmallStructTester.fromPointer($ret, retain: false, release: true);
}
/// setStruct16Property:
set struct16Property(Struct16 value) {
final _$$ref = object$.ref;
_objc_msgSend_bc9ifz(_$$ref.pointer, _sel_setStruct16Property_, value);
}
/// setStruct24Property:
set struct24Property(Struct24 value) {
final _$$ref = object$.ref;
_objc_msgSend_qofdt8(_$$ref.pointer, _sel_setStruct24Property_, value);
}
/// setStruct32Property:
set struct32Property(Struct32 value) {
final _$$ref = object$.ref;
_objc_msgSend_1xk0msh(_$$ref.pointer, _sel_setStruct32Property_, value);
}
/// setStruct8Property:
set struct8Property(Struct8 value) {
final _$$ref = object$.ref;
_objc_msgSend_zho4aa(_$$ref.pointer, _sel_setStruct8Property_, value);
}
/// setUnion16Property:
set union16Property(Union16 value) {
final _$$ref = object$.ref;
_objc_msgSend_uj4el3(_$$ref.pointer, _sel_setUnion16Property_, value);
}
/// setUnion24Property:
set union24Property(Union24 value) {
final _$$ref = object$.ref;
_objc_msgSend_19s6byc(_$$ref.pointer, _sel_setUnion24Property_, value);
}
/// setUnion32Property:
set union32Property(Union32 value) {
final _$$ref = object$.ref;
_objc_msgSend_7qiyh(_$$ref.pointer, _sel_setUnion32Property_, value);
}
/// setUnion8Property:
set union8Property(Union8 value) {
final _$$ref = object$.ref;
_objc_msgSend_1yl1yru(_$$ref.pointer, _sel_setUnion8Property_, value);
}
/// struct16Property
Struct16 get struct16Property {
final _$$ref = object$.ref;
return _objc_msgSend_1728cw3(_$$ref.pointer, _sel_struct16Property);
}
/// struct24Property
Struct24 get struct24Property {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Struct24>();
objc.useMsgSendVariants
? _objc_msgSend_cckn96Stret($ptr, _$$ref.pointer, _sel_struct24Property)
: $ptr.ref = _objc_msgSend_cckn96(
_$$ref.pointer,
_sel_struct24Property,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct24>($finalizable);
}
/// struct32Property
Struct32 get struct32Property {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Struct32>();
objc.useMsgSendVariants
? _objc_msgSend_1krpi0dStret(
$ptr,
_$$ref.pointer,
_sel_struct32Property,
)
: $ptr.ref = _objc_msgSend_1krpi0d(
_$$ref.pointer,
_sel_struct32Property,
);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Struct32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Struct.create<Struct32>($finalizable);
}
/// struct8Property
Struct8 get struct8Property {
final _$$ref = object$.ref;
return _objc_msgSend_8lxd0c(_$$ref.pointer, _sel_struct8Property);
}
/// union16Property
Union16 get union16Property {
final _$$ref = object$.ref;
return _objc_msgSend_1j2v0w7(_$$ref.pointer, _sel_union16Property);
}
/// union24Property
Union24 get union24Property {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Union24>();
objc.useMsgSendVariants
? _objc_msgSend_yygd0uStret($ptr, _$$ref.pointer, _sel_union24Property)
: $ptr.ref = _objc_msgSend_yygd0u(_$$ref.pointer, _sel_union24Property);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union24>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union24>($finalizable);
}
/// union32Property
Union32 get union32Property {
final _$$ref = object$.ref;
final $ptr = pkg_ffi.calloc<Union32>();
objc.useMsgSendVariants
? _objc_msgSend_9oml3tStret($ptr, _$$ref.pointer, _sel_union32Property)
: $ptr.ref = _objc_msgSend_9oml3t(_$$ref.pointer, _sel_union32Property);
final $finalizable = $ptr.cast<ffi.Uint8>().asTypedList(
ffi.sizeOf<Union32>(),
finalizer: pkg_ffi.calloc.nativeFree,
);
return ffi.Union.create<Union32>($finalizable);
}
/// union8Property
Union8 get union8Property {
final _$$ref = object$.ref;
return _objc_msgSend_qlggu8(_$$ref.pointer, _sel_union8Property);
}
}
final class Struct16 extends ffi.Struct {
@ffi.Int64()
external int a;
@ffi.Int64()
external int b;
static ffi.Pointer<Struct16> $allocate(
ffi.Allocator $allocator, {
required int a,
required int b,
}) => $allocator<Struct16>()
..ref.a = a
..ref.b = b;
}
typedef Struct16Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartStruct16Block = objc.ObjCBlock<Struct16 Function()>;
final class Struct24 extends ffi.Struct {
@ffi.Int64()
external int a;
@ffi.Int64()
external int b;
@ffi.Int64()
external int c;
static ffi.Pointer<Struct24> $allocate(
ffi.Allocator $allocator, {
required int a,
required int b,
required int c,
}) => $allocator<Struct24>()
..ref.a = a
..ref.b = b
..ref.c = c;
}
typedef Struct24Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartStruct24Block = objc.ObjCBlock<Struct24 Function()>;
final class Struct32 extends ffi.Struct {
@ffi.Int64()
external int a;
@ffi.Int64()
external int b;
@ffi.Int64()
external int c;
@ffi.Int64()
external int d;
static ffi.Pointer<Struct32> $allocate(
ffi.Allocator $allocator, {
required int a,
required int b,
required int c,
required int d,
}) => $allocator<Struct32>()
..ref.a = a
..ref.b = b
..ref.c = c
..ref.d = d;
}
typedef Struct32Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartStruct32Block = objc.ObjCBlock<Struct32 Function()>;
final class Struct8 extends ffi.Struct {
@ffi.Int64()
external int a;
static ffi.Pointer<Struct8> $allocate(
ffi.Allocator $allocator, {
required int a,
}) => $allocator<Struct8>()..ref.a = a;
}
typedef Struct8Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartStruct8Block = objc.ObjCBlock<Struct8 Function()>;
final class Union16 extends ffi.Union {
@ffi.Int64()
external int a;
external Struct16 s;
}
typedef Union16Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartUnion16Block = objc.ObjCBlock<Union16 Function()>;
final class Union24 extends ffi.Union {
@ffi.Int64()
external int a;
external Struct24 s;
}
typedef Union24Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartUnion24Block = objc.ObjCBlock<Union24 Function()>;
final class Union32 extends ffi.Union {
@ffi.Int64()
external int a;
external Struct32 s;
}
typedef Union32Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartUnion32Block = objc.ObjCBlock<Union32 Function()>;
final class Union8 extends ffi.Union {
@ffi.Int64()
external int a;
}
typedef Union8Block = ffi.Pointer<objc.ObjCBlockImpl>;
typedef DartUnion8Block = objc.ObjCBlock<Union8 Function()>;
@ffi.Native<ffi.Pointer<objc.ObjCObjectImpl>>(
symbol: 'OBJC_CLASS_\$_SmallStructTester',
)
external ffi.Pointer<objc.ObjCObjectImpl> _class_SmallStructTester_raw;
final _class_SmallStructTester = objc.getClass(
"SmallStructTester",
() => ffi.Native.addressOf<ffi.Pointer<objc.ObjCObjectImpl>>(
_class_SmallStructTester_raw,
).cast(),
);
final _objc_msgSend_12y327v = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Struct8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_14sbhfp = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Union24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_14sbhfpStret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Union24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Union24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_151sglz = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Pointer<objc.ObjCObjectImpl> Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
ffi.Pointer<objc.ObjCObjectImpl> Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_1728cw3 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Struct16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_19nvye5 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Bool Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCObjectImpl>,
)
>
>()
.asFunction<
bool Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCObjectImpl>,
)
>();
final _objc_msgSend_19s6byc = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union24,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union24,
)
>();
final _objc_msgSend_1cwp428 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Pointer<objc.ObjCObjectImpl> Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.NSZone>,
)
>
>()
.asFunction<
ffi.Pointer<objc.ObjCObjectImpl> Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.NSZone>,
)
>();
final _objc_msgSend_1dk1rdj = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Union8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_1j2v0w7 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Union16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_1krpi0d = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Struct32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_1krpi0dStret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Struct32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Struct32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_1xk0msh = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct32,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct32,
)
>();
final _objc_msgSend_1yl1yru = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union8,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union8,
)
>();
final _objc_msgSend_52unem = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Struct16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_7qiyh = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union32,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union32,
)
>();
final _objc_msgSend_8lxd0c = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Struct8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_9oml3t = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Union32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_9oml3tStret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Union32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Union32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_bc9ifz = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct16,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct16,
)
>();
final _objc_msgSend_bycxuc = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Union32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_bycxucStret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Union32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Union32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_cckn96 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Struct24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_cckn96Stret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Struct24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Struct24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_dod749 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Struct24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_dod749Stret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Struct24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Struct24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_f8uoqi = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Union16 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_pqul40 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Struct32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
Struct32 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_pqul40Stret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Struct32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Struct32>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>();
final _objc_msgSend_qlggu8 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Union8 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_qofdt8 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct24,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct24,
)
>();
final _objc_msgSend_uj4el3 = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union16,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Union16,
)
>();
final _objc_msgSend_yygd0u = objc.msgSendPointer
.cast<
ffi.NativeFunction<
Union24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
Union24 Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_yygd0uStret = objc.msgSendStretPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<Union24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<Union24>,
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
)
>();
final _objc_msgSend_zho4aa = objc.msgSendPointer
.cast<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct8,
)
>
>()
.asFunction<
void Function(
ffi.Pointer<objc.ObjCObjectImpl>,
ffi.Pointer<objc.ObjCSelector>,
Struct8,
)
>();
late final _sel_alloc = objc.registerName("alloc");
late final _sel_allocWithZone_ = objc.registerName("allocWithZone:");
late final _sel_callStruct16Block_ = objc.registerName("callStruct16Block:");
late final _sel_callStruct24Block_ = objc.registerName("callStruct24Block:");
late final _sel_callStruct32Block_ = objc.registerName("callStruct32Block:");
late final _sel_callStruct8Block_ = objc.registerName("callStruct8Block:");
late final _sel_callUnion16Block_ = objc.registerName("callUnion16Block:");
late final _sel_callUnion24Block_ = objc.registerName("callUnion24Block:");
late final _sel_callUnion32Block_ = objc.registerName("callUnion32Block:");
late final _sel_callUnion8Block_ = objc.registerName("callUnion8Block:");
late final _sel_getStruct16Method = objc.registerName("getStruct16Method");
late final _sel_getStruct24Method = objc.registerName("getStruct24Method");
late final _sel_getStruct32Method = objc.registerName("getStruct32Method");
late final _sel_getStruct8Method = objc.registerName("getStruct8Method");
late final _sel_getUnion16Method = objc.registerName("getUnion16Method");
late final _sel_getUnion24Method = objc.registerName("getUnion24Method");
late final _sel_getUnion32Method = objc.registerName("getUnion32Method");
late final _sel_getUnion8Method = objc.registerName("getUnion8Method");
late final _sel_init = objc.registerName("init");
late final _sel_isKindOfClass_ = objc.registerName("isKindOfClass:");
late final _sel_new = objc.registerName("new");
late final _sel_setStruct16Property_ = objc.registerName(
"setStruct16Property:",
);
late final _sel_setStruct24Property_ = objc.registerName(
"setStruct24Property:",
);
late final _sel_setStruct32Property_ = objc.registerName(
"setStruct32Property:",
);
late final _sel_setStruct8Property_ = objc.registerName("setStruct8Property:");
late final _sel_setUnion16Property_ = objc.registerName("setUnion16Property:");
late final _sel_setUnion24Property_ = objc.registerName("setUnion24Property:");
late final _sel_setUnion32Property_ = objc.registerName("setUnion32Property:");
late final _sel_setUnion8Property_ = objc.registerName("setUnion8Property:");
late final _sel_struct16Property = objc.registerName("struct16Property");
late final _sel_struct24Property = objc.registerName("struct24Property");
late final _sel_struct32Property = objc.registerName("struct32Property");
late final _sel_struct8Property = objc.registerName("struct8Property");
late final _sel_union16Property = objc.registerName("union16Property");
late final _sel_union24Property = objc.registerName("union24Property");
late final _sel_union32Property = objc.registerName("union32Property");
late final _sel_union8Property = objc.registerName("union8Property");
typedef instancetype = ffi.Pointer<objc.ObjCObjectImpl>;
typedef Dartinstancetype = objc.ObjCObject;