From 54b2932098ae5ffe9ccb0658bdc7ccf9f9d7a655 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 8 Feb 2023 11:50:06 +0100 Subject: [PATCH] [flutter] Docs, add Bone.updateAppliedTransform(). --- spine-cpp/spine-cpp/include/spine/Bone.h | 12 +- spine-flutter/lib/spine_flutter.dart | 341 +- .../lib/spine_flutter_bindings_generated.dart | 4969 +++++++++++------ spine-flutter/src/spine_flutter.cpp | 6 + spine-flutter/src/spine_flutter.h | 1 + 5 files changed, 3577 insertions(+), 1752 deletions(-) diff --git a/spine-cpp/spine-cpp/include/spine/Bone.h b/spine-cpp/spine-cpp/include/spine/Bone.h index d3643514b..83bd7a391 100644 --- a/spine-cpp/spine-cpp/include/spine/Bone.h +++ b/spine-cpp/spine-cpp/include/spine/Bone.h @@ -113,6 +113,12 @@ namespace spine { void updateWorldTransform(float x, float y, float rotation, float scaleX, float scaleY, float shearX, float shearY); + /// Computes the individual applied transform values from the world transform. This can be useful to perform processing using + /// the applied transform after the world transform has been modified directly (eg, by a constraint).. + /// + /// Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation. + void updateAppliedTransform(); + void setToSetupPose(); void worldToLocal(float worldX, float worldY, float &outLocalX, float &outLocalY); @@ -260,12 +266,6 @@ namespace spine { float _c, _d, _worldY; bool _sorted; bool _active; - - /// Computes the individual applied transform values from the world transform. This can be useful to perform processing using - /// the applied transform after the world transform has been modified directly (eg, by a constraint).. - /// - /// Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation. - void updateAppliedTransform(); }; } diff --git a/spine-flutter/lib/spine_flutter.dart b/spine-flutter/lib/spine_flutter.dart index fc4a4645f..02baf1b7c 100644 --- a/spine-flutter/lib/spine_flutter.dart +++ b/spine-flutter/lib/spine_flutter.dart @@ -35,6 +35,8 @@ int minorVersion() => _bindings.spine_minor_version(); void reportLeaks() => _bindings.spine_report_leaks(); +/// A color made of red, green, blue, and alpha components, +/// ranging from 0-1. class Color { double r; double g; @@ -44,6 +46,8 @@ class Color { Color(this.r, this.g, this.b, this.a); } +/// Bounds denoted by the top left corner coordinates [x] and [y] +/// and the [width] and [height]. class Bounds { double x; double y; @@ -53,6 +57,7 @@ class Bounds { Bounds(this.x, this.y, this.width, this.height); } +/// A two-dimensional vector with [x] and [y] components. class Vec2 { double x; double y; @@ -60,6 +65,12 @@ class Vec2 { Vec2(this.x, this.y); } +/// Atlas data loaded from a `.atlas` file and its corresponding `.png` files. For each atlas image, +/// a corresponding [Image] and [Paint] is constructed, which are used when rendering a skeleton +/// that uses this atlas. +/// +/// Use the static methods [fromAsset], [fromFile], and [fromHttp] to load an atlas. Call [dispose] +/// when the atlas is no longer in use to release its resources. class Atlas { final spine_atlas _atlas; final List atlasPages; @@ -101,21 +112,33 @@ class Atlas { return Atlas._(atlas, atlasPages, atlasPagePaints); } + /// Loads an [Atlas] from the file [atlasFileName] in the root bundle or the optionally provided [bundle]. + /// + /// Throws an [Exception] in case the atlas could not be loaded. static Future fromAsset(String atlasFileName, {AssetBundle? bundle}) async { bundle ??= rootBundle; return _load(atlasFileName, (file) async => (await bundle!.load(file)).buffer.asUint8List()); } + /// Loads an [Atlas] from the file [atlasFileName]. + /// + /// Throws an [Exception] in case the atlas could not be loaded. static Future fromFile(String atlasFileName) async { return _load(atlasFileName, (file) => File(file).readAsBytes()); } - static Future fromUrl(String atlasFileName) async { - return _load(atlasFileName, (file) async { + /// Loads an [Atlas] from the URL [atlasURL]. + /// + /// Throws an [Exception] in case the atlas could not be loaded. + static Future fromHttp(String atlasURL) async { + return _load(atlasURL, (file) async { return (await http.get(Uri.parse(file))).bodyBytes; }); } + /// Disposes the (native) resources of this atlas. The atlas can no longer be + /// used after calling this function. Only the first call to this method will + /// have an effect. Subsequent calls are ignored. void dispose() { if (_disposed) return; _disposed = true; @@ -126,12 +149,28 @@ class Atlas { } } +/// Skeleton data loaded from a skeleton `.json` or `.skel` file. Contains bones, slots, constraints, +/// skins, animations, and so on making up a skeleton. Also contains meta data such as the skeletons +/// setup pose bounding box, the Spine editor version it was exported from, and so on. +/// +/// Skeleton data is stateless. Stateful [Skeleton] instances can be constructed from a [SkeletonData] instance. +/// A single [SkeletonData] instance can be shared by multiple [Skeleton] instances. +/// +/// Use the static methods [fromJson], [fromBinary], [fromAsset], [fromFile], and [fromURL] to load +/// skeleton data. Call [dispose] when the skeleton data is no longer in use to free its resources. +/// +/// See [Data objects](http://esotericsoftware.com/spine-runtime-architecture#Data-objects) in the Spine +/// Runtimes Guide. class SkeletonData { final spine_skeleton_data _data; bool _disposed; SkeletonData._(this._data) : _disposed = false; + /// Loads a [SkeletonData] from the [json] string, using the provided [atlas] to resolve attachment + /// images. + /// + /// Throws an [Exception] in case the atlas could not be loaded. static SkeletonData fromJson(Atlas atlas, String json) { final jsonNative = json.toNativeUtf8(allocator: _allocator); final result = _bindings.spine_skeleton_data_load_json(atlas._atlas, jsonNative.cast()); @@ -147,6 +186,10 @@ class SkeletonData { return data; } + /// Loads a [SkeletonData] from the [binary] skeleton data, using the provided [atlas] to resolve attachment + /// images. + /// + /// Throws an [Exception] in case the skeleton data could not be loaded. static SkeletonData fromBinary(Atlas atlas, Uint8List binary) { final Pointer binaryNative = _allocator.allocate(binary.lengthInBytes); binaryNative.asTypedList(binary.lengthInBytes).setAll(0, binary); @@ -163,6 +206,11 @@ class SkeletonData { return data; } + + /// Loads a [SkeletonData] from the file [skeletonFile] in the root bundle or the optionally provided [bundle]. + /// Uses the provided [atlas] to resolve attachment images. + /// + /// Throws an [Exception] in case the skeleton data could not be loaded. static Future fromAsset(Atlas atlas, String skeletonFile, {AssetBundle? bundle}) async { bundle ??= rootBundle; if (skeletonFile.endsWith(".json")) { @@ -172,6 +220,9 @@ class SkeletonData { } } + /// Loads a [SkeletonData] from the file [skeletonFile]. Uses the provided [atlas] to resolve attachment images. + /// + /// Throws an [Exception] in case the skeleton data could not be loaded. static Future fromFile(Atlas atlas, String skeletonFile) async { if (skeletonFile.endsWith(".json")) { return fromJson(atlas, convert.utf8.decode(await File(skeletonFile).readAsBytes())); @@ -180,100 +231,17 @@ class SkeletonData { } } - static Future fromHttp(Atlas atlas, String skeletonFile) async { - if (skeletonFile.endsWith(".json")) { - return fromJson(atlas, convert.utf8.decode((await http.get(Uri.parse(skeletonFile))).bodyBytes)); + /// Loads a [SkeletonData] from the URL [skeletonURL]. Uses the provided [atlas] to resolve attachment images. + /// + /// Throws an [Exception] in case the skeleton data could not be loaded. + static Future fromHttp(Atlas atlas, String skeletonURL) async { + if (skeletonURL.endsWith(".json")) { + return fromJson(atlas, convert.utf8.decode((await http.get(Uri.parse(skeletonURL))).bodyBytes)); } else { - return fromBinary(atlas, (await http.get(Uri.parse(skeletonFile))).bodyBytes); + return fromBinary(atlas, (await http.get(Uri.parse(skeletonURL))).bodyBytes); } } - /// Finds a bone by comparing each bone's name. It is more efficient to cache the results of this method than to call it multiple times. - BoneData? findBone(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final bone = _bindings.spine_skeleton_data_find_bone(_data, nativeName.cast()); - _allocator.free(nativeName); - if (bone.address == nullptr.address) return null; - return BoneData._(bone); - } - - /// Finds a slot by comparing each slot's name. It is more efficient to cache the results of this method than to call it multiple times. - SlotData? findSlot(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final slot = _bindings.spine_skeleton_data_find_slot(_data, nativeName.cast()); - _allocator.free(nativeName); - if (slot.address == nullptr.address) return null; - return SlotData._(slot); - } - - /// Finds a skin by comparing each skin's name. It is more efficient to cache the results of this method than to call it - /// multiple times. - Skin? findSkin(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final skin = _bindings.spine_skeleton_data_find_skin(_data, nativeName.cast()); - _allocator.free(nativeName); - if (skin.address == nullptr.address) return null; - return Skin._(skin); - } - - /// Finds an event by comparing each events's name. It is more efficient to cache the results of this method than to call it - /// multiple times. - EventData? findEvent(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final event = _bindings.spine_skeleton_data_find_event(_data, nativeName.cast()); - _allocator.free(nativeName); - if (event.address == nullptr.address) return null; - return EventData._(event); - } - - /// Finds an animation by comparing each animation's name. It is more efficient to cache the results of this method than to - /// call it multiple times. - Animation? findAnimation(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final animation = _bindings.spine_skeleton_data_find_animation(_data, nativeName.cast()); - _allocator.free(nativeName); - if (animation.address == nullptr.address) return null; - return Animation._(animation); - } - - /// Finds an IK constraint by comparing each IK constraint's name. It is more efficient to cache the results of this method - /// than to call it multiple times. - IkConstraintData? findIkConstraint(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final constraint = _bindings.spine_skeleton_data_find_ik_constraint(_data, nativeName.cast()); - _allocator.free(nativeName); - if (constraint.address == nullptr.address) return null; - return IkConstraintData._(constraint); - } - - /// Finds a transform constraint by comparing each transform constraint's name. It is more efficient to cache the results of - /// this method than to call it multiple times. - TransformConstraintData? findTransformConstraint(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final constraint = _bindings.spine_skeleton_data_find_transform_constraint(_data, nativeName.cast()); - _allocator.free(nativeName); - if (constraint.address == nullptr.address) return null; - return TransformConstraintData._(constraint); - } - - /// Finds a path constraint by comparing each path constraint's name. It is more efficient to cache the results of this method - /// than to call it multiple times. - PathConstraintData? findPathConstraint(String name) { - final nativeName = name.toNativeUtf8(allocator: _allocator); - final constraint = _bindings.spine_skeleton_data_find_path_constraint(_data, nativeName.cast()); - _allocator.free(nativeName); - if (constraint.address == nullptr.address) return null; - return PathConstraintData._(constraint); - } - - /// The skeleton's name, which by default is the name of the skeleton data file when possible, or null when a name hasn't been - /// set. - String? getName() { - Pointer name = _bindings.spine_skeleton_data_get_name(_data).cast(); - if (name.address == nullptr.address) return null; - return name.toDartString(); - } - /// The skeleton's bones, sorted parent first. The root bone is always the first bone. List getBones() { final List bones = []; @@ -285,6 +253,15 @@ class SkeletonData { return bones; } + /// Finds a bone by comparing each bone's name. It is more efficient to cache the results of this method than to call it multiple times. + BoneData? findBone(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final bone = _bindings.spine_skeleton_data_find_bone(_data, nativeName.cast()); + _allocator.free(nativeName); + if (bone.address == nullptr.address) return null; + return BoneData._(bone); + } + /// The skeleton's slots. List getSlots() { final List slots = []; @@ -296,6 +273,15 @@ class SkeletonData { return slots; } + /// Finds a slot by comparing each slot's name. It is more efficient to cache the results of this method than to call it multiple times. + SlotData? findSlot(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final slot = _bindings.spine_skeleton_data_find_slot(_data, nativeName.cast()); + _allocator.free(nativeName); + if (slot.address == nullptr.address) return null; + return SlotData._(slot); + } + /// All skins, including the default skin. List getSkins() { final List skins = []; @@ -322,6 +308,16 @@ class SkeletonData { } } + /// Finds a skin by comparing each skin's name. It is more efficient to cache the results of this method than to call it + /// multiple times. + Skin? findSkin(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final skin = _bindings.spine_skeleton_data_find_skin(_data, nativeName.cast()); + _allocator.free(nativeName); + if (skin.address == nullptr.address) return null; + return Skin._(skin); + } + /// The skeleton's events. List getEvents() { final List events = []; @@ -333,6 +329,17 @@ class SkeletonData { return events; } + /// Finds an event by comparing each events's name. It is more efficient to cache the results of this method than to call it + /// multiple times. + EventData? findEvent(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final event = _bindings.spine_skeleton_data_find_event(_data, nativeName.cast()); + _allocator.free(nativeName); + if (event.address == nullptr.address) return null; + return EventData._(event); + } + + /// The skeleton's animations. List getAnimations() { final List events = []; @@ -344,6 +351,16 @@ class SkeletonData { return events; } + /// Finds an animation by comparing each animation's name. It is more efficient to cache the results of this method than to + /// call it multiple times. + Animation? findAnimation(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final animation = _bindings.spine_skeleton_data_find_animation(_data, nativeName.cast()); + _allocator.free(nativeName); + if (animation.address == nullptr.address) return null; + return Animation._(animation); + } + /// The skeleton's IK constraints. List getIkConstraints() { final List constraints = []; @@ -355,6 +372,16 @@ class SkeletonData { return constraints; } + /// Finds an IK constraint by comparing each IK constraint's name. It is more efficient to cache the results of this method + /// than to call it multiple times. + IkConstraintData? findIkConstraint(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final constraint = _bindings.spine_skeleton_data_find_ik_constraint(_data, nativeName.cast()); + _allocator.free(nativeName); + if (constraint.address == nullptr.address) return null; + return IkConstraintData._(constraint); + } + /// The skeleton's transform constraints. List getTransformConstraints() { final List constraints = []; @@ -366,6 +393,16 @@ class SkeletonData { return constraints; } + /// Finds a transform constraint by comparing each transform constraint's name. It is more efficient to cache the results of + /// this method than to call it multiple times. + TransformConstraintData? findTransformConstraint(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final constraint = _bindings.spine_skeleton_data_find_transform_constraint(_data, nativeName.cast()); + _allocator.free(nativeName); + if (constraint.address == nullptr.address) return null; + return TransformConstraintData._(constraint); + } + /// The skeleton's path constraints. List getPathConstraints() { final List constraints = []; @@ -377,6 +414,24 @@ class SkeletonData { return constraints; } + /// Finds a path constraint by comparing each path constraint's name. It is more efficient to cache the results of this method + /// than to call it multiple times. + PathConstraintData? findPathConstraint(String name) { + final nativeName = name.toNativeUtf8(allocator: _allocator); + final constraint = _bindings.spine_skeleton_data_find_path_constraint(_data, nativeName.cast()); + _allocator.free(nativeName); + if (constraint.address == nullptr.address) return null; + return PathConstraintData._(constraint); + } + + /// The skeleton's name, which by default is the name of the skeleton data file when possible, or null when a name hasn't been + /// set. + String? getName() { + Pointer name = _bindings.spine_skeleton_data_get_name(_data).cast(); + if (name.address == nullptr.address) return null; + return name.toDartString(); + } + /// The X coordinate of the skeleton's axis aligned bounding box in the setup pose. double getX() { return _bindings.spine_skeleton_data_get_x(_data); @@ -446,6 +501,9 @@ class SkeletonData { return _bindings.spine_skeleton_data_get_fps(_data); } + /// Disposes the (native) resources of this skeleton data. The skeleton data can no longer be + /// used after calling this function. Only the first call to this method will + /// have an effect. Subsequent calls are ignored. void dispose() { if (_disposed) return; _disposed = true; @@ -453,6 +511,8 @@ class SkeletonData { } } +/// Determines how images are blended with existing pixels when drawn. See [Blending](http://esotericsoftware.com/spine-slots#Blending) in +/// the Spine User Guide. enum BlendMode { normal(0), additive(1), @@ -464,6 +524,8 @@ enum BlendMode { const BlendMode(this.value); } +/// Determines how a bone inherits world transforms from parent bones. See [Transform inheritance](esotericsoftware.com/spine-bones#Transform-inheritance) +/// in the Spine User Guide. enum TransformMode { normal(0), onlyTranslation(1), @@ -476,6 +538,9 @@ enum TransformMode { const TransformMode(this.value); } +/// Controls how the first bone is positioned along the path. +/// +/// See [Position mode](http://esotericsoftware.com/spine-path-constraints#Position-mode) in the Spine User Guide. enum PositionMode { fixed(0), percent(1); @@ -485,6 +550,9 @@ enum PositionMode { const PositionMode(this.value); } +/// Controls how bones after the first bone are positioned along the path. +/// +/// See [Spacing mode](http://esotericsoftware.com/spine-path-constraints#Spacing-mode) in the Spine User Guide. enum SpacingMode { length(0), fixed(1), @@ -496,6 +564,9 @@ enum SpacingMode { const SpacingMode(this.value); } +/// Controls how bones are rotated, translated, and scaled to match the path. +/// +/// See [Rotate mode](http://esotericsoftware.com/spine-path-constraints#Rotate-mode) in the Spine User Guide. enum RotateMode { tangent(0), chain(1), @@ -506,26 +577,31 @@ enum RotateMode { const RotateMode(this.value); } +/// Stores the setup pose for a [Bone]. class BoneData { final spine_bone_data _data; BoneData._(this._data); + /// The index of the bone in [Skeleton.getBones]. int getIndex() { return _bindings.spine_bone_data_get_index(_data); } + /// The name of the bone, which is unique across all bones in the skeleton. String getName() { Pointer name = _bindings.spine_bone_data_get_name(_data).cast(); return name.toDartString(); } + /// The parent bone or `null` if this is the root bone. BoneData? getParent() { final parent = _bindings.spine_bone_data_get_parent(_data); if (parent.address == nullptr.address) return null; return BoneData._(parent); } + /// The bone's length. double getLength() { return _bindings.spine_bone_data_get_length(_data); } @@ -534,6 +610,7 @@ class BoneData { _bindings.spine_bone_data_set_length(_data, length); } + /// The local x translation. double getX() { return _bindings.spine_bone_data_get_x(_data); } @@ -542,6 +619,7 @@ class BoneData { _bindings.spine_bone_data_set_x(_data, x); } + /// The local y translation. double getY() { return _bindings.spine_bone_data_get_y(_data); } @@ -550,6 +628,7 @@ class BoneData { _bindings.spine_bone_data_set_y(_data, y); } + /// The local rotation in degrees. double getRotation() { return _bindings.spine_bone_data_get_rotation(_data); } @@ -558,6 +637,7 @@ class BoneData { _bindings.spine_bone_data_set_rotation(_data, rotation); } + /// The local scaleX. double getScaleX() { return _bindings.spine_bone_data_get_scale_x(_data); } @@ -566,6 +646,7 @@ class BoneData { _bindings.spine_bone_data_set_scale_x(_data, scaleX); } + /// The local scaleY. double getScaleY() { return _bindings.spine_bone_data_get_scale_y(_data); } @@ -574,6 +655,7 @@ class BoneData { _bindings.spine_bone_data_set_scale_y(_data, scaleY); } + /// The local shearX. double getShearX() { return _bindings.spine_bone_data_get_shear_x(_data); } @@ -582,6 +664,7 @@ class BoneData { _bindings.spine_bone_data_set_shear_x(_data, shearX); } + /// The local shearY. double getShearY() { return _bindings.spine_bone_data_get_shear_y(_data); } @@ -590,6 +673,7 @@ class BoneData { _bindings.spine_bone_data_set_shear_y(_data, shearY); } + /// The [TransformMode] for how parent world transforms affect this bone. TransformMode getTransformMode() { final nativeMode = _bindings.spine_bone_data_get_transform_mode(_data); return TransformMode.values[nativeMode]; @@ -599,6 +683,9 @@ class BoneData { _bindings.spine_bone_data_set_transform_mode(_data, mode.value); } + /// When true, [Skeleton.updateWorldTransform] only updates this bone if the [Skeleton.getSkin] contains this bone. + /// + /// See [Skin.getBones]. bool isSkinRequired() { return _bindings.spine_bone_data_is_skin_required(_data) == -1; } @@ -607,6 +694,8 @@ class BoneData { _bindings.spine_bone_data_set_is_skin_required(_data, isSkinRequired ? -1 : 0); } + /// The [Color] of the bone as it was in Spine, or a default color if nonessential data was not exported. Bones are not usually + /// rendered at runtime. Color getColor() { final color = _bindings.spine_bone_data_get_color(_data); return Color(_bindings.spine_color_get_r(color), _bindings.spine_color_get_g(color), _bindings.spine_color_get_b(color), @@ -623,11 +712,17 @@ class BoneData { } } +/// Stores a bone's current pose. +/// +/// A bone has a local transform which is used to compute its world transform. A bone also has an applied transform, which is a +/// local transform that can be applied to compute the world transform. The local transform and applied transform may differ if a +/// constraint or application code modifies the world transform after it was computed from the local transform. class Bone { final spine_bone _bone; Bone._(this._bone); + /// Assume y-axis pointing down for all calculations. static void setIsYDown(bool isYDown) { _bindings.spine_bone_set_is_y_down(isYDown ? -1 : 0); } @@ -636,22 +731,45 @@ class Bone { return _bindings.spine_bone_get_is_y_down() == 1; } + /// Computes the world transform using the parent bone and this bone's local applied transform. void update() { _bindings.spine_bone_update(_bone); } + /// Computes the world transform using the parent bone and this bone's local transform. + /// + /// See [updateWorldTransformWith]. void updateWorldTransform() { _bindings.spine_bone_update_world_transform(_bone); } + /// Computes the world transform using the parent bone and the specified local transform. The applied transform is set to the + /// specified local transform. Child bones are not updated. + /// + /// See [World transform](http://esotericsoftware.com/spine-runtime-skeletons#World-transforms) in the Spine + /// Runtimes Guide. void updateWorldTransformWith(double x, double y, double rotation, double scaleX, double scaleY, double shearX, double shearY) { _bindings.spine_bone_update_world_transform_with(_bone, x, y, rotation, scaleX, scaleY, shearX, shearY); } + /// Computes the applied transform values from the world transform. + /// + /// If the world transform is modified (by a constraint, [rotateWorld], etc) then this method should be called so + /// the applied transform matches the world transform. The applied transform may be needed by other code (eg to apply another + /// constraint). + /// + /// Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation. The applied transform after + /// calling this method is equivalent to the local transform used to compute the world transform, but may not be identical. + void updateAppliedTransform() { + _bindings.spine_bone_update_applied_transform(_bone); + } + + /// Sets this bone's local transform to the setup pose. void setToSetupPose() { _bindings.spine_bone_set_to_setup_pose(_bone); } + /// Transforms a point from world coordinates to the bone's local coordinates. Vec2 worldToLocal(double worldX, double worldY) { final local = _bindings.spine_bone_world_to_local(_bone, worldX, worldY); final result = Vec2(_bindings.spine_vector_get_x(local), _bindings.spine_vector_get_y(local)); @@ -659,6 +777,7 @@ class Bone { return result; } + /// Transforms a point from the bone's local coordinates to world coordinates. Vec2 localToWorld(double localX, double localY) { final world = _bindings.spine_bone_local_to_world(_bone, localX, localY); final result = Vec2(_bindings.spine_vector_get_x(world), _bindings.spine_vector_get_y(world)); @@ -666,14 +785,20 @@ class Bone { return result; } + /// Transforms a world rotation to a local rotation. double worldToLocalRotation(double worldRotation) { return _bindings.spine_bone_world_to_local_rotation(_bone, worldRotation); } + /// Transforms a local rotation to a world rotation. double localToWorldRotation(double localRotation) { return _bindings.spine_bone_local_to_world_rotation(_bone, localRotation); } + /// Rotates the world transform the specified amount. + /// + /// After changes are made to the world transform, [updateAppliedTransform] should be called and [update] will + /// need to be called on any child bones, recursively. void rotateWorld(double degrees) { _bindings.spine_bone_rotate_world(_bone, degrees); } @@ -686,20 +811,24 @@ class Bone { return _bindings.spine_bone_get_world_to_local_rotation_y(_bone); } + /// The bone's setup pose data. BoneData getData() { return BoneData._(_bindings.spine_bone_get_data(_bone)); } + /// The skeleton this bone belongs to. Skeleton getSkeleton() { return Skeleton._(_bindings.spine_bone_get_skeleton(_bone)); } + /// The parent bone, or null if this is the root bone. Bone? getParent() { final parent = _bindings.spine_bone_get_parent(_bone); if (parent.address == nullptr.address) return null; return Bone._(parent); } + /// The immediate children of this bone. List getChildren() { List children = []; final numChildren = _bindings.spine_bone_get_num_children(_bone); @@ -710,6 +839,7 @@ class Bone { return children; } + /// The local x translation. double getX() { return _bindings.spine_bone_get_x(_bone); } @@ -718,6 +848,7 @@ class Bone { _bindings.spine_bone_set_x(_bone, x); } + /// The local y translation. double getY() { return _bindings.spine_bone_get_y(_bone); } @@ -726,6 +857,7 @@ class Bone { _bindings.spine_bone_set_y(_bone, y); } + /// The local rotation in degrees, counter clockwise. double getRotation() { return _bindings.spine_bone_get_rotation(_bone); } @@ -734,6 +866,7 @@ class Bone { _bindings.spine_bone_set_rotation(_bone, rotation); } + /// The local scaleX. double getScaleX() { return _bindings.spine_bone_get_scale_x(_bone); } @@ -742,6 +875,7 @@ class Bone { _bindings.spine_bone_set_scale_x(_bone, scaleX); } + /// The local scaleY. double getScaleY() { return _bindings.spine_bone_get_scale_y(_bone); } @@ -750,6 +884,7 @@ class Bone { _bindings.spine_bone_set_scale_y(_bone, scaleY); } + /// The local shearX. double getShearX() { return _bindings.spine_bone_get_shear_x(_bone); } @@ -758,6 +893,7 @@ class Bone { _bindings.spine_bone_set_shear_x(_bone, shearX); } + /// The local shearY. double getShearY() { return _bindings.spine_bone_get_shear_y(_bone); } @@ -766,6 +902,7 @@ class Bone { _bindings.spine_bone_set_shear_y(_bone, shearY); } + /// The applied local x translation. double getAX() { return _bindings.spine_bone_get_a_x(_bone); } @@ -774,6 +911,7 @@ class Bone { _bindings.spine_bone_set_a_x(_bone, x); } + /// The applied local y translation. double getAY() { return _bindings.spine_bone_get_a_y(_bone); } @@ -782,6 +920,7 @@ class Bone { _bindings.spine_bone_set_a_y(_bone, y); } + /// The applied local rotation in degrees, counter clockwise. double getAppliedRotation() { return _bindings.spine_bone_get_applied_rotation(_bone); } @@ -790,6 +929,7 @@ class Bone { _bindings.spine_bone_set_applied_rotation(_bone, rotation); } + /// The applied local scaleX. double getAScaleX() { return _bindings.spine_bone_get_a_scale_x(_bone); } @@ -798,6 +938,7 @@ class Bone { _bindings.spine_bone_set_a_scale_x(_bone, scaleX); } + /// The applied local scaleY. double getAScaleY() { return _bindings.spine_bone_get_a_scale_y(_bone); } @@ -806,6 +947,7 @@ class Bone { _bindings.spine_bone_set_a_scale_y(_bone, scaleY); } + /// The applied local shearX. double getAShearX() { return _bindings.spine_bone_get_a_shear_x(_bone); } @@ -814,6 +956,7 @@ class Bone { _bindings.spine_bone_set_a_shear_x(_bone, shearX); } + /// The applied local shearY. double getAShearY() { return _bindings.spine_bone_get_a_shear_y(_bone); } @@ -822,6 +965,7 @@ class Bone { _bindings.spine_bone_set_a_shear_y(_bone, shearY); } + /// Part of the world transform matrix for the X axis. If changed, [updateAppliedTransform] should be called. double getA() { return _bindings.spine_bone_get_a(_bone); } @@ -830,6 +974,7 @@ class Bone { _bindings.spine_bone_set_a(_bone, a); } + /// Part of the world transform matrix for the Y axis. If changed, [updateAppliedTransform] should be called. double getB() { return _bindings.spine_bone_get_b(_bone); } @@ -838,6 +983,7 @@ class Bone { _bindings.spine_bone_set_b(_bone, b); } + /// Part of the world transform matrix for the X axis. If changed, [updateAppliedTransform] should be called. double getC() { return _bindings.spine_bone_get_c(_bone); } @@ -846,6 +992,7 @@ class Bone { _bindings.spine_bone_set_c(_bone, c); } + /// Part of the world transform matrix for the Y axis. If changed, [updateAppliedTransform] should be called. double getD() { return _bindings.spine_bone_get_d(_bone); } @@ -854,6 +1001,7 @@ class Bone { _bindings.spine_bone_set_a(_bone, d); } + /// The world X position. If changed, [updateAppliedTransform] should be called. double getWorldX() { return _bindings.spine_bone_get_world_x(_bone); } @@ -862,6 +1010,7 @@ class Bone { _bindings.spine_bone_set_world_x(_bone, worldX); } + /// The world Y position. If changed, [updateAppliedTransform] should be called. double getWorldY() { return _bindings.spine_bone_get_world_y(_bone); } @@ -870,22 +1019,28 @@ class Bone { _bindings.spine_bone_set_world_y(_bone, worldY); } + /// The world rotation for the X axis, calculated using [getA] and [getC]. double getWorldRotationX() { return _bindings.spine_bone_get_world_rotation_x(_bone); } + /// The world rotation for the Y axis, calculated using [getB] and [getD]. double getWorldRotationY() { return _bindings.spine_bone_get_world_rotation_y(_bone); } + /// The magnitude (always positive) of the world scale X, calculated using [getA] and [getC]. double getWorldScaleX() { return _bindings.spine_bone_get_world_scale_x(_bone); } + /// The magnitude (always positive) of the world scale Y, calculated using [getB] and [getD]. double getWorldScaleY() { return _bindings.spine_bone_get_world_scale_y(_bone); } + /// Returns false when the bone has not been computed because [BoneData.getSkinRequired] is true and the + /// active skin (see [Skeleton.getSkin]) does not contain this bone (see [Skin.getBones]). bool isActive() { return _bindings.spine_bone_get_is_active(_bone) == -1; } @@ -3234,7 +3389,7 @@ class SkeletonDrawable { } static Future fromHttp(String atlasFile, String skeletonFile) async { - var atlas = await Atlas.fromUrl(atlasFile); + var atlas = await Atlas.fromHttp(atlasFile); var skeletonData = await SkeletonData.fromHttp(atlas, skeletonFile); return SkeletonDrawable(atlas, skeletonData, true); } diff --git a/spine-flutter/lib/spine_flutter_bindings_generated.dart b/spine-flutter/lib/spine_flutter_bindings_generated.dart index 11390731a..83519f8b5 100644 --- a/spine-flutter/lib/spine_flutter_bindings_generated.dart +++ b/spine-flutter/lib/spine_flutter_bindings_generated.dart @@ -13,27 +13,36 @@ import 'ffi_proxy.dart' as ffi; /// class SpineFlutterBindings { /// Holds the symbol lookup function. - final ffi.Pointer Function(String symbolName) _lookup; + final ffi.Pointer Function(String symbolName) + _lookup; /// The symbols are looked up in [dynamicLibrary]. - SpineFlutterBindings(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; + SpineFlutterBindings(ffi.DynamicLibrary dynamicLibrary) + : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. - SpineFlutterBindings.fromLookup(ffi.Pointer Function(String symbolName) lookup) : _lookup = lookup; + SpineFlutterBindings.fromLookup( + ffi.Pointer Function(String symbolName) + lookup) + : _lookup = lookup; int spine_major_version() { return _spine_major_version(); } - late final _spine_major_versionPtr = _lookup>('spine_major_version'); - late final _spine_major_version = _spine_major_versionPtr.asFunction(); + late final _spine_major_versionPtr = + _lookup>('spine_major_version'); + late final _spine_major_version = + _spine_major_versionPtr.asFunction(); int spine_minor_version() { return _spine_minor_version(); } - late final _spine_minor_versionPtr = _lookup>('spine_minor_version'); - late final _spine_minor_version = _spine_minor_versionPtr.asFunction(); + late final _spine_minor_versionPtr = + _lookup>('spine_minor_version'); + late final _spine_minor_version = + _spine_minor_versionPtr.asFunction(); void spine_enable_debug_extension( int enable, @@ -43,15 +52,20 @@ class SpineFlutterBindings { ); } - late final _spine_enable_debug_extensionPtr = _lookup>('spine_enable_debug_extension'); - late final _spine_enable_debug_extension = _spine_enable_debug_extensionPtr.asFunction(); + late final _spine_enable_debug_extensionPtr = + _lookup>( + 'spine_enable_debug_extension'); + late final _spine_enable_debug_extension = + _spine_enable_debug_extensionPtr.asFunction(); void spine_report_leaks() { return _spine_report_leaks(); } - late final _spine_report_leaksPtr = _lookup>('spine_report_leaks'); - late final _spine_report_leaks = _spine_report_leaksPtr.asFunction(); + late final _spine_report_leaksPtr = + _lookup>('spine_report_leaks'); + late final _spine_report_leaks = + _spine_report_leaksPtr.asFunction(); double spine_color_get_r( spine_color color, @@ -61,8 +75,11 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_rPtr = _lookup>('spine_color_get_r'); - late final _spine_color_get_r = _spine_color_get_rPtr.asFunction(); + late final _spine_color_get_rPtr = + _lookup>( + 'spine_color_get_r'); + late final _spine_color_get_r = + _spine_color_get_rPtr.asFunction(); double spine_color_get_g( spine_color color, @@ -72,8 +89,11 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_gPtr = _lookup>('spine_color_get_g'); - late final _spine_color_get_g = _spine_color_get_gPtr.asFunction(); + late final _spine_color_get_gPtr = + _lookup>( + 'spine_color_get_g'); + late final _spine_color_get_g = + _spine_color_get_gPtr.asFunction(); double spine_color_get_b( spine_color color, @@ -83,8 +103,11 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_bPtr = _lookup>('spine_color_get_b'); - late final _spine_color_get_b = _spine_color_get_bPtr.asFunction(); + late final _spine_color_get_bPtr = + _lookup>( + 'spine_color_get_b'); + late final _spine_color_get_b = + _spine_color_get_bPtr.asFunction(); double spine_color_get_a( spine_color color, @@ -94,8 +117,11 @@ class SpineFlutterBindings { ); } - late final _spine_color_get_aPtr = _lookup>('spine_color_get_a'); - late final _spine_color_get_a = _spine_color_get_aPtr.asFunction(); + late final _spine_color_get_aPtr = + _lookup>( + 'spine_color_get_a'); + late final _spine_color_get_a = + _spine_color_get_aPtr.asFunction(); double spine_bounds_get_x( spine_bounds bounds, @@ -105,8 +131,11 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_xPtr = _lookup>('spine_bounds_get_x'); - late final _spine_bounds_get_x = _spine_bounds_get_xPtr.asFunction(); + late final _spine_bounds_get_xPtr = + _lookup>( + 'spine_bounds_get_x'); + late final _spine_bounds_get_x = + _spine_bounds_get_xPtr.asFunction(); double spine_bounds_get_y( spine_bounds bounds, @@ -116,8 +145,11 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_yPtr = _lookup>('spine_bounds_get_y'); - late final _spine_bounds_get_y = _spine_bounds_get_yPtr.asFunction(); + late final _spine_bounds_get_yPtr = + _lookup>( + 'spine_bounds_get_y'); + late final _spine_bounds_get_y = + _spine_bounds_get_yPtr.asFunction(); double spine_bounds_get_width( spine_bounds bounds, @@ -127,8 +159,11 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_widthPtr = _lookup>('spine_bounds_get_width'); - late final _spine_bounds_get_width = _spine_bounds_get_widthPtr.asFunction(); + late final _spine_bounds_get_widthPtr = + _lookup>( + 'spine_bounds_get_width'); + late final _spine_bounds_get_width = + _spine_bounds_get_widthPtr.asFunction(); double spine_bounds_get_height( spine_bounds bounds, @@ -138,8 +173,11 @@ class SpineFlutterBindings { ); } - late final _spine_bounds_get_heightPtr = _lookup>('spine_bounds_get_height'); - late final _spine_bounds_get_height = _spine_bounds_get_heightPtr.asFunction(); + late final _spine_bounds_get_heightPtr = + _lookup>( + 'spine_bounds_get_height'); + late final _spine_bounds_get_height = + _spine_bounds_get_heightPtr.asFunction(); double spine_vector_get_x( spine_vector vector, @@ -149,8 +187,11 @@ class SpineFlutterBindings { ); } - late final _spine_vector_get_xPtr = _lookup>('spine_vector_get_x'); - late final _spine_vector_get_x = _spine_vector_get_xPtr.asFunction(); + late final _spine_vector_get_xPtr = + _lookup>( + 'spine_vector_get_x'); + late final _spine_vector_get_x = + _spine_vector_get_xPtr.asFunction(); double spine_vector_get_y( spine_vector vector, @@ -160,8 +201,11 @@ class SpineFlutterBindings { ); } - late final _spine_vector_get_yPtr = _lookup>('spine_vector_get_y'); - late final _spine_vector_get_y = _spine_vector_get_yPtr.asFunction(); + late final _spine_vector_get_yPtr = + _lookup>( + 'spine_vector_get_y'); + late final _spine_vector_get_y = + _spine_vector_get_yPtr.asFunction(); spine_atlas spine_atlas_load( ffi.Pointer atlasData, @@ -171,8 +215,11 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_loadPtr = _lookup)>>('spine_atlas_load'); - late final _spine_atlas_load = _spine_atlas_loadPtr.asFunction)>(); + late final _spine_atlas_loadPtr = + _lookup)>>( + 'spine_atlas_load'); + late final _spine_atlas_load = _spine_atlas_loadPtr + .asFunction)>(); int spine_atlas_get_num_image_paths( spine_atlas atlas, @@ -183,8 +230,11 @@ class SpineFlutterBindings { } late final _spine_atlas_get_num_image_pathsPtr = - _lookup>('spine_atlas_get_num_image_paths'); - late final _spine_atlas_get_num_image_paths = _spine_atlas_get_num_image_pathsPtr.asFunction(); + _lookup>( + 'spine_atlas_get_num_image_paths'); + late final _spine_atlas_get_num_image_paths = + _spine_atlas_get_num_image_pathsPtr + .asFunction(); ffi.Pointer spine_atlas_get_image_path( spine_atlas atlas, @@ -196,9 +246,12 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_get_image_pathPtr = - _lookup Function(spine_atlas, ffi.Int32)>>('spine_atlas_get_image_path'); - late final _spine_atlas_get_image_path = _spine_atlas_get_image_pathPtr.asFunction Function(spine_atlas, int)>(); + late final _spine_atlas_get_image_pathPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_atlas, ffi.Int32)>>('spine_atlas_get_image_path'); + late final _spine_atlas_get_image_path = _spine_atlas_get_image_pathPtr + .asFunction Function(spine_atlas, int)>(); ffi.Pointer spine_atlas_get_error( spine_atlas atlas, @@ -208,8 +261,11 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_get_errorPtr = _lookup Function(spine_atlas)>>('spine_atlas_get_error'); - late final _spine_atlas_get_error = _spine_atlas_get_errorPtr.asFunction Function(spine_atlas)>(); + late final _spine_atlas_get_errorPtr = + _lookup Function(spine_atlas)>>( + 'spine_atlas_get_error'); + late final _spine_atlas_get_error = _spine_atlas_get_errorPtr + .asFunction Function(spine_atlas)>(); void spine_atlas_dispose( spine_atlas atlas, @@ -219,8 +275,11 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_disposePtr = _lookup>('spine_atlas_dispose'); - late final _spine_atlas_dispose = _spine_atlas_disposePtr.asFunction(); + late final _spine_atlas_disposePtr = + _lookup>( + 'spine_atlas_dispose'); + late final _spine_atlas_dispose = + _spine_atlas_disposePtr.asFunction(); spine_skeleton_data_result spine_skeleton_data_load_json( spine_atlas atlas, @@ -232,10 +291,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_load_jsonPtr = - _lookup)>>('spine_skeleton_data_load_json'); + late final _spine_skeleton_data_load_jsonPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_data_result Function(spine_atlas, + ffi.Pointer)>>('spine_skeleton_data_load_json'); late final _spine_skeleton_data_load_json = - _spine_skeleton_data_load_jsonPtr.asFunction)>(); + _spine_skeleton_data_load_jsonPtr.asFunction< + spine_skeleton_data_result Function( + spine_atlas, ffi.Pointer)>(); spine_skeleton_data_result spine_skeleton_data_load_binary( spine_atlas atlas, @@ -249,11 +312,16 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_load_binaryPtr = - _lookup, ffi.Int32)>>( - 'spine_skeleton_data_load_binary'); + late final _spine_skeleton_data_load_binaryPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_data_result Function( + spine_atlas, + ffi.Pointer, + ffi.Int32)>>('spine_skeleton_data_load_binary'); late final _spine_skeleton_data_load_binary = - _spine_skeleton_data_load_binaryPtr.asFunction, int)>(); + _spine_skeleton_data_load_binaryPtr.asFunction< + spine_skeleton_data_result Function( + spine_atlas, ffi.Pointer, int)>(); ffi.Pointer spine_skeleton_data_result_get_error( spine_skeleton_data_result result, @@ -263,10 +331,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_get_errorPtr = - _lookup Function(spine_skeleton_data_result)>>('spine_skeleton_data_result_get_error'); + late final _spine_skeleton_data_result_get_errorPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function(spine_skeleton_data_result)>>( + 'spine_skeleton_data_result_get_error'); late final _spine_skeleton_data_result_get_error = - _spine_skeleton_data_result_get_errorPtr.asFunction Function(spine_skeleton_data_result)>(); + _spine_skeleton_data_result_get_errorPtr + .asFunction Function(spine_skeleton_data_result)>(); spine_skeleton_data spine_skeleton_data_result_get_data( spine_skeleton_data_result result, @@ -276,10 +347,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_get_dataPtr = - _lookup>('spine_skeleton_data_result_get_data'); + late final _spine_skeleton_data_result_get_dataPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_data Function(spine_skeleton_data_result)>>( + 'spine_skeleton_data_result_get_data'); late final _spine_skeleton_data_result_get_data = - _spine_skeleton_data_result_get_dataPtr.asFunction(); + _spine_skeleton_data_result_get_dataPtr.asFunction< + spine_skeleton_data Function(spine_skeleton_data_result)>(); void spine_skeleton_data_result_dispose( spine_skeleton_data_result result, @@ -289,10 +363,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_result_disposePtr = - _lookup>('spine_skeleton_data_result_dispose'); + late final _spine_skeleton_data_result_disposePtr = _lookup< + ffi.NativeFunction>( + 'spine_skeleton_data_result_dispose'); late final _spine_skeleton_data_result_dispose = - _spine_skeleton_data_result_disposePtr.asFunction(); + _spine_skeleton_data_result_disposePtr + .asFunction(); spine_bone_data spine_skeleton_data_find_bone( spine_skeleton_data data, @@ -304,10 +380,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_bonePtr = - _lookup)>>('spine_skeleton_data_find_bone'); + late final _spine_skeleton_data_find_bonePtr = _lookup< + ffi.NativeFunction< + spine_bone_data Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_bone'); late final _spine_skeleton_data_find_bone = - _spine_skeleton_data_find_bonePtr.asFunction)>(); + _spine_skeleton_data_find_bonePtr.asFunction< + spine_bone_data Function(spine_skeleton_data, ffi.Pointer)>(); spine_slot_data spine_skeleton_data_find_slot( spine_skeleton_data data, @@ -319,10 +398,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_slotPtr = - _lookup)>>('spine_skeleton_data_find_slot'); + late final _spine_skeleton_data_find_slotPtr = _lookup< + ffi.NativeFunction< + spine_slot_data Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_slot'); late final _spine_skeleton_data_find_slot = - _spine_skeleton_data_find_slotPtr.asFunction)>(); + _spine_skeleton_data_find_slotPtr.asFunction< + spine_slot_data Function(spine_skeleton_data, ffi.Pointer)>(); spine_skin spine_skeleton_data_find_skin( spine_skeleton_data data, @@ -334,10 +416,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_skinPtr = - _lookup)>>('spine_skeleton_data_find_skin'); + late final _spine_skeleton_data_find_skinPtr = _lookup< + ffi.NativeFunction< + spine_skin Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_skin'); late final _spine_skeleton_data_find_skin = - _spine_skeleton_data_find_skinPtr.asFunction)>(); + _spine_skeleton_data_find_skinPtr.asFunction< + spine_skin Function(spine_skeleton_data, ffi.Pointer)>(); spine_event_data spine_skeleton_data_find_event( spine_skeleton_data data, @@ -349,10 +434,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_eventPtr = - _lookup)>>('spine_skeleton_data_find_event'); + late final _spine_skeleton_data_find_eventPtr = _lookup< + ffi.NativeFunction< + spine_event_data Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_event'); late final _spine_skeleton_data_find_event = - _spine_skeleton_data_find_eventPtr.asFunction)>(); + _spine_skeleton_data_find_eventPtr.asFunction< + spine_event_data Function(spine_skeleton_data, ffi.Pointer)>(); spine_animation spine_skeleton_data_find_animation( spine_skeleton_data data, @@ -364,10 +452,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_animationPtr = - _lookup)>>('spine_skeleton_data_find_animation'); + late final _spine_skeleton_data_find_animationPtr = _lookup< + ffi.NativeFunction< + spine_animation Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_animation'); late final _spine_skeleton_data_find_animation = - _spine_skeleton_data_find_animationPtr.asFunction)>(); + _spine_skeleton_data_find_animationPtr.asFunction< + spine_animation Function(spine_skeleton_data, ffi.Pointer)>(); spine_ik_constraint_data spine_skeleton_data_find_ik_constraint( spine_skeleton_data data, @@ -379,11 +470,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_ik_constraintPtr = - _lookup)>>( - 'spine_skeleton_data_find_ik_constraint'); + late final _spine_skeleton_data_find_ik_constraintPtr = _lookup< + ffi.NativeFunction< + spine_ik_constraint_data Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_ik_constraint'); late final _spine_skeleton_data_find_ik_constraint = - _spine_skeleton_data_find_ik_constraintPtr.asFunction)>(); + _spine_skeleton_data_find_ik_constraintPtr.asFunction< + spine_ik_constraint_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_transform_constraint_data spine_skeleton_data_find_transform_constraint( spine_skeleton_data data, @@ -395,11 +489,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_transform_constraintPtr = - _lookup)>>( - 'spine_skeleton_data_find_transform_constraint'); - late final _spine_skeleton_data_find_transform_constraint = _spine_skeleton_data_find_transform_constraintPtr - .asFunction)>(); + late final _spine_skeleton_data_find_transform_constraintPtr = _lookup< + ffi.NativeFunction< + spine_transform_constraint_data Function( + spine_skeleton_data, ffi.Pointer)>>( + 'spine_skeleton_data_find_transform_constraint'); + late final _spine_skeleton_data_find_transform_constraint = + _spine_skeleton_data_find_transform_constraintPtr.asFunction< + spine_transform_constraint_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_path_constraint_data spine_skeleton_data_find_path_constraint( spine_skeleton_data data, @@ -411,11 +509,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_path_constraintPtr = - _lookup)>>( - 'spine_skeleton_data_find_path_constraint'); - late final _spine_skeleton_data_find_path_constraint = _spine_skeleton_data_find_path_constraintPtr - .asFunction)>(); + late final _spine_skeleton_data_find_path_constraintPtr = _lookup< + ffi.NativeFunction< + spine_path_constraint_data Function(spine_skeleton_data, + ffi.Pointer)>>('spine_skeleton_data_find_path_constraint'); + late final _spine_skeleton_data_find_path_constraint = + _spine_skeleton_data_find_path_constraintPtr.asFunction< + spine_path_constraint_data Function( + spine_skeleton_data, ffi.Pointer)>(); ffi.Pointer spine_skeleton_data_get_name( spine_skeleton_data data, @@ -425,9 +526,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_namePtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_name'); - late final _spine_skeleton_data_get_name = _spine_skeleton_data_get_namePtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_namePtr = _lookup< + ffi.NativeFunction Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_name'); + late final _spine_skeleton_data_get_name = _spine_skeleton_data_get_namePtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setName() int spine_skeleton_data_get_num_bones( @@ -439,8 +542,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_bonesPtr = - _lookup>('spine_skeleton_data_get_num_bones'); - late final _spine_skeleton_data_get_num_bones = _spine_skeleton_data_get_num_bonesPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_num_bones'); + late final _spine_skeleton_data_get_num_bones = + _spine_skeleton_data_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_bones( spine_skeleton_data data, @@ -450,10 +556,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_bonesPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_bones'); - late final _spine_skeleton_data_get_bones = - _spine_skeleton_data_get_bonesPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_bones'); + late final _spine_skeleton_data_get_bones = _spine_skeleton_data_get_bonesPtr + .asFunction Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_slots( spine_skeleton_data data, @@ -464,8 +572,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_slotsPtr = - _lookup>('spine_skeleton_data_get_num_slots'); - late final _spine_skeleton_data_get_num_slots = _spine_skeleton_data_get_num_slotsPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_num_slots'); + late final _spine_skeleton_data_get_num_slots = + _spine_skeleton_data_get_num_slotsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_slots( spine_skeleton_data data, @@ -475,10 +586,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_slotsPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_slots'); - late final _spine_skeleton_data_get_slots = - _spine_skeleton_data_get_slotsPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_slotsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_slots'); + late final _spine_skeleton_data_get_slots = _spine_skeleton_data_get_slotsPtr + .asFunction Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_skins( spine_skeleton_data data, @@ -489,8 +602,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_skinsPtr = - _lookup>('spine_skeleton_data_get_num_skins'); - late final _spine_skeleton_data_get_num_skins = _spine_skeleton_data_get_num_skinsPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_num_skins'); + late final _spine_skeleton_data_get_num_skins = + _spine_skeleton_data_get_num_skinsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_skins( spine_skeleton_data data, @@ -500,10 +616,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_skinsPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_skins'); - late final _spine_skeleton_data_get_skins = - _spine_skeleton_data_get_skinsPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_skinsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_skins'); + late final _spine_skeleton_data_get_skins = _spine_skeleton_data_get_skinsPtr + .asFunction Function(spine_skeleton_data)>(); spine_skin spine_skeleton_data_get_default_skin( spine_skeleton_data data, @@ -514,9 +632,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_default_skinPtr = - _lookup>('spine_skeleton_data_get_default_skin'); + _lookup>( + 'spine_skeleton_data_get_default_skin'); late final _spine_skeleton_data_get_default_skin = - _spine_skeleton_data_get_default_skinPtr.asFunction(); + _spine_skeleton_data_get_default_skinPtr + .asFunction(); void spine_skeleton_data_set_default_skin( spine_skeleton_data data, @@ -528,10 +648,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_default_skinPtr = - _lookup>('spine_skeleton_data_set_default_skin'); + late final _spine_skeleton_data_set_default_skinPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton_data, + spine_skin)>>('spine_skeleton_data_set_default_skin'); late final _spine_skeleton_data_set_default_skin = - _spine_skeleton_data_set_default_skinPtr.asFunction(); + _spine_skeleton_data_set_default_skinPtr + .asFunction(); int spine_skeleton_data_get_num_events( spine_skeleton_data data, @@ -542,8 +665,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_eventsPtr = - _lookup>('spine_skeleton_data_get_num_events'); - late final _spine_skeleton_data_get_num_events = _spine_skeleton_data_get_num_eventsPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_num_events'); + late final _spine_skeleton_data_get_num_events = + _spine_skeleton_data_get_num_eventsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_events( spine_skeleton_data data, @@ -553,10 +679,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_eventsPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_events'); + late final _spine_skeleton_data_get_eventsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_events'); late final _spine_skeleton_data_get_events = - _spine_skeleton_data_get_eventsPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_eventsPtr.asFunction< + ffi.Pointer Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_animations( spine_skeleton_data data, @@ -567,9 +696,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_animationsPtr = - _lookup>('spine_skeleton_data_get_num_animations'); + _lookup>( + 'spine_skeleton_data_get_num_animations'); late final _spine_skeleton_data_get_num_animations = - _spine_skeleton_data_get_num_animationsPtr.asFunction(); + _spine_skeleton_data_get_num_animationsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_animations( spine_skeleton_data data, @@ -579,10 +710,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_animationsPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_animations'); + late final _spine_skeleton_data_get_animationsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_animations'); late final _spine_skeleton_data_get_animations = - _spine_skeleton_data_get_animationsPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_animationsPtr.asFunction< + ffi.Pointer Function(spine_skeleton_data)>(); int spine_skeleton_data_get_num_ik_constraints( spine_skeleton_data data, @@ -593,9 +727,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_ik_constraintsPtr = - _lookup>('spine_skeleton_data_get_num_ik_constraints'); + _lookup>( + 'spine_skeleton_data_get_num_ik_constraints'); late final _spine_skeleton_data_get_num_ik_constraints = - _spine_skeleton_data_get_num_ik_constraintsPtr.asFunction(); + _spine_skeleton_data_get_num_ik_constraintsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_ik_constraints( spine_skeleton_data data, @@ -605,11 +741,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_ik_constraintsPtr = - _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_ik_constraints'); + late final _spine_skeleton_data_get_ik_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_data_get_ik_constraints'); late final _spine_skeleton_data_get_ik_constraints = - _spine_skeleton_data_get_ik_constraintsPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_ik_constraintsPtr.asFunction< + ffi.Pointer Function( + spine_skeleton_data)>(); int spine_skeleton_data_get_num_transform_constraints( spine_skeleton_data data, @@ -620,11 +759,14 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_transform_constraintsPtr = - _lookup>('spine_skeleton_data_get_num_transform_constraints'); + _lookup>( + 'spine_skeleton_data_get_num_transform_constraints'); late final _spine_skeleton_data_get_num_transform_constraints = - _spine_skeleton_data_get_num_transform_constraintsPtr.asFunction(); + _spine_skeleton_data_get_num_transform_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_transform_constraints( + ffi.Pointer + spine_skeleton_data_get_transform_constraints( spine_skeleton_data data, ) { return _spine_skeleton_data_get_transform_constraints( @@ -632,11 +774,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_transform_constraintsPtr = - _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_transform_constraints'); - late final _spine_skeleton_data_get_transform_constraints = _spine_skeleton_data_get_transform_constraintsPtr - .asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_transform_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>( + 'spine_skeleton_data_get_transform_constraints'); + late final _spine_skeleton_data_get_transform_constraints = + _spine_skeleton_data_get_transform_constraintsPtr.asFunction< + ffi.Pointer Function( + spine_skeleton_data)>(); int spine_skeleton_data_get_num_path_constraints( spine_skeleton_data data, @@ -647,11 +793,14 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_path_constraintsPtr = - _lookup>('spine_skeleton_data_get_num_path_constraints'); + _lookup>( + 'spine_skeleton_data_get_num_path_constraints'); late final _spine_skeleton_data_get_num_path_constraints = - _spine_skeleton_data_get_num_path_constraintsPtr.asFunction(); + _spine_skeleton_data_get_num_path_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_data_get_path_constraints( + ffi.Pointer + spine_skeleton_data_get_path_constraints( spine_skeleton_data data, ) { return _spine_skeleton_data_get_path_constraints( @@ -659,11 +808,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_path_constraintsPtr = - _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_data_get_path_constraints'); + late final _spine_skeleton_data_get_path_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>( + 'spine_skeleton_data_get_path_constraints'); late final _spine_skeleton_data_get_path_constraints = - _spine_skeleton_data_get_path_constraintsPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_path_constraintsPtr.asFunction< + ffi.Pointer Function( + spine_skeleton_data)>(); double spine_skeleton_data_get_x( spine_skeleton_data data, @@ -674,8 +827,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_xPtr = - _lookup>('spine_skeleton_data_get_x'); - late final _spine_skeleton_data_get_x = _spine_skeleton_data_get_xPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_x'); + late final _spine_skeleton_data_get_x = _spine_skeleton_data_get_xPtr + .asFunction(); void spine_skeleton_data_set_x( spine_skeleton_data data, @@ -687,9 +842,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_xPtr = - _lookup>('spine_skeleton_data_set_x'); - late final _spine_skeleton_data_set_x = _spine_skeleton_data_set_xPtr.asFunction(); + late final _spine_skeleton_data_set_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_skeleton_data, ffi.Float)>>('spine_skeleton_data_set_x'); + late final _spine_skeleton_data_set_x = _spine_skeleton_data_set_xPtr + .asFunction(); double spine_skeleton_data_get_y( spine_skeleton_data data, @@ -700,8 +858,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_yPtr = - _lookup>('spine_skeleton_data_get_y'); - late final _spine_skeleton_data_get_y = _spine_skeleton_data_get_yPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_y'); + late final _spine_skeleton_data_get_y = _spine_skeleton_data_get_yPtr + .asFunction(); void spine_skeleton_data_set_y( spine_skeleton_data data, @@ -713,9 +873,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_yPtr = - _lookup>('spine_skeleton_data_set_y'); - late final _spine_skeleton_data_set_y = _spine_skeleton_data_set_yPtr.asFunction(); + late final _spine_skeleton_data_set_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_skeleton_data, ffi.Float)>>('spine_skeleton_data_set_y'); + late final _spine_skeleton_data_set_y = _spine_skeleton_data_set_yPtr + .asFunction(); double spine_skeleton_data_get_width( spine_skeleton_data data, @@ -726,8 +889,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_widthPtr = - _lookup>('spine_skeleton_data_get_width'); - late final _spine_skeleton_data_get_width = _spine_skeleton_data_get_widthPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_width'); + late final _spine_skeleton_data_get_width = _spine_skeleton_data_get_widthPtr + .asFunction(); void spine_skeleton_data_set_width( spine_skeleton_data data, @@ -739,9 +904,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_widthPtr = - _lookup>('spine_skeleton_data_set_width'); - late final _spine_skeleton_data_set_width = _spine_skeleton_data_set_widthPtr.asFunction(); + late final _spine_skeleton_data_set_widthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton_data, + ffi.Float)>>('spine_skeleton_data_set_width'); + late final _spine_skeleton_data_set_width = _spine_skeleton_data_set_widthPtr + .asFunction(); double spine_skeleton_data_get_height( spine_skeleton_data data, @@ -752,8 +920,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_heightPtr = - _lookup>('spine_skeleton_data_get_height'); - late final _spine_skeleton_data_get_height = _spine_skeleton_data_get_heightPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_height'); + late final _spine_skeleton_data_get_height = + _spine_skeleton_data_get_heightPtr + .asFunction(); void spine_skeleton_data_set_height( spine_skeleton_data data, @@ -765,9 +936,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_heightPtr = - _lookup>('spine_skeleton_data_set_height'); - late final _spine_skeleton_data_set_height = _spine_skeleton_data_set_heightPtr.asFunction(); + late final _spine_skeleton_data_set_heightPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton_data, + ffi.Float)>>('spine_skeleton_data_set_height'); + late final _spine_skeleton_data_set_height = + _spine_skeleton_data_set_heightPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_version( spine_skeleton_data data, @@ -777,10 +952,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_versionPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_version'); + late final _spine_skeleton_data_get_versionPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_version'); late final _spine_skeleton_data_get_version = - _spine_skeleton_data_get_versionPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_versionPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setVersion() ffi.Pointer spine_skeleton_data_get_hash( @@ -791,9 +968,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_hashPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_hash'); - late final _spine_skeleton_data_get_hash = _spine_skeleton_data_get_hashPtr.asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_data_get_hashPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_hash'); + late final _spine_skeleton_data_get_hash = _spine_skeleton_data_get_hashPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setHash() ffi.Pointer spine_skeleton_data_get_images_path( @@ -804,10 +983,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_images_pathPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_images_path'); + late final _spine_skeleton_data_get_images_pathPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_images_path'); late final _spine_skeleton_data_get_images_path = - _spine_skeleton_data_get_images_pathPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_images_pathPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setImagesPath() ffi.Pointer spine_skeleton_data_get_audio_path( @@ -818,10 +999,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_get_audio_pathPtr = - _lookup Function(spine_skeleton_data)>>('spine_skeleton_data_get_audio_path'); + late final _spine_skeleton_data_get_audio_pathPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton_data)>>( + 'spine_skeleton_data_get_audio_path'); late final _spine_skeleton_data_get_audio_path = - _spine_skeleton_data_get_audio_pathPtr.asFunction Function(spine_skeleton_data)>(); + _spine_skeleton_data_get_audio_pathPtr + .asFunction Function(spine_skeleton_data)>(); /// OMITTED setAudioPath() double spine_skeleton_data_get_fps( @@ -833,8 +1016,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_fpsPtr = - _lookup>('spine_skeleton_data_get_fps'); - late final _spine_skeleton_data_get_fps = _spine_skeleton_data_get_fpsPtr.asFunction(); + _lookup>( + 'spine_skeleton_data_get_fps'); + late final _spine_skeleton_data_get_fps = _spine_skeleton_data_get_fpsPtr + .asFunction(); /// OMITTED setFps() void spine_skeleton_data_dispose( @@ -846,8 +1031,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_disposePtr = - _lookup>('spine_skeleton_data_dispose'); - late final _spine_skeleton_data_dispose = _spine_skeleton_data_disposePtr.asFunction(); + _lookup>( + 'spine_skeleton_data_dispose'); + late final _spine_skeleton_data_dispose = _spine_skeleton_data_disposePtr + .asFunction(); spine_skeleton_drawable spine_skeleton_drawable_create( spine_skeleton_data skeletonData, @@ -857,10 +1044,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_createPtr = - _lookup>('spine_skeleton_drawable_create'); + late final _spine_skeleton_drawable_createPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_drawable Function( + spine_skeleton_data)>>('spine_skeleton_drawable_create'); late final _spine_skeleton_drawable_create = - _spine_skeleton_drawable_createPtr.asFunction(); + _spine_skeleton_drawable_createPtr + .asFunction(); spine_render_command spine_skeleton_drawable_render( spine_skeleton_drawable drawable, @@ -870,10 +1060,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_renderPtr = - _lookup>('spine_skeleton_drawable_render'); + late final _spine_skeleton_drawable_renderPtr = _lookup< + ffi.NativeFunction< + spine_render_command Function( + spine_skeleton_drawable)>>('spine_skeleton_drawable_render'); late final _spine_skeleton_drawable_render = - _spine_skeleton_drawable_renderPtr.asFunction(); + _spine_skeleton_drawable_renderPtr + .asFunction(); void spine_skeleton_drawable_dispose( spine_skeleton_drawable drawable, @@ -884,8 +1077,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_drawable_disposePtr = - _lookup>('spine_skeleton_drawable_dispose'); - late final _spine_skeleton_drawable_dispose = _spine_skeleton_drawable_disposePtr.asFunction(); + _lookup>( + 'spine_skeleton_drawable_dispose'); + late final _spine_skeleton_drawable_dispose = + _spine_skeleton_drawable_disposePtr + .asFunction(); spine_skeleton spine_skeleton_drawable_get_skeleton( spine_skeleton_drawable drawable, @@ -895,10 +1091,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_skeletonPtr = - _lookup>('spine_skeleton_drawable_get_skeleton'); + late final _spine_skeleton_drawable_get_skeletonPtr = _lookup< + ffi.NativeFunction>( + 'spine_skeleton_drawable_get_skeleton'); late final _spine_skeleton_drawable_get_skeleton = - _spine_skeleton_drawable_get_skeletonPtr.asFunction(); + _spine_skeleton_drawable_get_skeletonPtr + .asFunction(); spine_animation_state spine_skeleton_drawable_get_animation_state( spine_skeleton_drawable drawable, @@ -908,10 +1106,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_statePtr = - _lookup>('spine_skeleton_drawable_get_animation_state'); + late final _spine_skeleton_drawable_get_animation_statePtr = _lookup< + ffi.NativeFunction< + spine_animation_state Function(spine_skeleton_drawable)>>( + 'spine_skeleton_drawable_get_animation_state'); late final _spine_skeleton_drawable_get_animation_state = - _spine_skeleton_drawable_get_animation_statePtr.asFunction(); + _spine_skeleton_drawable_get_animation_statePtr.asFunction< + spine_animation_state Function(spine_skeleton_drawable)>(); spine_animation_state_data spine_skeleton_drawable_get_animation_state_data( spine_skeleton_drawable drawable, @@ -921,13 +1122,16 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_state_dataPtr = - _lookup>( - 'spine_skeleton_drawable_get_animation_state_data'); + late final _spine_skeleton_drawable_get_animation_state_dataPtr = _lookup< + ffi.NativeFunction< + spine_animation_state_data Function(spine_skeleton_drawable)>>( + 'spine_skeleton_drawable_get_animation_state_data'); late final _spine_skeleton_drawable_get_animation_state_data = - _spine_skeleton_drawable_get_animation_state_dataPtr.asFunction(); + _spine_skeleton_drawable_get_animation_state_dataPtr.asFunction< + spine_animation_state_data Function(spine_skeleton_drawable)>(); - spine_animation_state_events spine_skeleton_drawable_get_animation_state_events( + spine_animation_state_events + spine_skeleton_drawable_get_animation_state_events( spine_skeleton_drawable drawable, ) { return _spine_skeleton_drawable_get_animation_state_events( @@ -935,11 +1139,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_get_animation_state_eventsPtr = - _lookup>( - 'spine_skeleton_drawable_get_animation_state_events'); + late final _spine_skeleton_drawable_get_animation_state_eventsPtr = _lookup< + ffi.NativeFunction< + spine_animation_state_events Function(spine_skeleton_drawable)>>( + 'spine_skeleton_drawable_get_animation_state_events'); late final _spine_skeleton_drawable_get_animation_state_events = - _spine_skeleton_drawable_get_animation_state_eventsPtr.asFunction(); + _spine_skeleton_drawable_get_animation_state_eventsPtr.asFunction< + spine_animation_state_events Function(spine_skeleton_drawable)>(); ffi.Pointer spine_render_command_get_positions( spine_render_command command, @@ -949,10 +1155,13 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_positionsPtr = - _lookup Function(spine_render_command)>>('spine_render_command_get_positions'); + late final _spine_render_command_get_positionsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_render_command)>>('spine_render_command_get_positions'); late final _spine_render_command_get_positions = - _spine_render_command_get_positionsPtr.asFunction Function(spine_render_command)>(); + _spine_render_command_get_positionsPtr + .asFunction Function(spine_render_command)>(); ffi.Pointer spine_render_command_get_uvs( spine_render_command command, @@ -962,10 +1171,12 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_uvsPtr = - _lookup Function(spine_render_command)>>('spine_render_command_get_uvs'); - late final _spine_render_command_get_uvs = - _spine_render_command_get_uvsPtr.asFunction Function(spine_render_command)>(); + late final _spine_render_command_get_uvsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_render_command)>>('spine_render_command_get_uvs'); + late final _spine_render_command_get_uvs = _spine_render_command_get_uvsPtr + .asFunction Function(spine_render_command)>(); ffi.Pointer spine_render_command_get_colors( spine_render_command command, @@ -975,10 +1186,13 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_colorsPtr = - _lookup Function(spine_render_command)>>('spine_render_command_get_colors'); + late final _spine_render_command_get_colorsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_render_command)>>('spine_render_command_get_colors'); late final _spine_render_command_get_colors = - _spine_render_command_get_colorsPtr.asFunction Function(spine_render_command)>(); + _spine_render_command_get_colorsPtr + .asFunction Function(spine_render_command)>(); int spine_render_command_get_num_vertices( spine_render_command command, @@ -989,9 +1203,11 @@ class SpineFlutterBindings { } late final _spine_render_command_get_num_verticesPtr = - _lookup>('spine_render_command_get_num_vertices'); + _lookup>( + 'spine_render_command_get_num_vertices'); late final _spine_render_command_get_num_vertices = - _spine_render_command_get_num_verticesPtr.asFunction(); + _spine_render_command_get_num_verticesPtr + .asFunction(); ffi.Pointer spine_render_command_get_indices( spine_render_command command, @@ -1001,10 +1217,13 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_indicesPtr = - _lookup Function(spine_render_command)>>('spine_render_command_get_indices'); + late final _spine_render_command_get_indicesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_render_command)>>('spine_render_command_get_indices'); late final _spine_render_command_get_indices = - _spine_render_command_get_indicesPtr.asFunction Function(spine_render_command)>(); + _spine_render_command_get_indicesPtr + .asFunction Function(spine_render_command)>(); int spine_render_command_get_num_indices( spine_render_command command, @@ -1015,9 +1234,11 @@ class SpineFlutterBindings { } late final _spine_render_command_get_num_indicesPtr = - _lookup>('spine_render_command_get_num_indices'); + _lookup>( + 'spine_render_command_get_num_indices'); late final _spine_render_command_get_num_indices = - _spine_render_command_get_num_indicesPtr.asFunction(); + _spine_render_command_get_num_indicesPtr + .asFunction(); int spine_render_command_get_atlas_page( spine_render_command command, @@ -1028,9 +1249,11 @@ class SpineFlutterBindings { } late final _spine_render_command_get_atlas_pagePtr = - _lookup>('spine_render_command_get_atlas_page'); + _lookup>( + 'spine_render_command_get_atlas_page'); late final _spine_render_command_get_atlas_page = - _spine_render_command_get_atlas_pagePtr.asFunction(); + _spine_render_command_get_atlas_pagePtr + .asFunction(); int spine_render_command_get_blend_mode( spine_render_command command, @@ -1041,9 +1264,11 @@ class SpineFlutterBindings { } late final _spine_render_command_get_blend_modePtr = - _lookup>('spine_render_command_get_blend_mode'); + _lookup>( + 'spine_render_command_get_blend_mode'); late final _spine_render_command_get_blend_mode = - _spine_render_command_get_blend_modePtr.asFunction(); + _spine_render_command_get_blend_modePtr + .asFunction(); spine_render_command spine_render_command_get_next( spine_render_command command, @@ -1053,10 +1278,12 @@ class SpineFlutterBindings { ); } - late final _spine_render_command_get_nextPtr = - _lookup>('spine_render_command_get_next'); - late final _spine_render_command_get_next = - _spine_render_command_get_nextPtr.asFunction(); + late final _spine_render_command_get_nextPtr = _lookup< + ffi.NativeFunction< + spine_render_command Function( + spine_render_command)>>('spine_render_command_get_next'); + late final _spine_render_command_get_next = _spine_render_command_get_nextPtr + .asFunction(); ffi.Pointer spine_animation_get_name( spine_animation animation, @@ -1067,8 +1294,10 @@ class SpineFlutterBindings { } late final _spine_animation_get_namePtr = - _lookup Function(spine_animation)>>('spine_animation_get_name'); - late final _spine_animation_get_name = _spine_animation_get_namePtr.asFunction Function(spine_animation)>(); + _lookup Function(spine_animation)>>( + 'spine_animation_get_name'); + late final _spine_animation_get_name = _spine_animation_get_namePtr + .asFunction Function(spine_animation)>(); /// OMITTED getTimelines() /// OMITTED hasTimeline() @@ -1081,8 +1310,10 @@ class SpineFlutterBindings { } late final _spine_animation_get_durationPtr = - _lookup>('spine_animation_get_duration'); - late final _spine_animation_get_duration = _spine_animation_get_durationPtr.asFunction(); + _lookup>( + 'spine_animation_get_duration'); + late final _spine_animation_get_duration = _spine_animation_get_durationPtr + .asFunction(); /// OMITTED setDuration() spine_skeleton_data spine_animation_state_data_get_skeleton_data( @@ -1093,10 +1324,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_skeleton_dataPtr = - _lookup>('spine_animation_state_data_get_skeleton_data'); + late final _spine_animation_state_data_get_skeleton_dataPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_data Function(spine_animation_state_data)>>( + 'spine_animation_state_data_get_skeleton_data'); late final _spine_animation_state_data_get_skeleton_data = - _spine_animation_state_data_get_skeleton_dataPtr.asFunction(); + _spine_animation_state_data_get_skeleton_dataPtr.asFunction< + spine_skeleton_data Function(spine_animation_state_data)>(); double spine_animation_state_data_get_default_mix( spine_animation_state_data stateData, @@ -1106,10 +1340,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_default_mixPtr = - _lookup>('spine_animation_state_data_get_default_mix'); + late final _spine_animation_state_data_get_default_mixPtr = _lookup< + ffi.NativeFunction>( + 'spine_animation_state_data_get_default_mix'); late final _spine_animation_state_data_get_default_mix = - _spine_animation_state_data_get_default_mixPtr.asFunction(); + _spine_animation_state_data_get_default_mixPtr + .asFunction(); void spine_animation_state_data_set_default_mix( spine_animation_state_data stateData, @@ -1121,10 +1357,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_set_default_mixPtr = - _lookup>('spine_animation_state_data_set_default_mix'); + late final _spine_animation_state_data_set_default_mixPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state_data, + ffi.Float)>>('spine_animation_state_data_set_default_mix'); late final _spine_animation_state_data_set_default_mix = - _spine_animation_state_data_set_default_mixPtr.asFunction(); + _spine_animation_state_data_set_default_mixPtr + .asFunction(); void spine_animation_state_data_set_mix( spine_animation_state_data stateData, @@ -1140,11 +1379,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_set_mixPtr = - _lookup>( - 'spine_animation_state_data_set_mix'); - late final _spine_animation_state_data_set_mix = _spine_animation_state_data_set_mixPtr - .asFunction(); + late final _spine_animation_state_data_set_mixPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_animation_state_data, + spine_animation, + spine_animation, + ffi.Float)>>('spine_animation_state_data_set_mix'); + late final _spine_animation_state_data_set_mix = + _spine_animation_state_data_set_mixPtr.asFunction< + void Function(spine_animation_state_data, spine_animation, + spine_animation, double)>(); double spine_animation_state_data_get_mix( spine_animation_state_data stateData, @@ -1158,11 +1403,14 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_mixPtr = - _lookup>( - 'spine_animation_state_data_get_mix'); + late final _spine_animation_state_data_get_mixPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_animation_state_data, spine_animation, + spine_animation)>>('spine_animation_state_data_get_mix'); late final _spine_animation_state_data_get_mix = - _spine_animation_state_data_get_mixPtr.asFunction(); + _spine_animation_state_data_get_mixPtr.asFunction< + double Function( + spine_animation_state_data, spine_animation, spine_animation)>(); void spine_animation_state_data_set_mix_by_name( spine_animation_state_data stateData, @@ -1178,11 +1426,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_set_mix_by_namePtr = - _lookup, ffi.Pointer, ffi.Float)>>( - 'spine_animation_state_data_set_mix_by_name'); - late final _spine_animation_state_data_set_mix_by_name = _spine_animation_state_data_set_mix_by_namePtr - .asFunction, ffi.Pointer, double)>(); + late final _spine_animation_state_data_set_mix_by_namePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_animation_state_data, + ffi.Pointer, + ffi.Pointer, + ffi.Float)>>('spine_animation_state_data_set_mix_by_name'); + late final _spine_animation_state_data_set_mix_by_name = + _spine_animation_state_data_set_mix_by_namePtr.asFunction< + void Function(spine_animation_state_data, ffi.Pointer, + ffi.Pointer, double)>(); double spine_animation_state_data_get_mix_by_name( spine_animation_state_data stateData, @@ -1196,11 +1450,15 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_get_mix_by_namePtr = - _lookup, ffi.Pointer)>>( - 'spine_animation_state_data_get_mix_by_name'); - late final _spine_animation_state_data_get_mix_by_name = _spine_animation_state_data_get_mix_by_namePtr - .asFunction, ffi.Pointer)>(); + late final _spine_animation_state_data_get_mix_by_namePtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_animation_state_data, ffi.Pointer, + ffi.Pointer)>>( + 'spine_animation_state_data_get_mix_by_name'); + late final _spine_animation_state_data_get_mix_by_name = + _spine_animation_state_data_get_mix_by_namePtr.asFunction< + double Function(spine_animation_state_data, ffi.Pointer, + ffi.Pointer)>(); void spine_animation_state_data_clear( spine_animation_state_data stateData, @@ -1210,10 +1468,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_data_clearPtr = - _lookup>('spine_animation_state_data_clear'); + late final _spine_animation_state_data_clearPtr = _lookup< + ffi.NativeFunction>( + 'spine_animation_state_data_clear'); late final _spine_animation_state_data_clear = - _spine_animation_state_data_clearPtr.asFunction(); + _spine_animation_state_data_clearPtr + .asFunction(); void spine_animation_state_update( spine_animation_state state, @@ -1225,9 +1485,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_updatePtr = - _lookup>('spine_animation_state_update'); - late final _spine_animation_state_update = _spine_animation_state_updatePtr.asFunction(); + late final _spine_animation_state_updatePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + ffi.Float)>>('spine_animation_state_update'); + late final _spine_animation_state_update = _spine_animation_state_updatePtr + .asFunction(); void spine_animation_state_apply( spine_animation_state state, @@ -1239,10 +1502,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_applyPtr = - _lookup>('spine_animation_state_apply'); - late final _spine_animation_state_apply = - _spine_animation_state_applyPtr.asFunction(); + late final _spine_animation_state_applyPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + spine_skeleton)>>('spine_animation_state_apply'); + late final _spine_animation_state_apply = _spine_animation_state_applyPtr + .asFunction(); void spine_animation_state_clear_tracks( spine_animation_state state, @@ -1253,9 +1518,11 @@ class SpineFlutterBindings { } late final _spine_animation_state_clear_tracksPtr = - _lookup>('spine_animation_state_clear_tracks'); + _lookup>( + 'spine_animation_state_clear_tracks'); late final _spine_animation_state_clear_tracks = - _spine_animation_state_clear_tracksPtr.asFunction(); + _spine_animation_state_clear_tracksPtr + .asFunction(); void spine_animation_state_clear_track( spine_animation_state state, @@ -1267,10 +1534,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_clear_trackPtr = - _lookup>('spine_animation_state_clear_track'); + late final _spine_animation_state_clear_trackPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + ffi.Int32)>>('spine_animation_state_clear_track'); late final _spine_animation_state_clear_track = - _spine_animation_state_clear_trackPtr.asFunction(); + _spine_animation_state_clear_trackPtr + .asFunction(); int spine_animation_state_get_num_tracks( spine_animation_state state, @@ -1281,9 +1551,11 @@ class SpineFlutterBindings { } late final _spine_animation_state_get_num_tracksPtr = - _lookup>('spine_animation_state_get_num_tracks'); + _lookup>( + 'spine_animation_state_get_num_tracks'); late final _spine_animation_state_get_num_tracks = - _spine_animation_state_get_num_tracksPtr.asFunction(); + _spine_animation_state_get_num_tracksPtr + .asFunction(); spine_track_entry spine_animation_state_set_animation_by_name( spine_animation_state state, @@ -1299,11 +1571,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_animation_by_namePtr = - _lookup, ffi.Int32)>>( - 'spine_animation_state_set_animation_by_name'); - late final _spine_animation_state_set_animation_by_name = _spine_animation_state_set_animation_by_namePtr - .asFunction, int)>(); + late final _spine_animation_state_set_animation_by_namePtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int32, + ffi.Pointer, + ffi.Int32)>>('spine_animation_state_set_animation_by_name'); + late final _spine_animation_state_set_animation_by_name = + _spine_animation_state_set_animation_by_namePtr.asFunction< + spine_track_entry Function( + spine_animation_state, int, ffi.Pointer, int)>(); spine_track_entry spine_animation_state_set_animation( spine_animation_state state, @@ -1319,11 +1597,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_animationPtr = - _lookup>( - 'spine_animation_state_set_animation'); + late final _spine_animation_state_set_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int32, + spine_animation, + ffi.Int32)>>('spine_animation_state_set_animation'); late final _spine_animation_state_set_animation = - _spine_animation_state_set_animationPtr.asFunction(); + _spine_animation_state_set_animationPtr.asFunction< + spine_track_entry Function( + spine_animation_state, int, spine_animation, int)>(); spine_track_entry spine_animation_state_add_animation_by_name( spine_animation_state state, @@ -1341,11 +1625,18 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_animation_by_namePtr = - _lookup, ffi.Int32, ffi.Float)>>( - 'spine_animation_state_add_animation_by_name'); - late final _spine_animation_state_add_animation_by_name = _spine_animation_state_add_animation_by_namePtr - .asFunction, int, double)>(); + late final _spine_animation_state_add_animation_by_namePtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int32, + ffi.Pointer, + ffi.Int32, + ffi.Float)>>('spine_animation_state_add_animation_by_name'); + late final _spine_animation_state_add_animation_by_name = + _spine_animation_state_add_animation_by_namePtr.asFunction< + spine_track_entry Function( + spine_animation_state, int, ffi.Pointer, int, double)>(); spine_track_entry spine_animation_state_add_animation( spine_animation_state state, @@ -1363,11 +1654,18 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_animationPtr = - _lookup>( - 'spine_animation_state_add_animation'); - late final _spine_animation_state_add_animation = _spine_animation_state_add_animationPtr - .asFunction(); + late final _spine_animation_state_add_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int32, + spine_animation, + ffi.Int32, + ffi.Float)>>('spine_animation_state_add_animation'); + late final _spine_animation_state_add_animation = + _spine_animation_state_add_animationPtr.asFunction< + spine_track_entry Function( + spine_animation_state, int, spine_animation, int, double)>(); spine_track_entry spine_animation_state_set_empty_animation( spine_animation_state state, @@ -1381,11 +1679,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_empty_animationPtr = - _lookup>( - 'spine_animation_state_set_empty_animation'); + late final _spine_animation_state_set_empty_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, ffi.Int32, + ffi.Float)>>('spine_animation_state_set_empty_animation'); late final _spine_animation_state_set_empty_animation = - _spine_animation_state_set_empty_animationPtr.asFunction(); + _spine_animation_state_set_empty_animationPtr.asFunction< + spine_track_entry Function(spine_animation_state, int, double)>(); spine_track_entry spine_animation_state_add_empty_animation( spine_animation_state state, @@ -1401,11 +1701,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_empty_animationPtr = - _lookup>( - 'spine_animation_state_add_empty_animation'); + late final _spine_animation_state_add_empty_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int32, + ffi.Float, + ffi.Float)>>('spine_animation_state_add_empty_animation'); late final _spine_animation_state_add_empty_animation = - _spine_animation_state_add_empty_animationPtr.asFunction(); + _spine_animation_state_add_empty_animationPtr.asFunction< + spine_track_entry Function( + spine_animation_state, int, double, double)>(); void spine_animation_state_set_empty_animations( spine_animation_state state, @@ -1417,10 +1723,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_empty_animationsPtr = - _lookup>('spine_animation_state_set_empty_animations'); + late final _spine_animation_state_set_empty_animationsPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + ffi.Float)>>('spine_animation_state_set_empty_animations'); late final _spine_animation_state_set_empty_animations = - _spine_animation_state_set_empty_animationsPtr.asFunction(); + _spine_animation_state_set_empty_animationsPtr + .asFunction(); spine_track_entry spine_animation_state_get_current( spine_animation_state state, @@ -1432,10 +1741,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_get_currentPtr = - _lookup>('spine_animation_state_get_current'); + late final _spine_animation_state_get_currentPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, + ffi.Int32)>>('spine_animation_state_get_current'); late final _spine_animation_state_get_current = - _spine_animation_state_get_currentPtr.asFunction(); + _spine_animation_state_get_currentPtr + .asFunction(); spine_animation_state_data spine_animation_state_get_data( spine_animation_state state, @@ -1445,10 +1757,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_get_dataPtr = - _lookup>('spine_animation_state_get_data'); + late final _spine_animation_state_get_dataPtr = _lookup< + ffi.NativeFunction< + spine_animation_state_data Function( + spine_animation_state)>>('spine_animation_state_get_data'); late final _spine_animation_state_get_data = - _spine_animation_state_get_dataPtr.asFunction(); + _spine_animation_state_get_dataPtr.asFunction< + spine_animation_state_data Function(spine_animation_state)>(); double spine_animation_state_get_time_scale( spine_animation_state state, @@ -1459,9 +1774,11 @@ class SpineFlutterBindings { } late final _spine_animation_state_get_time_scalePtr = - _lookup>('spine_animation_state_get_time_scale'); + _lookup>( + 'spine_animation_state_get_time_scale'); late final _spine_animation_state_get_time_scale = - _spine_animation_state_get_time_scalePtr.asFunction(); + _spine_animation_state_get_time_scalePtr + .asFunction(); void spine_animation_state_set_time_scale( spine_animation_state state, @@ -1473,10 +1790,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_time_scalePtr = - _lookup>('spine_animation_state_set_time_scale'); + late final _spine_animation_state_set_time_scalePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + ffi.Float)>>('spine_animation_state_set_time_scale'); late final _spine_animation_state_set_time_scale = - _spine_animation_state_set_time_scalePtr.asFunction(); + _spine_animation_state_set_time_scalePtr + .asFunction(); /// OMITTED setListener() /// OMITTED setListener() @@ -1494,10 +1814,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_dispose_track_entryPtr = - _lookup>('spine_animation_state_dispose_track_entry'); + late final _spine_animation_state_dispose_track_entryPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_animation_state, + spine_track_entry)>>('spine_animation_state_dispose_track_entry'); late final _spine_animation_state_dispose_track_entry = - _spine_animation_state_dispose_track_entryPtr.asFunction(); + _spine_animation_state_dispose_track_entryPtr.asFunction< + void Function(spine_animation_state, spine_track_entry)>(); int spine_animation_state_events_get_num_events( spine_animation_state_events events, @@ -1507,10 +1830,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_num_eventsPtr = - _lookup>('spine_animation_state_events_get_num_events'); + late final _spine_animation_state_events_get_num_eventsPtr = _lookup< + ffi.NativeFunction>( + 'spine_animation_state_events_get_num_events'); late final _spine_animation_state_events_get_num_events = - _spine_animation_state_events_get_num_eventsPtr.asFunction(); + _spine_animation_state_events_get_num_eventsPtr + .asFunction(); int spine_animation_state_events_get_event_type( spine_animation_state_events events, @@ -1522,11 +1847,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_event_typePtr = - _lookup>( - 'spine_animation_state_events_get_event_type'); + late final _spine_animation_state_events_get_event_typePtr = _lookup< + ffi.NativeFunction< + ffi.Int32 Function(spine_animation_state_events, + ffi.Int32)>>('spine_animation_state_events_get_event_type'); late final _spine_animation_state_events_get_event_type = - _spine_animation_state_events_get_event_typePtr.asFunction(); + _spine_animation_state_events_get_event_typePtr + .asFunction(); spine_track_entry spine_animation_state_events_get_track_entry( spine_animation_state_events events, @@ -1538,11 +1865,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_track_entryPtr = - _lookup>( - 'spine_animation_state_events_get_track_entry'); + late final _spine_animation_state_events_get_track_entryPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state_events, + ffi.Int32)>>('spine_animation_state_events_get_track_entry'); late final _spine_animation_state_events_get_track_entry = - _spine_animation_state_events_get_track_entryPtr.asFunction(); + _spine_animation_state_events_get_track_entryPtr.asFunction< + spine_track_entry Function(spine_animation_state_events, int)>(); spine_event spine_animation_state_events_get_event( spine_animation_state_events events, @@ -1554,10 +1883,13 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_get_eventPtr = - _lookup>('spine_animation_state_events_get_event'); + late final _spine_animation_state_events_get_eventPtr = _lookup< + ffi.NativeFunction< + spine_event Function(spine_animation_state_events, + ffi.Int32)>>('spine_animation_state_events_get_event'); late final _spine_animation_state_events_get_event = - _spine_animation_state_events_get_eventPtr.asFunction(); + _spine_animation_state_events_get_eventPtr.asFunction< + spine_event Function(spine_animation_state_events, int)>(); void spine_animation_state_events_reset( spine_animation_state_events events, @@ -1567,10 +1899,12 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_events_resetPtr = - _lookup>('spine_animation_state_events_reset'); + late final _spine_animation_state_events_resetPtr = _lookup< + ffi.NativeFunction>( + 'spine_animation_state_events_reset'); late final _spine_animation_state_events_reset = - _spine_animation_state_events_resetPtr.asFunction(); + _spine_animation_state_events_resetPtr + .asFunction(); int spine_track_entry_get_track_index( spine_track_entry entry, @@ -1581,8 +1915,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_indexPtr = - _lookup>('spine_track_entry_get_track_index'); - late final _spine_track_entry_get_track_index = _spine_track_entry_get_track_indexPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_track_index'); + late final _spine_track_entry_get_track_index = + _spine_track_entry_get_track_indexPtr + .asFunction(); spine_animation spine_track_entry_get_animation( spine_track_entry entry, @@ -1593,9 +1930,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animationPtr = - _lookup>('spine_track_entry_get_animation'); + _lookup>( + 'spine_track_entry_get_animation'); late final _spine_track_entry_get_animation = - _spine_track_entry_get_animationPtr.asFunction(); + _spine_track_entry_get_animationPtr + .asFunction(); spine_track_entry spine_track_entry_get_previous( spine_track_entry entry, @@ -1605,10 +1944,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_previousPtr = - _lookup>('spine_track_entry_get_previous'); + late final _spine_track_entry_get_previousPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_get_previous'); late final _spine_track_entry_get_previous = - _spine_track_entry_get_previousPtr.asFunction(); + _spine_track_entry_get_previousPtr + .asFunction(); int spine_track_entry_get_loop( spine_track_entry entry, @@ -1619,8 +1960,10 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_loopPtr = - _lookup>('spine_track_entry_get_loop'); - late final _spine_track_entry_get_loop = _spine_track_entry_get_loopPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_loop'); + late final _spine_track_entry_get_loop = _spine_track_entry_get_loopPtr + .asFunction(); void spine_track_entry_set_loop( spine_track_entry entry, @@ -1632,9 +1975,11 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_loopPtr = - _lookup>('spine_track_entry_set_loop'); - late final _spine_track_entry_set_loop = _spine_track_entry_set_loopPtr.asFunction(); + late final _spine_track_entry_set_loopPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_loop'); + late final _spine_track_entry_set_loop = _spine_track_entry_set_loopPtr + .asFunction(); int spine_track_entry_get_hold_previous( spine_track_entry entry, @@ -1645,8 +1990,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_hold_previousPtr = - _lookup>('spine_track_entry_get_hold_previous'); - late final _spine_track_entry_get_hold_previous = _spine_track_entry_get_hold_previousPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_hold_previous'); + late final _spine_track_entry_get_hold_previous = + _spine_track_entry_get_hold_previousPtr + .asFunction(); void spine_track_entry_set_hold_previous( spine_track_entry entry, @@ -1658,10 +2006,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_hold_previousPtr = - _lookup>('spine_track_entry_set_hold_previous'); + late final _spine_track_entry_set_hold_previousPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_hold_previous'); late final _spine_track_entry_set_hold_previous = - _spine_track_entry_set_hold_previousPtr.asFunction(); + _spine_track_entry_set_hold_previousPtr + .asFunction(); int spine_track_entry_get_reverse( spine_track_entry entry, @@ -1672,8 +2022,10 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_reversePtr = - _lookup>('spine_track_entry_get_reverse'); - late final _spine_track_entry_get_reverse = _spine_track_entry_get_reversePtr.asFunction(); + _lookup>( + 'spine_track_entry_get_reverse'); + late final _spine_track_entry_get_reverse = _spine_track_entry_get_reversePtr + .asFunction(); void spine_track_entry_set_reverse( spine_track_entry entry, @@ -1685,9 +2037,11 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_reversePtr = - _lookup>('spine_track_entry_set_reverse'); - late final _spine_track_entry_set_reverse = _spine_track_entry_set_reversePtr.asFunction(); + late final _spine_track_entry_set_reversePtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_reverse'); + late final _spine_track_entry_set_reverse = _spine_track_entry_set_reversePtr + .asFunction(); int spine_track_entry_get_shortest_rotation( spine_track_entry entry, @@ -1698,9 +2052,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_shortest_rotationPtr = - _lookup>('spine_track_entry_get_shortest_rotation'); + _lookup>( + 'spine_track_entry_get_shortest_rotation'); late final _spine_track_entry_get_shortest_rotation = - _spine_track_entry_get_shortest_rotationPtr.asFunction(); + _spine_track_entry_get_shortest_rotationPtr + .asFunction(); void spine_track_entry_set_shortest_rotation( spine_track_entry entry, @@ -1712,10 +2068,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_shortest_rotationPtr = - _lookup>('spine_track_entry_set_shortest_rotation'); + late final _spine_track_entry_set_shortest_rotationPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_shortest_rotation'); late final _spine_track_entry_set_shortest_rotation = - _spine_track_entry_set_shortest_rotationPtr.asFunction(); + _spine_track_entry_set_shortest_rotationPtr + .asFunction(); double spine_track_entry_get_delay( spine_track_entry entry, @@ -1726,8 +2084,10 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_delayPtr = - _lookup>('spine_track_entry_get_delay'); - late final _spine_track_entry_get_delay = _spine_track_entry_get_delayPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_delay'); + late final _spine_track_entry_get_delay = _spine_track_entry_get_delayPtr + .asFunction(); void spine_track_entry_set_delay( spine_track_entry entry, @@ -1739,9 +2099,11 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_delayPtr = - _lookup>('spine_track_entry_set_delay'); - late final _spine_track_entry_set_delay = _spine_track_entry_set_delayPtr.asFunction(); + late final _spine_track_entry_set_delayPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_delay'); + late final _spine_track_entry_set_delay = _spine_track_entry_set_delayPtr + .asFunction(); double spine_track_entry_get_track_time( spine_track_entry entry, @@ -1752,8 +2114,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_timePtr = - _lookup>('spine_track_entry_get_track_time'); - late final _spine_track_entry_get_track_time = _spine_track_entry_get_track_timePtr.asFunction(); + _lookup>( + 'spine_track_entry_get_track_time'); + late final _spine_track_entry_get_track_time = + _spine_track_entry_get_track_timePtr + .asFunction(); void spine_track_entry_set_track_time( spine_track_entry entry, @@ -1765,10 +2130,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_track_timePtr = - _lookup>('spine_track_entry_set_track_time'); + late final _spine_track_entry_set_track_timePtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_track_time'); late final _spine_track_entry_set_track_time = - _spine_track_entry_set_track_timePtr.asFunction(); + _spine_track_entry_set_track_timePtr + .asFunction(); double spine_track_entry_get_track_end( spine_track_entry entry, @@ -1779,8 +2146,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_endPtr = - _lookup>('spine_track_entry_get_track_end'); - late final _spine_track_entry_get_track_end = _spine_track_entry_get_track_endPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_track_end'); + late final _spine_track_entry_get_track_end = + _spine_track_entry_get_track_endPtr + .asFunction(); void spine_track_entry_set_track_end( spine_track_entry entry, @@ -1792,9 +2162,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_track_endPtr = - _lookup>('spine_track_entry_set_track_end'); - late final _spine_track_entry_set_track_end = _spine_track_entry_set_track_endPtr.asFunction(); + late final _spine_track_entry_set_track_endPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_track_end'); + late final _spine_track_entry_set_track_end = + _spine_track_entry_set_track_endPtr + .asFunction(); double spine_track_entry_get_animation_start( spine_track_entry entry, @@ -1805,9 +2178,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_startPtr = - _lookup>('spine_track_entry_get_animation_start'); + _lookup>( + 'spine_track_entry_get_animation_start'); late final _spine_track_entry_get_animation_start = - _spine_track_entry_get_animation_startPtr.asFunction(); + _spine_track_entry_get_animation_startPtr + .asFunction(); void spine_track_entry_set_animation_start( spine_track_entry entry, @@ -1819,10 +2194,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_startPtr = - _lookup>('spine_track_entry_set_animation_start'); + late final _spine_track_entry_set_animation_startPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_animation_start'); late final _spine_track_entry_set_animation_start = - _spine_track_entry_set_animation_startPtr.asFunction(); + _spine_track_entry_set_animation_startPtr + .asFunction(); double spine_track_entry_get_animation_end( spine_track_entry entry, @@ -1833,9 +2210,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_endPtr = - _lookup>('spine_track_entry_get_animation_end'); + _lookup>( + 'spine_track_entry_get_animation_end'); late final _spine_track_entry_get_animation_end = - _spine_track_entry_get_animation_endPtr.asFunction(); + _spine_track_entry_get_animation_endPtr + .asFunction(); void spine_track_entry_set_animation_end( spine_track_entry entry, @@ -1847,10 +2226,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_endPtr = - _lookup>('spine_track_entry_set_animation_end'); + late final _spine_track_entry_set_animation_endPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_animation_end'); late final _spine_track_entry_set_animation_end = - _spine_track_entry_set_animation_endPtr.asFunction(); + _spine_track_entry_set_animation_endPtr + .asFunction(); double spine_track_entry_get_animation_last( spine_track_entry entry, @@ -1861,9 +2242,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_lastPtr = - _lookup>('spine_track_entry_get_animation_last'); + _lookup>( + 'spine_track_entry_get_animation_last'); late final _spine_track_entry_get_animation_last = - _spine_track_entry_get_animation_lastPtr.asFunction(); + _spine_track_entry_get_animation_lastPtr + .asFunction(); void spine_track_entry_set_animation_last( spine_track_entry entry, @@ -1875,10 +2258,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_animation_lastPtr = - _lookup>('spine_track_entry_set_animation_last'); + late final _spine_track_entry_set_animation_lastPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_animation_last'); late final _spine_track_entry_set_animation_last = - _spine_track_entry_set_animation_lastPtr.asFunction(); + _spine_track_entry_set_animation_lastPtr + .asFunction(); double spine_track_entry_get_animation_time( spine_track_entry entry, @@ -1889,9 +2274,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_animation_timePtr = - _lookup>('spine_track_entry_get_animation_time'); + _lookup>( + 'spine_track_entry_get_animation_time'); late final _spine_track_entry_get_animation_time = - _spine_track_entry_get_animation_timePtr.asFunction(); + _spine_track_entry_get_animation_timePtr + .asFunction(); double spine_track_entry_get_time_scale( spine_track_entry entry, @@ -1902,8 +2289,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_time_scalePtr = - _lookup>('spine_track_entry_get_time_scale'); - late final _spine_track_entry_get_time_scale = _spine_track_entry_get_time_scalePtr.asFunction(); + _lookup>( + 'spine_track_entry_get_time_scale'); + late final _spine_track_entry_get_time_scale = + _spine_track_entry_get_time_scalePtr + .asFunction(); void spine_track_entry_set_time_scale( spine_track_entry entry, @@ -1915,10 +2305,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_time_scalePtr = - _lookup>('spine_track_entry_set_time_scale'); + late final _spine_track_entry_set_time_scalePtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_time_scale'); late final _spine_track_entry_set_time_scale = - _spine_track_entry_set_time_scalePtr.asFunction(); + _spine_track_entry_set_time_scalePtr + .asFunction(); double spine_track_entry_get_alpha( spine_track_entry entry, @@ -1929,8 +2321,10 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_alphaPtr = - _lookup>('spine_track_entry_get_alpha'); - late final _spine_track_entry_get_alpha = _spine_track_entry_get_alphaPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_alpha'); + late final _spine_track_entry_get_alpha = _spine_track_entry_get_alphaPtr + .asFunction(); void spine_track_entry_set_alpha( spine_track_entry entry, @@ -1942,9 +2336,11 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_alphaPtr = - _lookup>('spine_track_entry_set_alpha'); - late final _spine_track_entry_set_alpha = _spine_track_entry_set_alphaPtr.asFunction(); + late final _spine_track_entry_set_alphaPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_alpha'); + late final _spine_track_entry_set_alpha = _spine_track_entry_set_alphaPtr + .asFunction(); double spine_track_entry_get_event_threshold( spine_track_entry entry, @@ -1955,9 +2351,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_event_thresholdPtr = - _lookup>('spine_track_entry_get_event_threshold'); + _lookup>( + 'spine_track_entry_get_event_threshold'); late final _spine_track_entry_get_event_threshold = - _spine_track_entry_get_event_thresholdPtr.asFunction(); + _spine_track_entry_get_event_thresholdPtr + .asFunction(); void spine_track_entry_set_event_threshold( spine_track_entry entry, @@ -1969,10 +2367,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_event_thresholdPtr = - _lookup>('spine_track_entry_set_event_threshold'); + late final _spine_track_entry_set_event_thresholdPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_event_threshold'); late final _spine_track_entry_set_event_threshold = - _spine_track_entry_set_event_thresholdPtr.asFunction(); + _spine_track_entry_set_event_thresholdPtr + .asFunction(); double spine_track_entry_get_attachment_threshold( spine_track_entry entry, @@ -1983,9 +2383,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_attachment_thresholdPtr = - _lookup>('spine_track_entry_get_attachment_threshold'); + _lookup>( + 'spine_track_entry_get_attachment_threshold'); late final _spine_track_entry_get_attachment_threshold = - _spine_track_entry_get_attachment_thresholdPtr.asFunction(); + _spine_track_entry_get_attachment_thresholdPtr + .asFunction(); void spine_track_entry_set_attachment_threshold( spine_track_entry entry, @@ -1997,10 +2399,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_attachment_thresholdPtr = - _lookup>('spine_track_entry_set_attachment_threshold'); + late final _spine_track_entry_set_attachment_thresholdPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_attachment_threshold'); late final _spine_track_entry_set_attachment_threshold = - _spine_track_entry_set_attachment_thresholdPtr.asFunction(); + _spine_track_entry_set_attachment_thresholdPtr + .asFunction(); double spine_track_entry_get_draw_order_threshold( spine_track_entry entry, @@ -2011,9 +2415,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_draw_order_thresholdPtr = - _lookup>('spine_track_entry_get_draw_order_threshold'); + _lookup>( + 'spine_track_entry_get_draw_order_threshold'); late final _spine_track_entry_get_draw_order_threshold = - _spine_track_entry_get_draw_order_thresholdPtr.asFunction(); + _spine_track_entry_get_draw_order_thresholdPtr + .asFunction(); void spine_track_entry_set_draw_order_threshold( spine_track_entry entry, @@ -2025,10 +2431,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_draw_order_thresholdPtr = - _lookup>('spine_track_entry_set_draw_order_threshold'); + late final _spine_track_entry_set_draw_order_thresholdPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_draw_order_threshold'); late final _spine_track_entry_set_draw_order_threshold = - _spine_track_entry_set_draw_order_thresholdPtr.asFunction(); + _spine_track_entry_set_draw_order_thresholdPtr + .asFunction(); spine_track_entry spine_track_entry_get_next( spine_track_entry entry, @@ -2038,9 +2446,11 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_nextPtr = - _lookup>('spine_track_entry_get_next'); - late final _spine_track_entry_get_next = _spine_track_entry_get_nextPtr.asFunction(); + late final _spine_track_entry_get_nextPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_get_next'); + late final _spine_track_entry_get_next = _spine_track_entry_get_nextPtr + .asFunction(); int spine_track_entry_is_complete( spine_track_entry entry, @@ -2051,8 +2461,10 @@ class SpineFlutterBindings { } late final _spine_track_entry_is_completePtr = - _lookup>('spine_track_entry_is_complete'); - late final _spine_track_entry_is_complete = _spine_track_entry_is_completePtr.asFunction(); + _lookup>( + 'spine_track_entry_is_complete'); + late final _spine_track_entry_is_complete = _spine_track_entry_is_completePtr + .asFunction(); double spine_track_entry_get_mix_time( spine_track_entry entry, @@ -2063,8 +2475,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_timePtr = - _lookup>('spine_track_entry_get_mix_time'); - late final _spine_track_entry_get_mix_time = _spine_track_entry_get_mix_timePtr.asFunction(); + _lookup>( + 'spine_track_entry_get_mix_time'); + late final _spine_track_entry_get_mix_time = + _spine_track_entry_get_mix_timePtr + .asFunction(); void spine_track_entry_set_mix_time( spine_track_entry entry, @@ -2076,9 +2491,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_timePtr = - _lookup>('spine_track_entry_set_mix_time'); - late final _spine_track_entry_set_mix_time = _spine_track_entry_set_mix_timePtr.asFunction(); + late final _spine_track_entry_set_mix_timePtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_mix_time'); + late final _spine_track_entry_set_mix_time = + _spine_track_entry_set_mix_timePtr + .asFunction(); double spine_track_entry_get_mix_duration( spine_track_entry entry, @@ -2089,8 +2507,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_durationPtr = - _lookup>('spine_track_entry_get_mix_duration'); - late final _spine_track_entry_get_mix_duration = _spine_track_entry_get_mix_durationPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_mix_duration'); + late final _spine_track_entry_get_mix_duration = + _spine_track_entry_get_mix_durationPtr + .asFunction(); void spine_track_entry_set_mix_duration( spine_track_entry entry, @@ -2102,10 +2523,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_durationPtr = - _lookup>('spine_track_entry_set_mix_duration'); + late final _spine_track_entry_set_mix_durationPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_mix_duration'); late final _spine_track_entry_set_mix_duration = - _spine_track_entry_set_mix_durationPtr.asFunction(); + _spine_track_entry_set_mix_durationPtr + .asFunction(); int spine_track_entry_get_mix_blend( spine_track_entry entry, @@ -2116,8 +2539,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_blendPtr = - _lookup>('spine_track_entry_get_mix_blend'); - late final _spine_track_entry_get_mix_blend = _spine_track_entry_get_mix_blendPtr.asFunction(); + _lookup>( + 'spine_track_entry_get_mix_blend'); + late final _spine_track_entry_get_mix_blend = + _spine_track_entry_get_mix_blendPtr + .asFunction(); void spine_track_entry_set_mix_blend( spine_track_entry entry, @@ -2129,9 +2555,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_set_mix_blendPtr = - _lookup>('spine_track_entry_set_mix_blend'); - late final _spine_track_entry_set_mix_blend = _spine_track_entry_set_mix_blendPtr.asFunction(); + late final _spine_track_entry_set_mix_blendPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_set_mix_blend'); + late final _spine_track_entry_set_mix_blend = + _spine_track_entry_set_mix_blendPtr + .asFunction(); spine_track_entry spine_track_entry_get_mixing_from( spine_track_entry entry, @@ -2141,10 +2570,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_mixing_fromPtr = - _lookup>('spine_track_entry_get_mixing_from'); + late final _spine_track_entry_get_mixing_fromPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_get_mixing_from'); late final _spine_track_entry_get_mixing_from = - _spine_track_entry_get_mixing_fromPtr.asFunction(); + _spine_track_entry_get_mixing_fromPtr + .asFunction(); spine_track_entry spine_track_entry_get_mixing_to( spine_track_entry entry, @@ -2154,10 +2585,12 @@ class SpineFlutterBindings { ); } - late final _spine_track_entry_get_mixing_toPtr = - _lookup>('spine_track_entry_get_mixing_to'); + late final _spine_track_entry_get_mixing_toPtr = _lookup< + ffi.NativeFunction>( + 'spine_track_entry_get_mixing_to'); late final _spine_track_entry_get_mixing_to = - _spine_track_entry_get_mixing_toPtr.asFunction(); + _spine_track_entry_get_mixing_toPtr + .asFunction(); void spine_track_entry_reset_rotation_directions( spine_track_entry entry, @@ -2168,9 +2601,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_reset_rotation_directionsPtr = - _lookup>('spine_track_entry_reset_rotation_directions'); + _lookup>( + 'spine_track_entry_reset_rotation_directions'); late final _spine_track_entry_reset_rotation_directions = - _spine_track_entry_reset_rotation_directionsPtr.asFunction(); + _spine_track_entry_reset_rotation_directionsPtr + .asFunction(); double spine_track_entry_get_track_complete( spine_track_entry entry, @@ -2181,9 +2616,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_completePtr = - _lookup>('spine_track_entry_get_track_complete'); + _lookup>( + 'spine_track_entry_get_track_complete'); late final _spine_track_entry_get_track_complete = - _spine_track_entry_get_track_completePtr.asFunction(); + _spine_track_entry_get_track_completePtr + .asFunction(); /// OMITTED setListener() /// OMITTED setListener() @@ -2196,8 +2633,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_update_cachePtr = - _lookup>('spine_skeleton_update_cache'); - late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr.asFunction(); + _lookup>( + 'spine_skeleton_update_cache'); + late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr + .asFunction(); /// OMITTED printUpdateCache() void spine_skeleton_update_world_transform( @@ -2209,8 +2648,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_update_world_transformPtr = - _lookup>('spine_skeleton_update_world_transform'); - late final _spine_skeleton_update_world_transform = _spine_skeleton_update_world_transformPtr.asFunction(); + _lookup>( + 'spine_skeleton_update_world_transform'); + late final _spine_skeleton_update_world_transform = + _spine_skeleton_update_world_transformPtr + .asFunction(); void spine_skeleton_update_world_transform_bone( spine_skeleton skeleton, @@ -2222,10 +2664,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_update_world_transform_bonePtr = - _lookup>('spine_skeleton_update_world_transform_bone'); + late final _spine_skeleton_update_world_transform_bonePtr = _lookup< + ffi.NativeFunction>( + 'spine_skeleton_update_world_transform_bone'); late final _spine_skeleton_update_world_transform_bone = - _spine_skeleton_update_world_transform_bonePtr.asFunction(); + _spine_skeleton_update_world_transform_bonePtr + .asFunction(); void spine_skeleton_set_to_setup_pose( spine_skeleton skeleton, @@ -2236,8 +2680,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_to_setup_posePtr = - _lookup>('spine_skeleton_set_to_setup_pose'); - late final _spine_skeleton_set_to_setup_pose = _spine_skeleton_set_to_setup_posePtr.asFunction(); + _lookup>( + 'spine_skeleton_set_to_setup_pose'); + late final _spine_skeleton_set_to_setup_pose = + _spine_skeleton_set_to_setup_posePtr + .asFunction(); void spine_skeleton_set_bones_to_setup_pose( spine_skeleton skeleton, @@ -2248,9 +2695,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_bones_to_setup_posePtr = - _lookup>('spine_skeleton_set_bones_to_setup_pose'); + _lookup>( + 'spine_skeleton_set_bones_to_setup_pose'); late final _spine_skeleton_set_bones_to_setup_pose = - _spine_skeleton_set_bones_to_setup_posePtr.asFunction(); + _spine_skeleton_set_bones_to_setup_posePtr + .asFunction(); void spine_skeleton_set_slots_to_setup_pose( spine_skeleton skeleton, @@ -2261,9 +2710,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_slots_to_setup_posePtr = - _lookup>('spine_skeleton_set_slots_to_setup_pose'); + _lookup>( + 'spine_skeleton_set_slots_to_setup_pose'); late final _spine_skeleton_set_slots_to_setup_pose = - _spine_skeleton_set_slots_to_setup_posePtr.asFunction(); + _spine_skeleton_set_slots_to_setup_posePtr + .asFunction(); spine_bone spine_skeleton_find_bone( spine_skeleton skeleton, @@ -2275,9 +2726,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_bonePtr = - _lookup)>>('spine_skeleton_find_bone'); - late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr.asFunction)>(); + late final _spine_skeleton_find_bonePtr = _lookup< + ffi.NativeFunction< + spine_bone Function( + spine_skeleton, ffi.Pointer)>>('spine_skeleton_find_bone'); + late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr + .asFunction)>(); spine_slot spine_skeleton_find_slot( spine_skeleton skeleton, @@ -2289,9 +2743,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_slotPtr = - _lookup)>>('spine_skeleton_find_slot'); - late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr.asFunction)>(); + late final _spine_skeleton_find_slotPtr = _lookup< + ffi.NativeFunction< + spine_slot Function( + spine_skeleton, ffi.Pointer)>>('spine_skeleton_find_slot'); + late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr + .asFunction)>(); void spine_skeleton_set_skin_by_name( spine_skeleton skeleton, @@ -2303,10 +2760,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_skin_by_namePtr = - _lookup)>>('spine_skeleton_set_skin_by_name'); + late final _spine_skeleton_set_skin_by_namePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton, + ffi.Pointer)>>('spine_skeleton_set_skin_by_name'); late final _spine_skeleton_set_skin_by_name = - _spine_skeleton_set_skin_by_namePtr.asFunction)>(); + _spine_skeleton_set_skin_by_namePtr + .asFunction)>(); void spine_skeleton_set_skin( spine_skeleton skeleton, @@ -2318,9 +2778,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_skinPtr = - _lookup>('spine_skeleton_set_skin'); - late final _spine_skeleton_set_skin = _spine_skeleton_set_skinPtr.asFunction(); + late final _spine_skeleton_set_skinPtr = _lookup< + ffi.NativeFunction>( + 'spine_skeleton_set_skin'); + late final _spine_skeleton_set_skin = _spine_skeleton_set_skinPtr + .asFunction(); spine_attachment spine_skeleton_get_attachment_by_name( spine_skeleton skeleton, @@ -2334,11 +2796,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_attachment_by_namePtr = - _lookup, ffi.Pointer)>>( - 'spine_skeleton_get_attachment_by_name'); - late final _spine_skeleton_get_attachment_by_name = _spine_skeleton_get_attachment_by_namePtr - .asFunction, ffi.Pointer)>(); + late final _spine_skeleton_get_attachment_by_namePtr = _lookup< + ffi.NativeFunction< + spine_attachment Function(spine_skeleton, ffi.Pointer, + ffi.Pointer)>>('spine_skeleton_get_attachment_by_name'); + late final _spine_skeleton_get_attachment_by_name = + _spine_skeleton_get_attachment_by_namePtr.asFunction< + spine_attachment Function( + spine_skeleton, ffi.Pointer, ffi.Pointer)>(); spine_attachment spine_skeleton_get_attachment( spine_skeleton skeleton, @@ -2352,10 +2817,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_attachmentPtr = - _lookup)>>('spine_skeleton_get_attachment'); + late final _spine_skeleton_get_attachmentPtr = _lookup< + ffi.NativeFunction< + spine_attachment Function(spine_skeleton, ffi.Int32, + ffi.Pointer)>>('spine_skeleton_get_attachment'); late final _spine_skeleton_get_attachment = - _spine_skeleton_get_attachmentPtr.asFunction)>(); + _spine_skeleton_get_attachmentPtr.asFunction< + spine_attachment Function(spine_skeleton, int, ffi.Pointer)>(); void spine_skeleton_set_attachment( spine_skeleton skeleton, @@ -2369,10 +2837,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_attachmentPtr = - _lookup, ffi.Pointer)>>('spine_skeleton_set_attachment'); + late final _spine_skeleton_set_attachmentPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton, ffi.Pointer, + ffi.Pointer)>>('spine_skeleton_set_attachment'); late final _spine_skeleton_set_attachment = - _spine_skeleton_set_attachmentPtr.asFunction, ffi.Pointer)>(); + _spine_skeleton_set_attachmentPtr.asFunction< + void Function( + spine_skeleton, ffi.Pointer, ffi.Pointer)>(); spine_ik_constraint spine_skeleton_find_ik_constraint( spine_skeleton skeleton, @@ -2384,10 +2856,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_ik_constraintPtr = - _lookup)>>('spine_skeleton_find_ik_constraint'); + late final _spine_skeleton_find_ik_constraintPtr = _lookup< + ffi.NativeFunction< + spine_ik_constraint Function(spine_skeleton, + ffi.Pointer)>>('spine_skeleton_find_ik_constraint'); late final _spine_skeleton_find_ik_constraint = - _spine_skeleton_find_ik_constraintPtr.asFunction)>(); + _spine_skeleton_find_ik_constraintPtr.asFunction< + spine_ik_constraint Function(spine_skeleton, ffi.Pointer)>(); spine_transform_constraint spine_skeleton_find_transform_constraint( spine_skeleton skeleton, @@ -2399,11 +2874,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_transform_constraintPtr = - _lookup)>>( - 'spine_skeleton_find_transform_constraint'); + late final _spine_skeleton_find_transform_constraintPtr = _lookup< + ffi.NativeFunction< + spine_transform_constraint Function(spine_skeleton, + ffi.Pointer)>>('spine_skeleton_find_transform_constraint'); late final _spine_skeleton_find_transform_constraint = - _spine_skeleton_find_transform_constraintPtr.asFunction)>(); + _spine_skeleton_find_transform_constraintPtr.asFunction< + spine_transform_constraint Function( + spine_skeleton, ffi.Pointer)>(); spine_path_constraint spine_skeleton_find_path_constraint( spine_skeleton skeleton, @@ -2415,10 +2893,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_path_constraintPtr = - _lookup)>>('spine_skeleton_find_path_constraint'); + late final _spine_skeleton_find_path_constraintPtr = _lookup< + ffi.NativeFunction< + spine_path_constraint Function(spine_skeleton, + ffi.Pointer)>>('spine_skeleton_find_path_constraint'); late final _spine_skeleton_find_path_constraint = - _spine_skeleton_find_path_constraintPtr.asFunction)>(); + _spine_skeleton_find_path_constraintPtr.asFunction< + spine_path_constraint Function(spine_skeleton, ffi.Pointer)>(); spine_bounds spine_skeleton_get_bounds( spine_skeleton skeleton, @@ -2429,8 +2910,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_boundsPtr = - _lookup>('spine_skeleton_get_bounds'); - late final _spine_skeleton_get_bounds = _spine_skeleton_get_boundsPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_bounds'); + late final _spine_skeleton_get_bounds = _spine_skeleton_get_boundsPtr + .asFunction(); spine_bone spine_skeleton_get_root_bone( spine_skeleton skeleton, @@ -2441,8 +2924,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_root_bonePtr = - _lookup>('spine_skeleton_get_root_bone'); - late final _spine_skeleton_get_root_bone = _spine_skeleton_get_root_bonePtr.asFunction(); + _lookup>( + 'spine_skeleton_get_root_bone'); + late final _spine_skeleton_get_root_bone = _spine_skeleton_get_root_bonePtr + .asFunction(); spine_skeleton_data spine_skeleton_get_data( spine_skeleton skeleton, @@ -2453,8 +2938,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_dataPtr = - _lookup>('spine_skeleton_get_data'); - late final _spine_skeleton_get_data = _spine_skeleton_get_dataPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_data'); + late final _spine_skeleton_get_data = _spine_skeleton_get_dataPtr + .asFunction(); int spine_skeleton_get_num_bones( spine_skeleton skeleton, @@ -2465,8 +2952,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_bonesPtr = - _lookup>('spine_skeleton_get_num_bones'); - late final _spine_skeleton_get_num_bones = _spine_skeleton_get_num_bonesPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_num_bones'); + late final _spine_skeleton_get_num_bones = _spine_skeleton_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_skeleton_get_bones( spine_skeleton skeleton, @@ -2476,9 +2965,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_bonesPtr = - _lookup Function(spine_skeleton)>>('spine_skeleton_get_bones'); - late final _spine_skeleton_get_bones = _spine_skeleton_get_bonesPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_bonesPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton)>>( + 'spine_skeleton_get_bones'); + late final _spine_skeleton_get_bones = _spine_skeleton_get_bonesPtr + .asFunction Function(spine_skeleton)>(); /// OMITTED getUpdateCacheList() int spine_skeleton_get_num_slots( @@ -2490,8 +2981,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_slotsPtr = - _lookup>('spine_skeleton_get_num_slots'); - late final _spine_skeleton_get_num_slots = _spine_skeleton_get_num_slotsPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_num_slots'); + late final _spine_skeleton_get_num_slots = _spine_skeleton_get_num_slotsPtr + .asFunction(); ffi.Pointer spine_skeleton_get_slots( spine_skeleton skeleton, @@ -2501,9 +2994,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_slotsPtr = - _lookup Function(spine_skeleton)>>('spine_skeleton_get_slots'); - late final _spine_skeleton_get_slots = _spine_skeleton_get_slotsPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_slotsPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton)>>( + 'spine_skeleton_get_slots'); + late final _spine_skeleton_get_slots = _spine_skeleton_get_slotsPtr + .asFunction Function(spine_skeleton)>(); int spine_skeleton_get_num_draw_order( spine_skeleton skeleton, @@ -2514,8 +3009,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_draw_orderPtr = - _lookup>('spine_skeleton_get_num_draw_order'); - late final _spine_skeleton_get_num_draw_order = _spine_skeleton_get_num_draw_orderPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_num_draw_order'); + late final _spine_skeleton_get_num_draw_order = + _spine_skeleton_get_num_draw_orderPtr + .asFunction(); ffi.Pointer spine_skeleton_get_draw_order( spine_skeleton skeleton, @@ -2525,10 +3023,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_draw_orderPtr = - _lookup Function(spine_skeleton)>>('spine_skeleton_get_draw_order'); - late final _spine_skeleton_get_draw_order = - _spine_skeleton_get_draw_orderPtr.asFunction Function(spine_skeleton)>(); + late final _spine_skeleton_get_draw_orderPtr = _lookup< + ffi.NativeFunction Function(spine_skeleton)>>( + 'spine_skeleton_get_draw_order'); + late final _spine_skeleton_get_draw_order = _spine_skeleton_get_draw_orderPtr + .asFunction Function(spine_skeleton)>(); int spine_skeleton_get_num_ik_constraints( spine_skeleton skeleton, @@ -2539,8 +3038,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_ik_constraintsPtr = - _lookup>('spine_skeleton_get_num_ik_constraints'); - late final _spine_skeleton_get_num_ik_constraints = _spine_skeleton_get_num_ik_constraintsPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_num_ik_constraints'); + late final _spine_skeleton_get_num_ik_constraints = + _spine_skeleton_get_num_ik_constraintsPtr + .asFunction(); ffi.Pointer spine_skeleton_get_ik_constraints( spine_skeleton skeleton, @@ -2550,10 +3052,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_ik_constraintsPtr = - _lookup Function(spine_skeleton)>>('spine_skeleton_get_ik_constraints'); + late final _spine_skeleton_get_ik_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton)>>('spine_skeleton_get_ik_constraints'); late final _spine_skeleton_get_ik_constraints = - _spine_skeleton_get_ik_constraintsPtr.asFunction Function(spine_skeleton)>(); + _spine_skeleton_get_ik_constraintsPtr.asFunction< + ffi.Pointer Function(spine_skeleton)>(); int spine_skeleton_get_num_transform_constraints( spine_skeleton skeleton, @@ -2564,11 +3069,14 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_transform_constraintsPtr = - _lookup>('spine_skeleton_get_num_transform_constraints'); + _lookup>( + 'spine_skeleton_get_num_transform_constraints'); late final _spine_skeleton_get_num_transform_constraints = - _spine_skeleton_get_num_transform_constraintsPtr.asFunction(); + _spine_skeleton_get_num_transform_constraintsPtr + .asFunction(); - ffi.Pointer spine_skeleton_get_transform_constraints( + ffi.Pointer + spine_skeleton_get_transform_constraints( spine_skeleton skeleton, ) { return _spine_skeleton_get_transform_constraints( @@ -2576,11 +3084,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_transform_constraintsPtr = - _lookup Function(spine_skeleton)>>( - 'spine_skeleton_get_transform_constraints'); + late final _spine_skeleton_get_transform_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton)>>('spine_skeleton_get_transform_constraints'); late final _spine_skeleton_get_transform_constraints = - _spine_skeleton_get_transform_constraintsPtr.asFunction Function(spine_skeleton)>(); + _spine_skeleton_get_transform_constraintsPtr.asFunction< + ffi.Pointer Function(spine_skeleton)>(); int spine_skeleton_get_num_path_constraints( spine_skeleton skeleton, @@ -2591,9 +3101,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_path_constraintsPtr = - _lookup>('spine_skeleton_get_num_path_constraints'); + _lookup>( + 'spine_skeleton_get_num_path_constraints'); late final _spine_skeleton_get_num_path_constraints = - _spine_skeleton_get_num_path_constraintsPtr.asFunction(); + _spine_skeleton_get_num_path_constraintsPtr + .asFunction(); ffi.Pointer spine_skeleton_get_path_constraints( spine_skeleton skeleton, @@ -2603,10 +3115,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_path_constraintsPtr = - _lookup Function(spine_skeleton)>>('spine_skeleton_get_path_constraints'); + late final _spine_skeleton_get_path_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton)>>('spine_skeleton_get_path_constraints'); late final _spine_skeleton_get_path_constraints = - _spine_skeleton_get_path_constraintsPtr.asFunction Function(spine_skeleton)>(); + _spine_skeleton_get_path_constraintsPtr.asFunction< + ffi.Pointer Function(spine_skeleton)>(); spine_skin spine_skeleton_get_skin( spine_skeleton skeleton, @@ -2616,8 +3131,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_skinPtr = _lookup>('spine_skeleton_get_skin'); - late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr.asFunction(); + late final _spine_skeleton_get_skinPtr = + _lookup>( + 'spine_skeleton_get_skin'); + late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr + .asFunction(); spine_color spine_skeleton_get_color( spine_skeleton skeleton, @@ -2627,8 +3145,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_colorPtr = _lookup>('spine_skeleton_get_color'); - late final _spine_skeleton_get_color = _spine_skeleton_get_colorPtr.asFunction(); + late final _spine_skeleton_get_colorPtr = + _lookup>( + 'spine_skeleton_get_color'); + late final _spine_skeleton_get_color = _spine_skeleton_get_colorPtr + .asFunction(); void spine_skeleton_set_color( spine_skeleton skeleton, @@ -2646,11 +3167,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_colorPtr = - _lookup>( - 'spine_skeleton_set_color'); + late final _spine_skeleton_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_skeleton_set_color'); late final _spine_skeleton_set_color = - _spine_skeleton_set_colorPtr.asFunction(); + _spine_skeleton_set_colorPtr.asFunction< + void Function(spine_skeleton, double, double, double, double)>(); void spine_skeleton_set_position( spine_skeleton skeleton, @@ -2664,9 +3187,12 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_positionPtr = - _lookup>('spine_skeleton_set_position'); - late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr.asFunction(); + late final _spine_skeleton_set_positionPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skeleton, ffi.Float, + ffi.Float)>>('spine_skeleton_set_position'); + late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr + .asFunction(); double spine_skeleton_get_x( spine_skeleton skeleton, @@ -2676,8 +3202,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_xPtr = _lookup>('spine_skeleton_get_x'); - late final _spine_skeleton_get_x = _spine_skeleton_get_xPtr.asFunction(); + late final _spine_skeleton_get_xPtr = + _lookup>( + 'spine_skeleton_get_x'); + late final _spine_skeleton_get_x = + _spine_skeleton_get_xPtr.asFunction(); void spine_skeleton_set_x( spine_skeleton skeleton, @@ -2689,8 +3218,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_xPtr = _lookup>('spine_skeleton_set_x'); - late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr.asFunction(); + late final _spine_skeleton_set_xPtr = + _lookup>( + 'spine_skeleton_set_x'); + late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr + .asFunction(); double spine_skeleton_get_y( spine_skeleton skeleton, @@ -2700,8 +3232,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_yPtr = _lookup>('spine_skeleton_get_y'); - late final _spine_skeleton_get_y = _spine_skeleton_get_yPtr.asFunction(); + late final _spine_skeleton_get_yPtr = + _lookup>( + 'spine_skeleton_get_y'); + late final _spine_skeleton_get_y = + _spine_skeleton_get_yPtr.asFunction(); void spine_skeleton_set_y( spine_skeleton skeleton, @@ -2713,8 +3248,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_yPtr = _lookup>('spine_skeleton_set_y'); - late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr.asFunction(); + late final _spine_skeleton_set_yPtr = + _lookup>( + 'spine_skeleton_set_y'); + late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr + .asFunction(); double spine_skeleton_get_scale_x( spine_skeleton skeleton, @@ -2724,8 +3262,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_scale_xPtr = _lookup>('spine_skeleton_get_scale_x'); - late final _spine_skeleton_get_scale_x = _spine_skeleton_get_scale_xPtr.asFunction(); + late final _spine_skeleton_get_scale_xPtr = + _lookup>( + 'spine_skeleton_get_scale_x'); + late final _spine_skeleton_get_scale_x = _spine_skeleton_get_scale_xPtr + .asFunction(); void spine_skeleton_set_scale_x( spine_skeleton skeleton, @@ -2738,8 +3279,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_scale_xPtr = - _lookup>('spine_skeleton_set_scale_x'); - late final _spine_skeleton_set_scale_x = _spine_skeleton_set_scale_xPtr.asFunction(); + _lookup>( + 'spine_skeleton_set_scale_x'); + late final _spine_skeleton_set_scale_x = _spine_skeleton_set_scale_xPtr + .asFunction(); double spine_skeleton_get_scale_y( spine_skeleton skeleton, @@ -2749,8 +3292,11 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_scale_yPtr = _lookup>('spine_skeleton_get_scale_y'); - late final _spine_skeleton_get_scale_y = _spine_skeleton_get_scale_yPtr.asFunction(); + late final _spine_skeleton_get_scale_yPtr = + _lookup>( + 'spine_skeleton_get_scale_y'); + late final _spine_skeleton_get_scale_y = _spine_skeleton_get_scale_yPtr + .asFunction(); void spine_skeleton_set_scale_y( spine_skeleton skeleton, @@ -2763,8 +3309,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_scale_yPtr = - _lookup>('spine_skeleton_set_scale_y'); - late final _spine_skeleton_set_scale_y = _spine_skeleton_set_scale_yPtr.asFunction(); + _lookup>( + 'spine_skeleton_set_scale_y'); + late final _spine_skeleton_set_scale_y = _spine_skeleton_set_scale_yPtr + .asFunction(); ffi.Pointer spine_event_data_get_name( spine_event_data event, @@ -2775,8 +3323,10 @@ class SpineFlutterBindings { } late final _spine_event_data_get_namePtr = - _lookup Function(spine_event_data)>>('spine_event_data_get_name'); - late final _spine_event_data_get_name = _spine_event_data_get_namePtr.asFunction Function(spine_event_data)>(); + _lookup Function(spine_event_data)>>( + 'spine_event_data_get_name'); + late final _spine_event_data_get_name = _spine_event_data_get_namePtr + .asFunction Function(spine_event_data)>(); int spine_event_data_get_int_value( spine_event_data event, @@ -2787,8 +3337,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_int_valuePtr = - _lookup>('spine_event_data_get_int_value'); - late final _spine_event_data_get_int_value = _spine_event_data_get_int_valuePtr.asFunction(); + _lookup>( + 'spine_event_data_get_int_value'); + late final _spine_event_data_get_int_value = + _spine_event_data_get_int_valuePtr + .asFunction(); void spine_event_data_set_int_value( spine_event_data event, @@ -2800,9 +3353,12 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_int_valuePtr = - _lookup>('spine_event_data_set_int_value'); - late final _spine_event_data_set_int_value = _spine_event_data_set_int_valuePtr.asFunction(); + late final _spine_event_data_set_int_valuePtr = _lookup< + ffi.NativeFunction>( + 'spine_event_data_set_int_value'); + late final _spine_event_data_set_int_value = + _spine_event_data_set_int_valuePtr + .asFunction(); double spine_event_data_get_float_value( spine_event_data event, @@ -2813,8 +3369,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_float_valuePtr = - _lookup>('spine_event_data_get_float_value'); - late final _spine_event_data_get_float_value = _spine_event_data_get_float_valuePtr.asFunction(); + _lookup>( + 'spine_event_data_get_float_value'); + late final _spine_event_data_get_float_value = + _spine_event_data_get_float_valuePtr + .asFunction(); void spine_event_data_set_float_value( spine_event_data event, @@ -2826,9 +3385,12 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_float_valuePtr = - _lookup>('spine_event_data_set_float_value'); - late final _spine_event_data_set_float_value = _spine_event_data_set_float_valuePtr.asFunction(); + late final _spine_event_data_set_float_valuePtr = _lookup< + ffi.NativeFunction>( + 'spine_event_data_set_float_value'); + late final _spine_event_data_set_float_value = + _spine_event_data_set_float_valuePtr + .asFunction(); ffi.Pointer spine_event_data_get_string_value( spine_event_data event, @@ -2839,9 +3401,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_string_valuePtr = - _lookup Function(spine_event_data)>>('spine_event_data_get_string_value'); + _lookup Function(spine_event_data)>>( + 'spine_event_data_get_string_value'); late final _spine_event_data_get_string_value = - _spine_event_data_get_string_valuePtr.asFunction Function(spine_event_data)>(); + _spine_event_data_get_string_valuePtr + .asFunction Function(spine_event_data)>(); void spine_event_data_set_string_value( spine_event_data event, @@ -2853,10 +3417,13 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_string_valuePtr = - _lookup)>>('spine_event_data_set_string_value'); + late final _spine_event_data_set_string_valuePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_event_data, + ffi.Pointer)>>('spine_event_data_set_string_value'); late final _spine_event_data_set_string_value = - _spine_event_data_set_string_valuePtr.asFunction)>(); + _spine_event_data_set_string_valuePtr + .asFunction)>(); ffi.Pointer spine_event_data_get_audio_path( spine_event_data event, @@ -2867,9 +3434,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_audio_pathPtr = - _lookup Function(spine_event_data)>>('spine_event_data_get_audio_path'); + _lookup Function(spine_event_data)>>( + 'spine_event_data_get_audio_path'); late final _spine_event_data_get_audio_path = - _spine_event_data_get_audio_pathPtr.asFunction Function(spine_event_data)>(); + _spine_event_data_get_audio_pathPtr + .asFunction Function(spine_event_data)>(); /// OMITTED setAudioPath() double spine_event_data_get_volume( @@ -2881,8 +3450,10 @@ class SpineFlutterBindings { } late final _spine_event_data_get_volumePtr = - _lookup>('spine_event_data_get_volume'); - late final _spine_event_data_get_volume = _spine_event_data_get_volumePtr.asFunction(); + _lookup>( + 'spine_event_data_get_volume'); + late final _spine_event_data_get_volume = _spine_event_data_get_volumePtr + .asFunction(); void spine_event_data_set_volume( spine_event_data event, @@ -2894,9 +3465,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_volumePtr = - _lookup>('spine_event_data_set_volume'); - late final _spine_event_data_set_volume = _spine_event_data_set_volumePtr.asFunction(); + late final _spine_event_data_set_volumePtr = _lookup< + ffi.NativeFunction>( + 'spine_event_data_set_volume'); + late final _spine_event_data_set_volume = _spine_event_data_set_volumePtr + .asFunction(); double spine_event_data_get_balance( spine_event_data event, @@ -2907,8 +3480,10 @@ class SpineFlutterBindings { } late final _spine_event_data_get_balancePtr = - _lookup>('spine_event_data_get_balance'); - late final _spine_event_data_get_balance = _spine_event_data_get_balancePtr.asFunction(); + _lookup>( + 'spine_event_data_get_balance'); + late final _spine_event_data_get_balance = _spine_event_data_get_balancePtr + .asFunction(); void spine_event_data_set_balance( spine_event_data event, @@ -2920,9 +3495,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_set_balancePtr = - _lookup>('spine_event_data_set_balance'); - late final _spine_event_data_set_balance = _spine_event_data_set_balancePtr.asFunction(); + late final _spine_event_data_set_balancePtr = _lookup< + ffi.NativeFunction>( + 'spine_event_data_set_balance'); + late final _spine_event_data_set_balance = _spine_event_data_set_balancePtr + .asFunction(); spine_event_data spine_event_get_data( spine_event event, @@ -2932,8 +3509,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_dataPtr = _lookup>('spine_event_get_data'); - late final _spine_event_get_data = _spine_event_get_dataPtr.asFunction(); + late final _spine_event_get_dataPtr = + _lookup>( + 'spine_event_get_data'); + late final _spine_event_get_data = _spine_event_get_dataPtr + .asFunction(); double spine_event_get_time( spine_event event, @@ -2943,8 +3523,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_timePtr = _lookup>('spine_event_get_time'); - late final _spine_event_get_time = _spine_event_get_timePtr.asFunction(); + late final _spine_event_get_timePtr = + _lookup>( + 'spine_event_get_time'); + late final _spine_event_get_time = + _spine_event_get_timePtr.asFunction(); int spine_event_get_int_value( spine_event event, @@ -2954,8 +3537,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_int_valuePtr = _lookup>('spine_event_get_int_value'); - late final _spine_event_get_int_value = _spine_event_get_int_valuePtr.asFunction(); + late final _spine_event_get_int_valuePtr = + _lookup>( + 'spine_event_get_int_value'); + late final _spine_event_get_int_value = + _spine_event_get_int_valuePtr.asFunction(); void spine_event_set_int_value( spine_event event, @@ -2968,8 +3554,10 @@ class SpineFlutterBindings { } late final _spine_event_set_int_valuePtr = - _lookup>('spine_event_set_int_value'); - late final _spine_event_set_int_value = _spine_event_set_int_valuePtr.asFunction(); + _lookup>( + 'spine_event_set_int_value'); + late final _spine_event_set_int_value = _spine_event_set_int_valuePtr + .asFunction(); double spine_event_get_float_value( spine_event event, @@ -2979,8 +3567,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_float_valuePtr = _lookup>('spine_event_get_float_value'); - late final _spine_event_get_float_value = _spine_event_get_float_valuePtr.asFunction(); + late final _spine_event_get_float_valuePtr = + _lookup>( + 'spine_event_get_float_value'); + late final _spine_event_get_float_value = _spine_event_get_float_valuePtr + .asFunction(); void spine_event_set_float_value( spine_event event, @@ -2993,8 +3584,10 @@ class SpineFlutterBindings { } late final _spine_event_set_float_valuePtr = - _lookup>('spine_event_set_float_value'); - late final _spine_event_set_float_value = _spine_event_set_float_valuePtr.asFunction(); + _lookup>( + 'spine_event_set_float_value'); + late final _spine_event_set_float_value = _spine_event_set_float_valuePtr + .asFunction(); ffi.Pointer spine_event_get_string_value( spine_event event, @@ -3005,8 +3598,10 @@ class SpineFlutterBindings { } late final _spine_event_get_string_valuePtr = - _lookup Function(spine_event)>>('spine_event_get_string_value'); - late final _spine_event_get_string_value = _spine_event_get_string_valuePtr.asFunction Function(spine_event)>(); + _lookup Function(spine_event)>>( + 'spine_event_get_string_value'); + late final _spine_event_get_string_value = _spine_event_get_string_valuePtr + .asFunction Function(spine_event)>(); void spine_event_set_string_value( spine_event event, @@ -3018,9 +3613,12 @@ class SpineFlutterBindings { ); } - late final _spine_event_set_string_valuePtr = - _lookup)>>('spine_event_set_string_value'); - late final _spine_event_set_string_value = _spine_event_set_string_valuePtr.asFunction)>(); + late final _spine_event_set_string_valuePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_event, ffi.Pointer)>>('spine_event_set_string_value'); + late final _spine_event_set_string_value = _spine_event_set_string_valuePtr + .asFunction)>(); double spine_event_get_volume( spine_event event, @@ -3030,8 +3628,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_volumePtr = _lookup>('spine_event_get_volume'); - late final _spine_event_get_volume = _spine_event_get_volumePtr.asFunction(); + late final _spine_event_get_volumePtr = + _lookup>( + 'spine_event_get_volume'); + late final _spine_event_get_volume = + _spine_event_get_volumePtr.asFunction(); void spine_event_set_volume( spine_event event, @@ -3043,8 +3644,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_set_volumePtr = _lookup>('spine_event_set_volume'); - late final _spine_event_set_volume = _spine_event_set_volumePtr.asFunction(); + late final _spine_event_set_volumePtr = + _lookup>( + 'spine_event_set_volume'); + late final _spine_event_set_volume = _spine_event_set_volumePtr + .asFunction(); double spine_event_get_balance( spine_event event, @@ -3054,8 +3658,11 @@ class SpineFlutterBindings { ); } - late final _spine_event_get_balancePtr = _lookup>('spine_event_get_balance'); - late final _spine_event_get_balance = _spine_event_get_balancePtr.asFunction(); + late final _spine_event_get_balancePtr = + _lookup>( + 'spine_event_get_balance'); + late final _spine_event_get_balance = + _spine_event_get_balancePtr.asFunction(); void spine_event_set_balance( spine_event event, @@ -3068,8 +3675,10 @@ class SpineFlutterBindings { } late final _spine_event_set_balancePtr = - _lookup>('spine_event_set_balance'); - late final _spine_event_set_balance = _spine_event_set_balancePtr.asFunction(); + _lookup>( + 'spine_event_set_balance'); + late final _spine_event_set_balance = _spine_event_set_balancePtr + .asFunction(); int spine_slot_data_get_index( spine_slot_data slot, @@ -3079,8 +3688,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_get_indexPtr = _lookup>('spine_slot_data_get_index'); - late final _spine_slot_data_get_index = _spine_slot_data_get_indexPtr.asFunction(); + late final _spine_slot_data_get_indexPtr = + _lookup>( + 'spine_slot_data_get_index'); + late final _spine_slot_data_get_index = + _spine_slot_data_get_indexPtr.asFunction(); ffi.Pointer spine_slot_data_get_name( spine_slot_data slot, @@ -3091,8 +3703,10 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_namePtr = - _lookup Function(spine_slot_data)>>('spine_slot_data_get_name'); - late final _spine_slot_data_get_name = _spine_slot_data_get_namePtr.asFunction Function(spine_slot_data)>(); + _lookup Function(spine_slot_data)>>( + 'spine_slot_data_get_name'); + late final _spine_slot_data_get_name = _spine_slot_data_get_namePtr + .asFunction Function(spine_slot_data)>(); spine_bone_data spine_slot_data_get_bone_data( spine_slot_data slot, @@ -3103,8 +3717,10 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_bone_dataPtr = - _lookup>('spine_slot_data_get_bone_data'); - late final _spine_slot_data_get_bone_data = _spine_slot_data_get_bone_dataPtr.asFunction(); + _lookup>( + 'spine_slot_data_get_bone_data'); + late final _spine_slot_data_get_bone_data = _spine_slot_data_get_bone_dataPtr + .asFunction(); spine_color spine_slot_data_get_color( spine_slot_data slot, @@ -3115,8 +3731,10 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_colorPtr = - _lookup>('spine_slot_data_get_color'); - late final _spine_slot_data_get_color = _spine_slot_data_get_colorPtr.asFunction(); + _lookup>( + 'spine_slot_data_get_color'); + late final _spine_slot_data_get_color = _spine_slot_data_get_colorPtr + .asFunction(); void spine_slot_data_set_color( spine_slot_data slot, @@ -3134,11 +3752,13 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_colorPtr = - _lookup>( - 'spine_slot_data_set_color'); + late final _spine_slot_data_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_slot_data_set_color'); late final _spine_slot_data_set_color = - _spine_slot_data_set_colorPtr.asFunction(); + _spine_slot_data_set_colorPtr.asFunction< + void Function(spine_slot_data, double, double, double, double)>(); spine_color spine_slot_data_get_dark_color( spine_slot_data slot, @@ -3149,8 +3769,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_dark_colorPtr = - _lookup>('spine_slot_data_get_dark_color'); - late final _spine_slot_data_get_dark_color = _spine_slot_data_get_dark_colorPtr.asFunction(); + _lookup>( + 'spine_slot_data_get_dark_color'); + late final _spine_slot_data_get_dark_color = + _spine_slot_data_get_dark_colorPtr + .asFunction(); void spine_slot_data_set_dark_color( spine_slot_data slot, @@ -3168,11 +3791,13 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_dark_colorPtr = - _lookup>( - 'spine_slot_data_set_dark_color'); + late final _spine_slot_data_set_dark_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_slot_data_set_dark_color'); late final _spine_slot_data_set_dark_color = - _spine_slot_data_set_dark_colorPtr.asFunction(); + _spine_slot_data_set_dark_colorPtr.asFunction< + void Function(spine_slot_data, double, double, double, double)>(); int spine_slot_data_has_dark_color( spine_slot_data slot, @@ -3183,8 +3808,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_has_dark_colorPtr = - _lookup>('spine_slot_data_has_dark_color'); - late final _spine_slot_data_has_dark_color = _spine_slot_data_has_dark_colorPtr.asFunction(); + _lookup>( + 'spine_slot_data_has_dark_color'); + late final _spine_slot_data_has_dark_color = + _spine_slot_data_has_dark_colorPtr + .asFunction(); void spine_slot_data_set_has_dark_color( spine_slot_data slot, @@ -3196,9 +3824,12 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_has_dark_colorPtr = - _lookup>('spine_slot_data_set_has_dark_color'); - late final _spine_slot_data_set_has_dark_color = _spine_slot_data_set_has_dark_colorPtr.asFunction(); + late final _spine_slot_data_set_has_dark_colorPtr = _lookup< + ffi.NativeFunction>( + 'spine_slot_data_set_has_dark_color'); + late final _spine_slot_data_set_has_dark_color = + _spine_slot_data_set_has_dark_colorPtr + .asFunction(); ffi.Pointer spine_slot_data_get_attachment_name( spine_slot_data slot, @@ -3209,9 +3840,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_attachment_namePtr = - _lookup Function(spine_slot_data)>>('spine_slot_data_get_attachment_name'); + _lookup Function(spine_slot_data)>>( + 'spine_slot_data_get_attachment_name'); late final _spine_slot_data_get_attachment_name = - _spine_slot_data_get_attachment_namePtr.asFunction Function(spine_slot_data)>(); + _spine_slot_data_get_attachment_namePtr + .asFunction Function(spine_slot_data)>(); void spine_slot_data_set_attachment_name( spine_slot_data slot, @@ -3223,10 +3856,13 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_attachment_namePtr = - _lookup)>>('spine_slot_data_set_attachment_name'); + late final _spine_slot_data_set_attachment_namePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_slot_data, + ffi.Pointer)>>('spine_slot_data_set_attachment_name'); late final _spine_slot_data_set_attachment_name = - _spine_slot_data_set_attachment_namePtr.asFunction)>(); + _spine_slot_data_set_attachment_namePtr + .asFunction)>(); int spine_slot_data_get_blend_mode( spine_slot_data slot, @@ -3237,8 +3873,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_blend_modePtr = - _lookup>('spine_slot_data_get_blend_mode'); - late final _spine_slot_data_get_blend_mode = _spine_slot_data_get_blend_modePtr.asFunction(); + _lookup>( + 'spine_slot_data_get_blend_mode'); + late final _spine_slot_data_get_blend_mode = + _spine_slot_data_get_blend_modePtr + .asFunction(); void spine_slot_data_set_blend_mode( spine_slot_data slot, @@ -3250,9 +3889,12 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_set_blend_modePtr = - _lookup>('spine_slot_data_set_blend_mode'); - late final _spine_slot_data_set_blend_mode = _spine_slot_data_set_blend_modePtr.asFunction(); + late final _spine_slot_data_set_blend_modePtr = _lookup< + ffi.NativeFunction>( + 'spine_slot_data_set_blend_mode'); + late final _spine_slot_data_set_blend_mode = + _spine_slot_data_set_blend_modePtr + .asFunction(); void spine_slot_set_to_setup_pose( spine_slot slot, @@ -3262,8 +3904,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_to_setup_posePtr = _lookup>('spine_slot_set_to_setup_pose'); - late final _spine_slot_set_to_setup_pose = _spine_slot_set_to_setup_posePtr.asFunction(); + late final _spine_slot_set_to_setup_posePtr = + _lookup>( + 'spine_slot_set_to_setup_pose'); + late final _spine_slot_set_to_setup_pose = + _spine_slot_set_to_setup_posePtr.asFunction(); spine_slot_data spine_slot_get_data( spine_slot slot, @@ -3273,8 +3918,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_dataPtr = _lookup>('spine_slot_get_data'); - late final _spine_slot_get_data = _spine_slot_get_dataPtr.asFunction(); + late final _spine_slot_get_dataPtr = + _lookup>( + 'spine_slot_get_data'); + late final _spine_slot_get_data = _spine_slot_get_dataPtr + .asFunction(); spine_bone spine_slot_get_bone( spine_slot slot, @@ -3284,8 +3932,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_bonePtr = _lookup>('spine_slot_get_bone'); - late final _spine_slot_get_bone = _spine_slot_get_bonePtr.asFunction(); + late final _spine_slot_get_bonePtr = + _lookup>( + 'spine_slot_get_bone'); + late final _spine_slot_get_bone = + _spine_slot_get_bonePtr.asFunction(); spine_skeleton spine_slot_get_skeleton( spine_slot slot, @@ -3295,8 +3946,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_skeletonPtr = _lookup>('spine_slot_get_skeleton'); - late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr.asFunction(); + late final _spine_slot_get_skeletonPtr = + _lookup>( + 'spine_slot_get_skeleton'); + late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr + .asFunction(); spine_color spine_slot_get_color( spine_slot slot, @@ -3306,8 +3960,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_colorPtr = _lookup>('spine_slot_get_color'); - late final _spine_slot_get_color = _spine_slot_get_colorPtr.asFunction(); + late final _spine_slot_get_colorPtr = + _lookup>( + 'spine_slot_get_color'); + late final _spine_slot_get_color = + _spine_slot_get_colorPtr.asFunction(); void spine_slot_set_color( spine_slot slot, @@ -3325,9 +3982,12 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_colorPtr = - _lookup>('spine_slot_set_color'); - late final _spine_slot_set_color = _spine_slot_set_colorPtr.asFunction(); + late final _spine_slot_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_slot_set_color'); + late final _spine_slot_set_color = _spine_slot_set_colorPtr + .asFunction(); spine_color spine_slot_get_dark_color( spine_slot slot, @@ -3337,8 +3997,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_get_dark_colorPtr = _lookup>('spine_slot_get_dark_color'); - late final _spine_slot_get_dark_color = _spine_slot_get_dark_colorPtr.asFunction(); + late final _spine_slot_get_dark_colorPtr = + _lookup>( + 'spine_slot_get_dark_color'); + late final _spine_slot_get_dark_color = _spine_slot_get_dark_colorPtr + .asFunction(); void spine_slot_set_dark_color( spine_slot slot, @@ -3356,10 +4019,12 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_dark_colorPtr = - _lookup>('spine_slot_set_dark_color'); - late final _spine_slot_set_dark_color = - _spine_slot_set_dark_colorPtr.asFunction(); + late final _spine_slot_set_dark_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_slot_set_dark_color'); + late final _spine_slot_set_dark_color = _spine_slot_set_dark_colorPtr + .asFunction(); int spine_slot_has_dark_color( spine_slot slot, @@ -3369,8 +4034,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_has_dark_colorPtr = _lookup>('spine_slot_has_dark_color'); - late final _spine_slot_has_dark_color = _spine_slot_has_dark_colorPtr.asFunction(); + late final _spine_slot_has_dark_colorPtr = + _lookup>( + 'spine_slot_has_dark_color'); + late final _spine_slot_has_dark_color = + _spine_slot_has_dark_colorPtr.asFunction(); spine_attachment spine_slot_get_attachment( spine_slot slot, @@ -3381,8 +4049,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_attachmentPtr = - _lookup>('spine_slot_get_attachment'); - late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr.asFunction(); + _lookup>( + 'spine_slot_get_attachment'); + late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr + .asFunction(); void spine_slot_set_attachment( spine_slot slot, @@ -3394,9 +4064,11 @@ class SpineFlutterBindings { ); } - late final _spine_slot_set_attachmentPtr = - _lookup>('spine_slot_set_attachment'); - late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr.asFunction(); + late final _spine_slot_set_attachmentPtr = _lookup< + ffi.NativeFunction>( + 'spine_slot_set_attachment'); + late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr + .asFunction(); /// OMITTED getDeform() int spine_slot_get_sequence_index( @@ -3408,8 +4080,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_sequence_indexPtr = - _lookup>('spine_slot_get_sequence_index'); - late final _spine_slot_get_sequence_index = _spine_slot_get_sequence_indexPtr.asFunction(); + _lookup>( + 'spine_slot_get_sequence_index'); + late final _spine_slot_get_sequence_index = + _spine_slot_get_sequence_indexPtr.asFunction(); void spine_slot_set_sequence_index( spine_slot slot, @@ -3422,8 +4096,10 @@ class SpineFlutterBindings { } late final _spine_slot_set_sequence_indexPtr = - _lookup>('spine_slot_set_sequence_index'); - late final _spine_slot_set_sequence_index = _spine_slot_set_sequence_indexPtr.asFunction(); + _lookup>( + 'spine_slot_set_sequence_index'); + late final _spine_slot_set_sequence_index = _spine_slot_set_sequence_indexPtr + .asFunction(); int spine_bone_data_get_index( spine_bone_data data, @@ -3433,8 +4109,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_get_indexPtr = _lookup>('spine_bone_data_get_index'); - late final _spine_bone_data_get_index = _spine_bone_data_get_indexPtr.asFunction(); + late final _spine_bone_data_get_indexPtr = + _lookup>( + 'spine_bone_data_get_index'); + late final _spine_bone_data_get_index = + _spine_bone_data_get_indexPtr.asFunction(); ffi.Pointer spine_bone_data_get_name( spine_bone_data data, @@ -3445,8 +4124,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_namePtr = - _lookup Function(spine_bone_data)>>('spine_bone_data_get_name'); - late final _spine_bone_data_get_name = _spine_bone_data_get_namePtr.asFunction Function(spine_bone_data)>(); + _lookup Function(spine_bone_data)>>( + 'spine_bone_data_get_name'); + late final _spine_bone_data_get_name = _spine_bone_data_get_namePtr + .asFunction Function(spine_bone_data)>(); spine_bone_data spine_bone_data_get_parent( spine_bone_data data, @@ -3457,8 +4138,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_parentPtr = - _lookup>('spine_bone_data_get_parent'); - late final _spine_bone_data_get_parent = _spine_bone_data_get_parentPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_parent'); + late final _spine_bone_data_get_parent = _spine_bone_data_get_parentPtr + .asFunction(); double spine_bone_data_get_length( spine_bone_data data, @@ -3469,8 +4152,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_lengthPtr = - _lookup>('spine_bone_data_get_length'); - late final _spine_bone_data_get_length = _spine_bone_data_get_lengthPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_length'); + late final _spine_bone_data_get_length = _spine_bone_data_get_lengthPtr + .asFunction(); void spine_bone_data_set_length( spine_bone_data data, @@ -3482,9 +4167,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_lengthPtr = - _lookup>('spine_bone_data_set_length'); - late final _spine_bone_data_set_length = _spine_bone_data_set_lengthPtr.asFunction(); + late final _spine_bone_data_set_lengthPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_length'); + late final _spine_bone_data_set_length = _spine_bone_data_set_lengthPtr + .asFunction(); double spine_bone_data_get_x( spine_bone_data data, @@ -3494,8 +4181,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_get_xPtr = _lookup>('spine_bone_data_get_x'); - late final _spine_bone_data_get_x = _spine_bone_data_get_xPtr.asFunction(); + late final _spine_bone_data_get_xPtr = + _lookup>( + 'spine_bone_data_get_x'); + late final _spine_bone_data_get_x = + _spine_bone_data_get_xPtr.asFunction(); void spine_bone_data_set_x( spine_bone_data data, @@ -3507,9 +4197,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_xPtr = - _lookup>('spine_bone_data_set_x'); - late final _spine_bone_data_set_x = _spine_bone_data_set_xPtr.asFunction(); + late final _spine_bone_data_set_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_x'); + late final _spine_bone_data_set_x = _spine_bone_data_set_xPtr + .asFunction(); double spine_bone_data_get_y( spine_bone_data data, @@ -3519,8 +4211,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_get_yPtr = _lookup>('spine_bone_data_get_y'); - late final _spine_bone_data_get_y = _spine_bone_data_get_yPtr.asFunction(); + late final _spine_bone_data_get_yPtr = + _lookup>( + 'spine_bone_data_get_y'); + late final _spine_bone_data_get_y = + _spine_bone_data_get_yPtr.asFunction(); void spine_bone_data_set_y( spine_bone_data data, @@ -3532,9 +4227,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_yPtr = - _lookup>('spine_bone_data_set_y'); - late final _spine_bone_data_set_y = _spine_bone_data_set_yPtr.asFunction(); + late final _spine_bone_data_set_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_y'); + late final _spine_bone_data_set_y = _spine_bone_data_set_yPtr + .asFunction(); double spine_bone_data_get_rotation( spine_bone_data data, @@ -3545,8 +4242,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_rotationPtr = - _lookup>('spine_bone_data_get_rotation'); - late final _spine_bone_data_get_rotation = _spine_bone_data_get_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_rotation'); + late final _spine_bone_data_get_rotation = _spine_bone_data_get_rotationPtr + .asFunction(); void spine_bone_data_set_rotation( spine_bone_data data, @@ -3558,9 +4257,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_rotationPtr = - _lookup>('spine_bone_data_set_rotation'); - late final _spine_bone_data_set_rotation = _spine_bone_data_set_rotationPtr.asFunction(); + late final _spine_bone_data_set_rotationPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_rotation'); + late final _spine_bone_data_set_rotation = _spine_bone_data_set_rotationPtr + .asFunction(); double spine_bone_data_get_scale_x( spine_bone_data data, @@ -3571,8 +4272,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_scale_xPtr = - _lookup>('spine_bone_data_get_scale_x'); - late final _spine_bone_data_get_scale_x = _spine_bone_data_get_scale_xPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_scale_x'); + late final _spine_bone_data_get_scale_x = _spine_bone_data_get_scale_xPtr + .asFunction(); void spine_bone_data_set_scale_x( spine_bone_data data, @@ -3584,9 +4287,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_scale_xPtr = - _lookup>('spine_bone_data_set_scale_x'); - late final _spine_bone_data_set_scale_x = _spine_bone_data_set_scale_xPtr.asFunction(); + late final _spine_bone_data_set_scale_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_scale_x'); + late final _spine_bone_data_set_scale_x = _spine_bone_data_set_scale_xPtr + .asFunction(); double spine_bone_data_get_scale_y( spine_bone_data data, @@ -3597,8 +4302,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_scale_yPtr = - _lookup>('spine_bone_data_get_scale_y'); - late final _spine_bone_data_get_scale_y = _spine_bone_data_get_scale_yPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_scale_y'); + late final _spine_bone_data_get_scale_y = _spine_bone_data_get_scale_yPtr + .asFunction(); void spine_bone_data_set_scale_y( spine_bone_data data, @@ -3610,9 +4317,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_scale_yPtr = - _lookup>('spine_bone_data_set_scale_y'); - late final _spine_bone_data_set_scale_y = _spine_bone_data_set_scale_yPtr.asFunction(); + late final _spine_bone_data_set_scale_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_scale_y'); + late final _spine_bone_data_set_scale_y = _spine_bone_data_set_scale_yPtr + .asFunction(); double spine_bone_data_get_shear_x( spine_bone_data data, @@ -3623,8 +4332,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_shear_xPtr = - _lookup>('spine_bone_data_get_shear_x'); - late final _spine_bone_data_get_shear_x = _spine_bone_data_get_shear_xPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_shear_x'); + late final _spine_bone_data_get_shear_x = _spine_bone_data_get_shear_xPtr + .asFunction(); void spine_bone_data_set_shear_x( spine_bone_data data, @@ -3636,9 +4347,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_shear_xPtr = - _lookup>('spine_bone_data_set_shear_x'); - late final _spine_bone_data_set_shear_x = _spine_bone_data_set_shear_xPtr.asFunction(); + late final _spine_bone_data_set_shear_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_shear_x'); + late final _spine_bone_data_set_shear_x = _spine_bone_data_set_shear_xPtr + .asFunction(); double spine_bone_data_get_shear_y( spine_bone_data data, @@ -3649,8 +4362,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_shear_yPtr = - _lookup>('spine_bone_data_get_shear_y'); - late final _spine_bone_data_get_shear_y = _spine_bone_data_get_shear_yPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_shear_y'); + late final _spine_bone_data_get_shear_y = _spine_bone_data_get_shear_yPtr + .asFunction(); void spine_bone_data_set_shear_y( spine_bone_data data, @@ -3662,9 +4377,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_shear_yPtr = - _lookup>('spine_bone_data_set_shear_y'); - late final _spine_bone_data_set_shear_y = _spine_bone_data_set_shear_yPtr.asFunction(); + late final _spine_bone_data_set_shear_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_shear_y'); + late final _spine_bone_data_set_shear_y = _spine_bone_data_set_shear_yPtr + .asFunction(); int spine_bone_data_get_transform_mode( spine_bone_data data, @@ -3675,8 +4392,11 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_transform_modePtr = - _lookup>('spine_bone_data_get_transform_mode'); - late final _spine_bone_data_get_transform_mode = _spine_bone_data_get_transform_modePtr.asFunction(); + _lookup>( + 'spine_bone_data_get_transform_mode'); + late final _spine_bone_data_get_transform_mode = + _spine_bone_data_get_transform_modePtr + .asFunction(); void spine_bone_data_set_transform_mode( spine_bone_data data, @@ -3688,9 +4408,12 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_transform_modePtr = - _lookup>('spine_bone_data_set_transform_mode'); - late final _spine_bone_data_set_transform_mode = _spine_bone_data_set_transform_modePtr.asFunction(); + late final _spine_bone_data_set_transform_modePtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_transform_mode'); + late final _spine_bone_data_set_transform_mode = + _spine_bone_data_set_transform_modePtr + .asFunction(); int spine_bone_data_is_skin_required( spine_bone_data data, @@ -3701,8 +4424,11 @@ class SpineFlutterBindings { } late final _spine_bone_data_is_skin_requiredPtr = - _lookup>('spine_bone_data_is_skin_required'); - late final _spine_bone_data_is_skin_required = _spine_bone_data_is_skin_requiredPtr.asFunction(); + _lookup>( + 'spine_bone_data_is_skin_required'); + late final _spine_bone_data_is_skin_required = + _spine_bone_data_is_skin_requiredPtr + .asFunction(); void spine_bone_data_set_is_skin_required( spine_bone_data data, @@ -3714,10 +4440,12 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_is_skin_requiredPtr = - _lookup>('spine_bone_data_set_is_skin_required'); + late final _spine_bone_data_set_is_skin_requiredPtr = _lookup< + ffi.NativeFunction>( + 'spine_bone_data_set_is_skin_required'); late final _spine_bone_data_set_is_skin_required = - _spine_bone_data_set_is_skin_requiredPtr.asFunction(); + _spine_bone_data_set_is_skin_requiredPtr + .asFunction(); spine_color spine_bone_data_get_color( spine_bone_data data, @@ -3728,8 +4456,10 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_colorPtr = - _lookup>('spine_bone_data_get_color'); - late final _spine_bone_data_get_color = _spine_bone_data_get_colorPtr.asFunction(); + _lookup>( + 'spine_bone_data_get_color'); + late final _spine_bone_data_get_color = _spine_bone_data_get_colorPtr + .asFunction(); void spine_bone_data_set_color( spine_bone_data data, @@ -3747,11 +4477,13 @@ class SpineFlutterBindings { ); } - late final _spine_bone_data_set_colorPtr = - _lookup>( - 'spine_bone_data_set_color'); + late final _spine_bone_data_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_bone_data, ffi.Float, ffi.Float, ffi.Float, + ffi.Float)>>('spine_bone_data_set_color'); late final _spine_bone_data_set_color = - _spine_bone_data_set_colorPtr.asFunction(); + _spine_bone_data_set_colorPtr.asFunction< + void Function(spine_bone_data, double, double, double, double)>(); void spine_bone_set_is_y_down( int yDown, @@ -3761,15 +4493,21 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_is_y_downPtr = _lookup>('spine_bone_set_is_y_down'); - late final _spine_bone_set_is_y_down = _spine_bone_set_is_y_downPtr.asFunction(); + late final _spine_bone_set_is_y_downPtr = + _lookup>( + 'spine_bone_set_is_y_down'); + late final _spine_bone_set_is_y_down = + _spine_bone_set_is_y_downPtr.asFunction(); int spine_bone_get_is_y_down() { return _spine_bone_get_is_y_down(); } - late final _spine_bone_get_is_y_downPtr = _lookup>('spine_bone_get_is_y_down'); - late final _spine_bone_get_is_y_down = _spine_bone_get_is_y_downPtr.asFunction(); + late final _spine_bone_get_is_y_downPtr = + _lookup>( + 'spine_bone_get_is_y_down'); + late final _spine_bone_get_is_y_down = + _spine_bone_get_is_y_downPtr.asFunction(); void spine_bone_update( spine_bone bone, @@ -3779,8 +4517,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_updatePtr = _lookup>('spine_bone_update'); - late final _spine_bone_update = _spine_bone_updatePtr.asFunction(); + late final _spine_bone_updatePtr = + _lookup>( + 'spine_bone_update'); + late final _spine_bone_update = + _spine_bone_updatePtr.asFunction(); void spine_bone_update_world_transform( spine_bone bone, @@ -3791,8 +4532,11 @@ class SpineFlutterBindings { } late final _spine_bone_update_world_transformPtr = - _lookup>('spine_bone_update_world_transform'); - late final _spine_bone_update_world_transform = _spine_bone_update_world_transformPtr.asFunction(); + _lookup>( + 'spine_bone_update_world_transform'); + late final _spine_bone_update_world_transform = + _spine_bone_update_world_transformPtr + .asFunction(); void spine_bone_update_world_transform_with( spine_bone bone, @@ -3817,10 +4561,35 @@ class SpineFlutterBindings { } late final _spine_bone_update_world_transform_withPtr = _lookup< - ffi.NativeFunction>( - 'spine_bone_update_world_transform_with'); - late final _spine_bone_update_world_transform_with = _spine_bone_update_world_transform_withPtr - .asFunction(); + ffi.NativeFunction< + ffi.Void Function( + spine_bone, + ffi.Float, + ffi.Float, + ffi.Float, + ffi.Float, + ffi.Float, + ffi.Float, + ffi.Float)>>('spine_bone_update_world_transform_with'); + late final _spine_bone_update_world_transform_with = + _spine_bone_update_world_transform_withPtr.asFunction< + void Function(spine_bone, double, double, double, double, double, + double, double)>(); + + void spine_bone_update_applied_transform( + spine_bone bone, + ) { + return _spine_bone_update_applied_transform( + bone, + ); + } + + late final _spine_bone_update_applied_transformPtr = + _lookup>( + 'spine_bone_update_applied_transform'); + late final _spine_bone_update_applied_transform = + _spine_bone_update_applied_transformPtr + .asFunction(); void spine_bone_set_to_setup_pose( spine_bone bone, @@ -3830,8 +4599,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_to_setup_posePtr = _lookup>('spine_bone_set_to_setup_pose'); - late final _spine_bone_set_to_setup_pose = _spine_bone_set_to_setup_posePtr.asFunction(); + late final _spine_bone_set_to_setup_posePtr = + _lookup>( + 'spine_bone_set_to_setup_pose'); + late final _spine_bone_set_to_setup_pose = + _spine_bone_set_to_setup_posePtr.asFunction(); spine_vector spine_bone_world_to_local( spine_bone bone, @@ -3845,9 +4617,12 @@ class SpineFlutterBindings { ); } - late final _spine_bone_world_to_localPtr = - _lookup>('spine_bone_world_to_local'); - late final _spine_bone_world_to_local = _spine_bone_world_to_localPtr.asFunction(); + late final _spine_bone_world_to_localPtr = _lookup< + ffi.NativeFunction< + spine_vector Function( + spine_bone, ffi.Float, ffi.Float)>>('spine_bone_world_to_local'); + late final _spine_bone_world_to_local = _spine_bone_world_to_localPtr + .asFunction(); spine_vector spine_bone_local_to_world( spine_bone bone, @@ -3861,9 +4636,12 @@ class SpineFlutterBindings { ); } - late final _spine_bone_local_to_worldPtr = - _lookup>('spine_bone_local_to_world'); - late final _spine_bone_local_to_world = _spine_bone_local_to_worldPtr.asFunction(); + late final _spine_bone_local_to_worldPtr = _lookup< + ffi.NativeFunction< + spine_vector Function( + spine_bone, ffi.Float, ffi.Float)>>('spine_bone_local_to_world'); + late final _spine_bone_local_to_world = _spine_bone_local_to_worldPtr + .asFunction(); double spine_bone_world_to_local_rotation( spine_bone bone, @@ -3876,8 +4654,11 @@ class SpineFlutterBindings { } late final _spine_bone_world_to_local_rotationPtr = - _lookup>('spine_bone_world_to_local_rotation'); - late final _spine_bone_world_to_local_rotation = _spine_bone_world_to_local_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_world_to_local_rotation'); + late final _spine_bone_world_to_local_rotation = + _spine_bone_world_to_local_rotationPtr + .asFunction(); double spine_bone_local_to_world_rotation( spine_bone bone, @@ -3890,8 +4671,11 @@ class SpineFlutterBindings { } late final _spine_bone_local_to_world_rotationPtr = - _lookup>('spine_bone_local_to_world_rotation'); - late final _spine_bone_local_to_world_rotation = _spine_bone_local_to_world_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_local_to_world_rotation'); + late final _spine_bone_local_to_world_rotation = + _spine_bone_local_to_world_rotationPtr + .asFunction(); void spine_bone_rotate_world( spine_bone bone, @@ -3903,8 +4687,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_rotate_worldPtr = _lookup>('spine_bone_rotate_world'); - late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr.asFunction(); + late final _spine_bone_rotate_worldPtr = + _lookup>( + 'spine_bone_rotate_world'); + late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr + .asFunction(); double spine_bone_get_world_to_local_rotation_x( spine_bone bone, @@ -3915,9 +4702,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_to_local_rotation_xPtr = - _lookup>('spine_bone_get_world_to_local_rotation_x'); + _lookup>( + 'spine_bone_get_world_to_local_rotation_x'); late final _spine_bone_get_world_to_local_rotation_x = - _spine_bone_get_world_to_local_rotation_xPtr.asFunction(); + _spine_bone_get_world_to_local_rotation_xPtr + .asFunction(); double spine_bone_get_world_to_local_rotation_y( spine_bone bone, @@ -3928,9 +4717,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_to_local_rotation_yPtr = - _lookup>('spine_bone_get_world_to_local_rotation_y'); + _lookup>( + 'spine_bone_get_world_to_local_rotation_y'); late final _spine_bone_get_world_to_local_rotation_y = - _spine_bone_get_world_to_local_rotation_yPtr.asFunction(); + _spine_bone_get_world_to_local_rotation_yPtr + .asFunction(); spine_bone_data spine_bone_get_data( spine_bone bone, @@ -3940,8 +4731,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_dataPtr = _lookup>('spine_bone_get_data'); - late final _spine_bone_get_data = _spine_bone_get_dataPtr.asFunction(); + late final _spine_bone_get_dataPtr = + _lookup>( + 'spine_bone_get_data'); + late final _spine_bone_get_data = _spine_bone_get_dataPtr + .asFunction(); spine_skeleton spine_bone_get_skeleton( spine_bone bone, @@ -3951,8 +4745,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_skeletonPtr = _lookup>('spine_bone_get_skeleton'); - late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr.asFunction(); + late final _spine_bone_get_skeletonPtr = + _lookup>( + 'spine_bone_get_skeleton'); + late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr + .asFunction(); spine_bone spine_bone_get_parent( spine_bone bone, @@ -3962,8 +4759,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_parentPtr = _lookup>('spine_bone_get_parent'); - late final _spine_bone_get_parent = _spine_bone_get_parentPtr.asFunction(); + late final _spine_bone_get_parentPtr = + _lookup>( + 'spine_bone_get_parent'); + late final _spine_bone_get_parent = + _spine_bone_get_parentPtr.asFunction(); int spine_bone_get_num_children( spine_bone bone, @@ -3973,8 +4773,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_num_childrenPtr = _lookup>('spine_bone_get_num_children'); - late final _spine_bone_get_num_children = _spine_bone_get_num_childrenPtr.asFunction(); + late final _spine_bone_get_num_childrenPtr = + _lookup>( + 'spine_bone_get_num_children'); + late final _spine_bone_get_num_children = + _spine_bone_get_num_childrenPtr.asFunction(); ffi.Pointer spine_bone_get_children( spine_bone bone, @@ -3985,8 +4788,10 @@ class SpineFlutterBindings { } late final _spine_bone_get_childrenPtr = - _lookup Function(spine_bone)>>('spine_bone_get_children'); - late final _spine_bone_get_children = _spine_bone_get_childrenPtr.asFunction Function(spine_bone)>(); + _lookup Function(spine_bone)>>( + 'spine_bone_get_children'); + late final _spine_bone_get_children = _spine_bone_get_childrenPtr + .asFunction Function(spine_bone)>(); double spine_bone_get_x( spine_bone bone, @@ -3996,8 +4801,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_xPtr = _lookup>('spine_bone_get_x'); - late final _spine_bone_get_x = _spine_bone_get_xPtr.asFunction(); + late final _spine_bone_get_xPtr = + _lookup>( + 'spine_bone_get_x'); + late final _spine_bone_get_x = + _spine_bone_get_xPtr.asFunction(); void spine_bone_set_x( spine_bone bone, @@ -4009,8 +4817,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_xPtr = _lookup>('spine_bone_set_x'); - late final _spine_bone_set_x = _spine_bone_set_xPtr.asFunction(); + late final _spine_bone_set_xPtr = + _lookup>( + 'spine_bone_set_x'); + late final _spine_bone_set_x = + _spine_bone_set_xPtr.asFunction(); double spine_bone_get_y( spine_bone bone, @@ -4020,8 +4831,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_yPtr = _lookup>('spine_bone_get_y'); - late final _spine_bone_get_y = _spine_bone_get_yPtr.asFunction(); + late final _spine_bone_get_yPtr = + _lookup>( + 'spine_bone_get_y'); + late final _spine_bone_get_y = + _spine_bone_get_yPtr.asFunction(); void spine_bone_set_y( spine_bone bone, @@ -4033,8 +4847,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_yPtr = _lookup>('spine_bone_set_y'); - late final _spine_bone_set_y = _spine_bone_set_yPtr.asFunction(); + late final _spine_bone_set_yPtr = + _lookup>( + 'spine_bone_set_y'); + late final _spine_bone_set_y = + _spine_bone_set_yPtr.asFunction(); double spine_bone_get_rotation( spine_bone bone, @@ -4044,8 +4861,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_rotationPtr = _lookup>('spine_bone_get_rotation'); - late final _spine_bone_get_rotation = _spine_bone_get_rotationPtr.asFunction(); + late final _spine_bone_get_rotationPtr = + _lookup>( + 'spine_bone_get_rotation'); + late final _spine_bone_get_rotation = + _spine_bone_get_rotationPtr.asFunction(); void spine_bone_set_rotation( spine_bone bone, @@ -4057,8 +4877,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_rotationPtr = _lookup>('spine_bone_set_rotation'); - late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr.asFunction(); + late final _spine_bone_set_rotationPtr = + _lookup>( + 'spine_bone_set_rotation'); + late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr + .asFunction(); double spine_bone_get_scale_x( spine_bone bone, @@ -4068,8 +4891,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_scale_xPtr = _lookup>('spine_bone_get_scale_x'); - late final _spine_bone_get_scale_x = _spine_bone_get_scale_xPtr.asFunction(); + late final _spine_bone_get_scale_xPtr = + _lookup>( + 'spine_bone_get_scale_x'); + late final _spine_bone_get_scale_x = + _spine_bone_get_scale_xPtr.asFunction(); void spine_bone_set_scale_x( spine_bone bone, @@ -4081,8 +4907,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_scale_xPtr = _lookup>('spine_bone_set_scale_x'); - late final _spine_bone_set_scale_x = _spine_bone_set_scale_xPtr.asFunction(); + late final _spine_bone_set_scale_xPtr = + _lookup>( + 'spine_bone_set_scale_x'); + late final _spine_bone_set_scale_x = _spine_bone_set_scale_xPtr + .asFunction(); double spine_bone_get_scale_y( spine_bone bone, @@ -4092,8 +4921,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_scale_yPtr = _lookup>('spine_bone_get_scale_y'); - late final _spine_bone_get_scale_y = _spine_bone_get_scale_yPtr.asFunction(); + late final _spine_bone_get_scale_yPtr = + _lookup>( + 'spine_bone_get_scale_y'); + late final _spine_bone_get_scale_y = + _spine_bone_get_scale_yPtr.asFunction(); void spine_bone_set_scale_y( spine_bone bone, @@ -4105,8 +4937,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_scale_yPtr = _lookup>('spine_bone_set_scale_y'); - late final _spine_bone_set_scale_y = _spine_bone_set_scale_yPtr.asFunction(); + late final _spine_bone_set_scale_yPtr = + _lookup>( + 'spine_bone_set_scale_y'); + late final _spine_bone_set_scale_y = _spine_bone_set_scale_yPtr + .asFunction(); double spine_bone_get_shear_x( spine_bone bone, @@ -4116,8 +4951,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_shear_xPtr = _lookup>('spine_bone_get_shear_x'); - late final _spine_bone_get_shear_x = _spine_bone_get_shear_xPtr.asFunction(); + late final _spine_bone_get_shear_xPtr = + _lookup>( + 'spine_bone_get_shear_x'); + late final _spine_bone_get_shear_x = + _spine_bone_get_shear_xPtr.asFunction(); void spine_bone_set_shear_x( spine_bone bone, @@ -4129,8 +4967,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_shear_xPtr = _lookup>('spine_bone_set_shear_x'); - late final _spine_bone_set_shear_x = _spine_bone_set_shear_xPtr.asFunction(); + late final _spine_bone_set_shear_xPtr = + _lookup>( + 'spine_bone_set_shear_x'); + late final _spine_bone_set_shear_x = _spine_bone_set_shear_xPtr + .asFunction(); double spine_bone_get_shear_y( spine_bone bone, @@ -4140,8 +4981,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_shear_yPtr = _lookup>('spine_bone_get_shear_y'); - late final _spine_bone_get_shear_y = _spine_bone_get_shear_yPtr.asFunction(); + late final _spine_bone_get_shear_yPtr = + _lookup>( + 'spine_bone_get_shear_y'); + late final _spine_bone_get_shear_y = + _spine_bone_get_shear_yPtr.asFunction(); void spine_bone_set_shear_y( spine_bone bone, @@ -4153,8 +4997,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_shear_yPtr = _lookup>('spine_bone_set_shear_y'); - late final _spine_bone_set_shear_y = _spine_bone_set_shear_yPtr.asFunction(); + late final _spine_bone_set_shear_yPtr = + _lookup>( + 'spine_bone_set_shear_y'); + late final _spine_bone_set_shear_y = _spine_bone_set_shear_yPtr + .asFunction(); double spine_bone_get_applied_rotation( spine_bone bone, @@ -4165,8 +5012,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_applied_rotationPtr = - _lookup>('spine_bone_get_applied_rotation'); - late final _spine_bone_get_applied_rotation = _spine_bone_get_applied_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_get_applied_rotation'); + late final _spine_bone_get_applied_rotation = + _spine_bone_get_applied_rotationPtr + .asFunction(); void spine_bone_set_applied_rotation( spine_bone bone, @@ -4179,8 +5029,11 @@ class SpineFlutterBindings { } late final _spine_bone_set_applied_rotationPtr = - _lookup>('spine_bone_set_applied_rotation'); - late final _spine_bone_set_applied_rotation = _spine_bone_set_applied_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_set_applied_rotation'); + late final _spine_bone_set_applied_rotation = + _spine_bone_set_applied_rotationPtr + .asFunction(); double spine_bone_get_a_x( spine_bone bone, @@ -4190,8 +5043,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_xPtr = _lookup>('spine_bone_get_a_x'); - late final _spine_bone_get_a_x = _spine_bone_get_a_xPtr.asFunction(); + late final _spine_bone_get_a_xPtr = + _lookup>( + 'spine_bone_get_a_x'); + late final _spine_bone_get_a_x = + _spine_bone_get_a_xPtr.asFunction(); void spine_bone_set_a_x( spine_bone bone, @@ -4203,8 +5059,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_a_xPtr = _lookup>('spine_bone_set_a_x'); - late final _spine_bone_set_a_x = _spine_bone_set_a_xPtr.asFunction(); + late final _spine_bone_set_a_xPtr = + _lookup>( + 'spine_bone_set_a_x'); + late final _spine_bone_set_a_x = + _spine_bone_set_a_xPtr.asFunction(); double spine_bone_get_a_y( spine_bone bone, @@ -4214,8 +5073,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_yPtr = _lookup>('spine_bone_get_a_y'); - late final _spine_bone_get_a_y = _spine_bone_get_a_yPtr.asFunction(); + late final _spine_bone_get_a_yPtr = + _lookup>( + 'spine_bone_get_a_y'); + late final _spine_bone_get_a_y = + _spine_bone_get_a_yPtr.asFunction(); void spine_bone_set_a_y( spine_bone bone, @@ -4227,8 +5089,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_a_yPtr = _lookup>('spine_bone_set_a_y'); - late final _spine_bone_set_a_y = _spine_bone_set_a_yPtr.asFunction(); + late final _spine_bone_set_a_yPtr = + _lookup>( + 'spine_bone_set_a_y'); + late final _spine_bone_set_a_y = + _spine_bone_set_a_yPtr.asFunction(); double spine_bone_get_a_scale_x( spine_bone bone, @@ -4238,8 +5103,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_scale_xPtr = _lookup>('spine_bone_get_a_scale_x'); - late final _spine_bone_get_a_scale_x = _spine_bone_get_a_scale_xPtr.asFunction(); + late final _spine_bone_get_a_scale_xPtr = + _lookup>( + 'spine_bone_get_a_scale_x'); + late final _spine_bone_get_a_scale_x = + _spine_bone_get_a_scale_xPtr.asFunction(); void spine_bone_set_a_scale_x( spine_bone bone, @@ -4252,8 +5120,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_a_scale_xPtr = - _lookup>('spine_bone_set_a_scale_x'); - late final _spine_bone_set_a_scale_x = _spine_bone_set_a_scale_xPtr.asFunction(); + _lookup>( + 'spine_bone_set_a_scale_x'); + late final _spine_bone_set_a_scale_x = _spine_bone_set_a_scale_xPtr + .asFunction(); double spine_bone_get_a_scale_y( spine_bone bone, @@ -4263,8 +5133,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_scale_yPtr = _lookup>('spine_bone_get_a_scale_y'); - late final _spine_bone_get_a_scale_y = _spine_bone_get_a_scale_yPtr.asFunction(); + late final _spine_bone_get_a_scale_yPtr = + _lookup>( + 'spine_bone_get_a_scale_y'); + late final _spine_bone_get_a_scale_y = + _spine_bone_get_a_scale_yPtr.asFunction(); void spine_bone_set_a_scale_y( spine_bone bone, @@ -4277,8 +5150,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_a_scale_yPtr = - _lookup>('spine_bone_set_a_scale_y'); - late final _spine_bone_set_a_scale_y = _spine_bone_set_a_scale_yPtr.asFunction(); + _lookup>( + 'spine_bone_set_a_scale_y'); + late final _spine_bone_set_a_scale_y = _spine_bone_set_a_scale_yPtr + .asFunction(); double spine_bone_get_a_shear_x( spine_bone bone, @@ -4288,8 +5163,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_shear_xPtr = _lookup>('spine_bone_get_a_shear_x'); - late final _spine_bone_get_a_shear_x = _spine_bone_get_a_shear_xPtr.asFunction(); + late final _spine_bone_get_a_shear_xPtr = + _lookup>( + 'spine_bone_get_a_shear_x'); + late final _spine_bone_get_a_shear_x = + _spine_bone_get_a_shear_xPtr.asFunction(); void spine_bone_set_a_shear_x( spine_bone bone, @@ -4302,8 +5180,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_a_shear_xPtr = - _lookup>('spine_bone_set_a_shear_x'); - late final _spine_bone_set_a_shear_x = _spine_bone_set_a_shear_xPtr.asFunction(); + _lookup>( + 'spine_bone_set_a_shear_x'); + late final _spine_bone_set_a_shear_x = _spine_bone_set_a_shear_xPtr + .asFunction(); double spine_bone_get_a_shear_y( spine_bone bone, @@ -4313,8 +5193,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_a_shear_yPtr = _lookup>('spine_bone_get_a_shear_y'); - late final _spine_bone_get_a_shear_y = _spine_bone_get_a_shear_yPtr.asFunction(); + late final _spine_bone_get_a_shear_yPtr = + _lookup>( + 'spine_bone_get_a_shear_y'); + late final _spine_bone_get_a_shear_y = + _spine_bone_get_a_shear_yPtr.asFunction(); void spine_bone_set_a_shear_y( spine_bone bone, @@ -4327,8 +5210,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_a_shear_yPtr = - _lookup>('spine_bone_set_a_shear_y'); - late final _spine_bone_set_a_shear_y = _spine_bone_set_a_shear_yPtr.asFunction(); + _lookup>( + 'spine_bone_set_a_shear_y'); + late final _spine_bone_set_a_shear_y = _spine_bone_set_a_shear_yPtr + .asFunction(); double spine_bone_get_a( spine_bone bone, @@ -4338,8 +5223,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_aPtr = _lookup>('spine_bone_get_a'); - late final _spine_bone_get_a = _spine_bone_get_aPtr.asFunction(); + late final _spine_bone_get_aPtr = + _lookup>( + 'spine_bone_get_a'); + late final _spine_bone_get_a = + _spine_bone_get_aPtr.asFunction(); void spine_bone_set_a( spine_bone bone, @@ -4351,8 +5239,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_aPtr = _lookup>('spine_bone_set_a'); - late final _spine_bone_set_a = _spine_bone_set_aPtr.asFunction(); + late final _spine_bone_set_aPtr = + _lookup>( + 'spine_bone_set_a'); + late final _spine_bone_set_a = + _spine_bone_set_aPtr.asFunction(); double spine_bone_get_b( spine_bone bone, @@ -4362,8 +5253,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_bPtr = _lookup>('spine_bone_get_b'); - late final _spine_bone_get_b = _spine_bone_get_bPtr.asFunction(); + late final _spine_bone_get_bPtr = + _lookup>( + 'spine_bone_get_b'); + late final _spine_bone_get_b = + _spine_bone_get_bPtr.asFunction(); void spine_bone_set_b( spine_bone bone, @@ -4375,8 +5269,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_bPtr = _lookup>('spine_bone_set_b'); - late final _spine_bone_set_b = _spine_bone_set_bPtr.asFunction(); + late final _spine_bone_set_bPtr = + _lookup>( + 'spine_bone_set_b'); + late final _spine_bone_set_b = + _spine_bone_set_bPtr.asFunction(); double spine_bone_get_c( spine_bone bone, @@ -4386,8 +5283,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_cPtr = _lookup>('spine_bone_get_c'); - late final _spine_bone_get_c = _spine_bone_get_cPtr.asFunction(); + late final _spine_bone_get_cPtr = + _lookup>( + 'spine_bone_get_c'); + late final _spine_bone_get_c = + _spine_bone_get_cPtr.asFunction(); void spine_bone_set_c( spine_bone bone, @@ -4399,8 +5299,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_cPtr = _lookup>('spine_bone_set_c'); - late final _spine_bone_set_c = _spine_bone_set_cPtr.asFunction(); + late final _spine_bone_set_cPtr = + _lookup>( + 'spine_bone_set_c'); + late final _spine_bone_set_c = + _spine_bone_set_cPtr.asFunction(); double spine_bone_get_d( spine_bone bone, @@ -4410,8 +5313,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_dPtr = _lookup>('spine_bone_get_d'); - late final _spine_bone_get_d = _spine_bone_get_dPtr.asFunction(); + late final _spine_bone_get_dPtr = + _lookup>( + 'spine_bone_get_d'); + late final _spine_bone_get_d = + _spine_bone_get_dPtr.asFunction(); void spine_bone_set_d( spine_bone bone, @@ -4423,8 +5329,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_dPtr = _lookup>('spine_bone_set_d'); - late final _spine_bone_set_d = _spine_bone_set_dPtr.asFunction(); + late final _spine_bone_set_dPtr = + _lookup>( + 'spine_bone_set_d'); + late final _spine_bone_set_d = + _spine_bone_set_dPtr.asFunction(); double spine_bone_get_world_x( spine_bone bone, @@ -4434,8 +5343,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_world_xPtr = _lookup>('spine_bone_get_world_x'); - late final _spine_bone_get_world_x = _spine_bone_get_world_xPtr.asFunction(); + late final _spine_bone_get_world_xPtr = + _lookup>( + 'spine_bone_get_world_x'); + late final _spine_bone_get_world_x = + _spine_bone_get_world_xPtr.asFunction(); void spine_bone_set_world_x( spine_bone bone, @@ -4447,8 +5359,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_world_xPtr = _lookup>('spine_bone_set_world_x'); - late final _spine_bone_set_world_x = _spine_bone_set_world_xPtr.asFunction(); + late final _spine_bone_set_world_xPtr = + _lookup>( + 'spine_bone_set_world_x'); + late final _spine_bone_set_world_x = _spine_bone_set_world_xPtr + .asFunction(); double spine_bone_get_world_y( spine_bone bone, @@ -4458,8 +5373,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_world_yPtr = _lookup>('spine_bone_get_world_y'); - late final _spine_bone_get_world_y = _spine_bone_get_world_yPtr.asFunction(); + late final _spine_bone_get_world_yPtr = + _lookup>( + 'spine_bone_get_world_y'); + late final _spine_bone_get_world_y = + _spine_bone_get_world_yPtr.asFunction(); void spine_bone_set_world_y( spine_bone bone, @@ -4471,8 +5389,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_set_world_yPtr = _lookup>('spine_bone_set_world_y'); - late final _spine_bone_set_world_y = _spine_bone_set_world_yPtr.asFunction(); + late final _spine_bone_set_world_yPtr = + _lookup>( + 'spine_bone_set_world_y'); + late final _spine_bone_set_world_y = _spine_bone_set_world_yPtr + .asFunction(); double spine_bone_get_world_rotation_x( spine_bone bone, @@ -4483,8 +5404,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_rotation_xPtr = - _lookup>('spine_bone_get_world_rotation_x'); - late final _spine_bone_get_world_rotation_x = _spine_bone_get_world_rotation_xPtr.asFunction(); + _lookup>( + 'spine_bone_get_world_rotation_x'); + late final _spine_bone_get_world_rotation_x = + _spine_bone_get_world_rotation_xPtr + .asFunction(); double spine_bone_get_world_rotation_y( spine_bone bone, @@ -4495,8 +5419,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_rotation_yPtr = - _lookup>('spine_bone_get_world_rotation_y'); - late final _spine_bone_get_world_rotation_y = _spine_bone_get_world_rotation_yPtr.asFunction(); + _lookup>( + 'spine_bone_get_world_rotation_y'); + late final _spine_bone_get_world_rotation_y = + _spine_bone_get_world_rotation_yPtr + .asFunction(); double spine_bone_get_world_scale_x( spine_bone bone, @@ -4506,8 +5433,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_world_scale_xPtr = _lookup>('spine_bone_get_world_scale_x'); - late final _spine_bone_get_world_scale_x = _spine_bone_get_world_scale_xPtr.asFunction(); + late final _spine_bone_get_world_scale_xPtr = + _lookup>( + 'spine_bone_get_world_scale_x'); + late final _spine_bone_get_world_scale_x = _spine_bone_get_world_scale_xPtr + .asFunction(); double spine_bone_get_world_scale_y( spine_bone bone, @@ -4517,8 +5447,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_world_scale_yPtr = _lookup>('spine_bone_get_world_scale_y'); - late final _spine_bone_get_world_scale_y = _spine_bone_get_world_scale_yPtr.asFunction(); + late final _spine_bone_get_world_scale_yPtr = + _lookup>( + 'spine_bone_get_world_scale_y'); + late final _spine_bone_get_world_scale_y = _spine_bone_get_world_scale_yPtr + .asFunction(); int spine_bone_get_is_active( spine_bone bone, @@ -4528,8 +5461,11 @@ class SpineFlutterBindings { ); } - late final _spine_bone_get_is_activePtr = _lookup>('spine_bone_get_is_active'); - late final _spine_bone_get_is_active = _spine_bone_get_is_activePtr.asFunction(); + late final _spine_bone_get_is_activePtr = + _lookup>( + 'spine_bone_get_is_active'); + late final _spine_bone_get_is_active = + _spine_bone_get_is_activePtr.asFunction(); void spine_bone_set_is_active( spine_bone bone, @@ -4542,8 +5478,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_is_activePtr = - _lookup>('spine_bone_set_is_active'); - late final _spine_bone_set_is_active = _spine_bone_set_is_activePtr.asFunction(); + _lookup>( + 'spine_bone_set_is_active'); + late final _spine_bone_set_is_active = + _spine_bone_set_is_activePtr.asFunction(); ffi.Pointer spine_attachment_get_name( spine_attachment attachment, @@ -4554,8 +5492,10 @@ class SpineFlutterBindings { } late final _spine_attachment_get_namePtr = - _lookup Function(spine_attachment)>>('spine_attachment_get_name'); - late final _spine_attachment_get_name = _spine_attachment_get_namePtr.asFunction Function(spine_attachment)>(); + _lookup Function(spine_attachment)>>( + 'spine_attachment_get_name'); + late final _spine_attachment_get_name = _spine_attachment_get_namePtr + .asFunction Function(spine_attachment)>(); int spine_attachment_get_type( spine_attachment attachment, @@ -4565,8 +5505,11 @@ class SpineFlutterBindings { ); } - late final _spine_attachment_get_typePtr = _lookup>('spine_attachment_get_type'); - late final _spine_attachment_get_type = _spine_attachment_get_typePtr.asFunction(); + late final _spine_attachment_get_typePtr = + _lookup>( + 'spine_attachment_get_type'); + late final _spine_attachment_get_type = _spine_attachment_get_typePtr + .asFunction(); spine_attachment spine_attachment_copy( spine_attachment attachment, @@ -4576,8 +5519,11 @@ class SpineFlutterBindings { ); } - late final _spine_attachment_copyPtr = _lookup>('spine_attachment_copy'); - late final _spine_attachment_copy = _spine_attachment_copyPtr.asFunction(); + late final _spine_attachment_copyPtr = + _lookup>( + 'spine_attachment_copy'); + late final _spine_attachment_copy = _spine_attachment_copyPtr + .asFunction(); void spine_attachment_dispose( spine_attachment attachment, @@ -4587,8 +5533,11 @@ class SpineFlutterBindings { ); } - late final _spine_attachment_disposePtr = _lookup>('spine_attachment_dispose'); - late final _spine_attachment_dispose = _spine_attachment_disposePtr.asFunction(); + late final _spine_attachment_disposePtr = + _lookup>( + 'spine_attachment_dispose'); + late final _spine_attachment_dispose = _spine_attachment_disposePtr + .asFunction(); spine_vector spine_point_attachment_compute_world_position( spine_point_attachment attachment, @@ -4600,11 +5549,13 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_compute_world_positionPtr = - _lookup>( - 'spine_point_attachment_compute_world_position'); + late final _spine_point_attachment_compute_world_positionPtr = _lookup< + ffi.NativeFunction< + spine_vector Function(spine_point_attachment, + spine_bone)>>('spine_point_attachment_compute_world_position'); late final _spine_point_attachment_compute_world_position = - _spine_point_attachment_compute_world_positionPtr.asFunction(); + _spine_point_attachment_compute_world_positionPtr.asFunction< + spine_vector Function(spine_point_attachment, spine_bone)>(); double spine_point_attachment_compute_world_rotation( spine_point_attachment attachment, @@ -4616,10 +5567,13 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_compute_world_rotationPtr = - _lookup>('spine_point_attachment_compute_world_rotation'); + late final _spine_point_attachment_compute_world_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_point_attachment, + spine_bone)>>('spine_point_attachment_compute_world_rotation'); late final _spine_point_attachment_compute_world_rotation = - _spine_point_attachment_compute_world_rotationPtr.asFunction(); + _spine_point_attachment_compute_world_rotationPtr + .asFunction(); double spine_point_attachment_get_x( spine_point_attachment attachment, @@ -4630,8 +5584,10 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_xPtr = - _lookup>('spine_point_attachment_get_x'); - late final _spine_point_attachment_get_x = _spine_point_attachment_get_xPtr.asFunction(); + _lookup>( + 'spine_point_attachment_get_x'); + late final _spine_point_attachment_get_x = _spine_point_attachment_get_xPtr + .asFunction(); void spine_point_attachment_set_x( spine_point_attachment attachment, @@ -4643,9 +5599,12 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_xPtr = - _lookup>('spine_point_attachment_set_x'); - late final _spine_point_attachment_set_x = _spine_point_attachment_set_xPtr.asFunction(); + late final _spine_point_attachment_set_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_point_attachment, + ffi.Float)>>('spine_point_attachment_set_x'); + late final _spine_point_attachment_set_x = _spine_point_attachment_set_xPtr + .asFunction(); double spine_point_attachment_get_y( spine_point_attachment attachment, @@ -4656,8 +5615,10 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_yPtr = - _lookup>('spine_point_attachment_get_y'); - late final _spine_point_attachment_get_y = _spine_point_attachment_get_yPtr.asFunction(); + _lookup>( + 'spine_point_attachment_get_y'); + late final _spine_point_attachment_get_y = _spine_point_attachment_get_yPtr + .asFunction(); void spine_point_attachment_set_y( spine_point_attachment attachment, @@ -4669,9 +5630,12 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_yPtr = - _lookup>('spine_point_attachment_set_y'); - late final _spine_point_attachment_set_y = _spine_point_attachment_set_yPtr.asFunction(); + late final _spine_point_attachment_set_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_point_attachment, + ffi.Float)>>('spine_point_attachment_set_y'); + late final _spine_point_attachment_set_y = _spine_point_attachment_set_yPtr + .asFunction(); double spine_point_attachment_get_rotation( spine_point_attachment attachment, @@ -4682,9 +5646,11 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_rotationPtr = - _lookup>('spine_point_attachment_get_rotation'); + _lookup>( + 'spine_point_attachment_get_rotation'); late final _spine_point_attachment_get_rotation = - _spine_point_attachment_get_rotationPtr.asFunction(); + _spine_point_attachment_get_rotationPtr + .asFunction(); void spine_point_attachment_set_rotation( spine_point_attachment attachment, @@ -4696,10 +5662,13 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_rotationPtr = - _lookup>('spine_point_attachment_set_rotation'); + late final _spine_point_attachment_set_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_point_attachment, + ffi.Float)>>('spine_point_attachment_set_rotation'); late final _spine_point_attachment_set_rotation = - _spine_point_attachment_set_rotationPtr.asFunction(); + _spine_point_attachment_set_rotationPtr + .asFunction(); spine_color spine_point_attachment_get_color( spine_point_attachment attachment, @@ -4710,9 +5679,11 @@ class SpineFlutterBindings { } late final _spine_point_attachment_get_colorPtr = - _lookup>('spine_point_attachment_get_color'); + _lookup>( + 'spine_point_attachment_get_color'); late final _spine_point_attachment_get_color = - _spine_point_attachment_get_colorPtr.asFunction(); + _spine_point_attachment_get_colorPtr + .asFunction(); void spine_point_attachment_set_color( spine_point_attachment attachment, @@ -4730,11 +5701,14 @@ class SpineFlutterBindings { ); } - late final _spine_point_attachment_set_colorPtr = - _lookup>( - 'spine_point_attachment_set_color'); + late final _spine_point_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_point_attachment, ffi.Float, ffi.Float, + ffi.Float, ffi.Float)>>('spine_point_attachment_set_color'); late final _spine_point_attachment_set_color = - _spine_point_attachment_set_colorPtr.asFunction(); + _spine_point_attachment_set_colorPtr.asFunction< + void Function( + spine_point_attachment, double, double, double, double)>(); void spine_region_attachment_update_region( spine_region_attachment attachment, @@ -4745,9 +5719,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_update_regionPtr = - _lookup>('spine_region_attachment_update_region'); + _lookup>( + 'spine_region_attachment_update_region'); late final _spine_region_attachment_update_region = - _spine_region_attachment_update_regionPtr.asFunction(); + _spine_region_attachment_update_regionPtr + .asFunction(); void spine_region_attachment_compute_world_vertices( spine_region_attachment attachment, @@ -4761,11 +5737,15 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_compute_world_verticesPtr = - _lookup)>>( - 'spine_region_attachment_compute_world_vertices'); - late final _spine_region_attachment_compute_world_vertices = _spine_region_attachment_compute_world_verticesPtr - .asFunction)>(); + late final _spine_region_attachment_compute_world_verticesPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, spine_slot, + ffi.Pointer)>>( + 'spine_region_attachment_compute_world_vertices'); + late final _spine_region_attachment_compute_world_vertices = + _spine_region_attachment_compute_world_verticesPtr.asFunction< + void Function( + spine_region_attachment, spine_slot, ffi.Pointer)>(); double spine_region_attachment_get_x( spine_region_attachment attachment, @@ -4776,8 +5756,10 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_xPtr = - _lookup>('spine_region_attachment_get_x'); - late final _spine_region_attachment_get_x = _spine_region_attachment_get_xPtr.asFunction(); + _lookup>( + 'spine_region_attachment_get_x'); + late final _spine_region_attachment_get_x = _spine_region_attachment_get_xPtr + .asFunction(); void spine_region_attachment_set_x( spine_region_attachment attachment, @@ -4789,10 +5771,12 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_xPtr = - _lookup>('spine_region_attachment_set_x'); - late final _spine_region_attachment_set_x = - _spine_region_attachment_set_xPtr.asFunction(); + late final _spine_region_attachment_set_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_x'); + late final _spine_region_attachment_set_x = _spine_region_attachment_set_xPtr + .asFunction(); double spine_region_attachment_get_y( spine_region_attachment attachment, @@ -4803,8 +5787,10 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_yPtr = - _lookup>('spine_region_attachment_get_y'); - late final _spine_region_attachment_get_y = _spine_region_attachment_get_yPtr.asFunction(); + _lookup>( + 'spine_region_attachment_get_y'); + late final _spine_region_attachment_get_y = _spine_region_attachment_get_yPtr + .asFunction(); void spine_region_attachment_set_y( spine_region_attachment attachment, @@ -4816,10 +5802,12 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_yPtr = - _lookup>('spine_region_attachment_set_y'); - late final _spine_region_attachment_set_y = - _spine_region_attachment_set_yPtr.asFunction(); + late final _spine_region_attachment_set_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_y'); + late final _spine_region_attachment_set_y = _spine_region_attachment_set_yPtr + .asFunction(); double spine_region_attachment_get_rotation( spine_region_attachment attachment, @@ -4830,9 +5818,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_rotationPtr = - _lookup>('spine_region_attachment_get_rotation'); + _lookup>( + 'spine_region_attachment_get_rotation'); late final _spine_region_attachment_get_rotation = - _spine_region_attachment_get_rotationPtr.asFunction(); + _spine_region_attachment_get_rotationPtr + .asFunction(); void spine_region_attachment_set_rotation( spine_region_attachment attachment, @@ -4844,10 +5834,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_rotationPtr = - _lookup>('spine_region_attachment_set_rotation'); + late final _spine_region_attachment_set_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_rotation'); late final _spine_region_attachment_set_rotation = - _spine_region_attachment_set_rotationPtr.asFunction(); + _spine_region_attachment_set_rotationPtr + .asFunction(); double spine_region_attachment_get_scale_x( spine_region_attachment attachment, @@ -4858,9 +5851,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_scale_xPtr = - _lookup>('spine_region_attachment_get_scale_x'); + _lookup>( + 'spine_region_attachment_get_scale_x'); late final _spine_region_attachment_get_scale_x = - _spine_region_attachment_get_scale_xPtr.asFunction(); + _spine_region_attachment_get_scale_xPtr + .asFunction(); void spine_region_attachment_set_scale_x( spine_region_attachment attachment, @@ -4872,10 +5867,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_scale_xPtr = - _lookup>('spine_region_attachment_set_scale_x'); + late final _spine_region_attachment_set_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_scale_x'); late final _spine_region_attachment_set_scale_x = - _spine_region_attachment_set_scale_xPtr.asFunction(); + _spine_region_attachment_set_scale_xPtr + .asFunction(); double spine_region_attachment_get_scale_y( spine_region_attachment attachment, @@ -4886,9 +5884,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_scale_yPtr = - _lookup>('spine_region_attachment_get_scale_y'); + _lookup>( + 'spine_region_attachment_get_scale_y'); late final _spine_region_attachment_get_scale_y = - _spine_region_attachment_get_scale_yPtr.asFunction(); + _spine_region_attachment_get_scale_yPtr + .asFunction(); void spine_region_attachment_set_scale_y( spine_region_attachment attachment, @@ -4900,10 +5900,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_scale_yPtr = - _lookup>('spine_region_attachment_set_scale_y'); + late final _spine_region_attachment_set_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_scale_y'); late final _spine_region_attachment_set_scale_y = - _spine_region_attachment_set_scale_yPtr.asFunction(); + _spine_region_attachment_set_scale_yPtr + .asFunction(); double spine_region_attachment_get_width( spine_region_attachment attachment, @@ -4914,9 +5917,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_widthPtr = - _lookup>('spine_region_attachment_get_width'); + _lookup>( + 'spine_region_attachment_get_width'); late final _spine_region_attachment_get_width = - _spine_region_attachment_get_widthPtr.asFunction(); + _spine_region_attachment_get_widthPtr + .asFunction(); void spine_region_attachment_set_width( spine_region_attachment attachment, @@ -4928,10 +5933,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_widthPtr = - _lookup>('spine_region_attachment_set_width'); + late final _spine_region_attachment_set_widthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_width'); late final _spine_region_attachment_set_width = - _spine_region_attachment_set_widthPtr.asFunction(); + _spine_region_attachment_set_widthPtr + .asFunction(); double spine_region_attachment_get_height( spine_region_attachment attachment, @@ -4942,9 +5950,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_heightPtr = - _lookup>('spine_region_attachment_get_height'); + _lookup>( + 'spine_region_attachment_get_height'); late final _spine_region_attachment_get_height = - _spine_region_attachment_get_heightPtr.asFunction(); + _spine_region_attachment_get_heightPtr + .asFunction(); void spine_region_attachment_set_height( spine_region_attachment attachment, @@ -4956,10 +5966,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_heightPtr = - _lookup>('spine_region_attachment_set_height'); + late final _spine_region_attachment_set_heightPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, + ffi.Float)>>('spine_region_attachment_set_height'); late final _spine_region_attachment_set_height = - _spine_region_attachment_set_heightPtr.asFunction(); + _spine_region_attachment_set_heightPtr + .asFunction(); spine_color spine_region_attachment_get_color( spine_region_attachment attachment, @@ -4969,10 +5982,12 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_colorPtr = - _lookup>('spine_region_attachment_get_color'); + late final _spine_region_attachment_get_colorPtr = _lookup< + ffi.NativeFunction>( + 'spine_region_attachment_get_color'); late final _spine_region_attachment_get_color = - _spine_region_attachment_get_colorPtr.asFunction(); + _spine_region_attachment_get_colorPtr + .asFunction(); void spine_region_attachment_set_color( spine_region_attachment attachment, @@ -4990,11 +6005,14 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_set_colorPtr = - _lookup>( - 'spine_region_attachment_set_color'); + late final _spine_region_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_region_attachment, ffi.Float, ffi.Float, + ffi.Float, ffi.Float)>>('spine_region_attachment_set_color'); late final _spine_region_attachment_set_color = - _spine_region_attachment_set_colorPtr.asFunction(); + _spine_region_attachment_set_colorPtr.asFunction< + void Function( + spine_region_attachment, double, double, double, double)>(); ffi.Pointer spine_region_attachment_get_path( spine_region_attachment attachment, @@ -5004,10 +6022,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_pathPtr = - _lookup Function(spine_region_attachment)>>('spine_region_attachment_get_path'); + late final _spine_region_attachment_get_pathPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_region_attachment)>>('spine_region_attachment_get_path'); late final _spine_region_attachment_get_path = - _spine_region_attachment_get_pathPtr.asFunction Function(spine_region_attachment)>(); + _spine_region_attachment_get_pathPtr + .asFunction Function(spine_region_attachment)>(); /// OMITTED setPath() spine_texture_region spine_region_attachment_get_region( @@ -5018,10 +6039,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_regionPtr = - _lookup>('spine_region_attachment_get_region'); + late final _spine_region_attachment_get_regionPtr = _lookup< + ffi.NativeFunction< + spine_texture_region Function( + spine_region_attachment)>>('spine_region_attachment_get_region'); late final _spine_region_attachment_get_region = - _spine_region_attachment_get_regionPtr.asFunction(); + _spine_region_attachment_get_regionPtr + .asFunction(); /// OMITTED setRegion() spine_sequence spine_region_attachment_get_sequence( @@ -5032,10 +6056,12 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_sequencePtr = - _lookup>('spine_region_attachment_get_sequence'); + late final _spine_region_attachment_get_sequencePtr = _lookup< + ffi.NativeFunction>( + 'spine_region_attachment_get_sequence'); late final _spine_region_attachment_get_sequence = - _spine_region_attachment_get_sequencePtr.asFunction(); + _spine_region_attachment_get_sequencePtr + .asFunction(); /// OMITTED setSequence() int spine_region_attachment_get_num_offset( @@ -5047,9 +6073,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_num_offsetPtr = - _lookup>('spine_region_attachment_get_num_offset'); + _lookup>( + 'spine_region_attachment_get_num_offset'); late final _spine_region_attachment_get_num_offset = - _spine_region_attachment_get_num_offsetPtr.asFunction(); + _spine_region_attachment_get_num_offsetPtr + .asFunction(); ffi.Pointer spine_region_attachment_get_offset( spine_region_attachment attachment, @@ -5059,10 +6087,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_offsetPtr = - _lookup Function(spine_region_attachment)>>('spine_region_attachment_get_offset'); + late final _spine_region_attachment_get_offsetPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_region_attachment)>>('spine_region_attachment_get_offset'); late final _spine_region_attachment_get_offset = - _spine_region_attachment_get_offsetPtr.asFunction Function(spine_region_attachment)>(); + _spine_region_attachment_get_offsetPtr.asFunction< + ffi.Pointer Function(spine_region_attachment)>(); int spine_region_attachment_get_num_uvs( spine_region_attachment attachment, @@ -5073,9 +6104,11 @@ class SpineFlutterBindings { } late final _spine_region_attachment_get_num_uvsPtr = - _lookup>('spine_region_attachment_get_num_uvs'); + _lookup>( + 'spine_region_attachment_get_num_uvs'); late final _spine_region_attachment_get_num_uvs = - _spine_region_attachment_get_num_uvsPtr.asFunction(); + _spine_region_attachment_get_num_uvsPtr + .asFunction(); ffi.Pointer spine_region_attachment_get_uvs( spine_region_attachment attachment, @@ -5085,10 +6118,13 @@ class SpineFlutterBindings { ); } - late final _spine_region_attachment_get_uvsPtr = - _lookup Function(spine_region_attachment)>>('spine_region_attachment_get_uvs'); + late final _spine_region_attachment_get_uvsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_region_attachment)>>('spine_region_attachment_get_uvs'); late final _spine_region_attachment_get_uvs = - _spine_region_attachment_get_uvsPtr.asFunction Function(spine_region_attachment)>(); + _spine_region_attachment_get_uvsPtr.asFunction< + ffi.Pointer Function(spine_region_attachment)>(); int spine_vertex_attachment_get_world_vertices_length( spine_vertex_attachment attachment, @@ -5099,9 +6135,11 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_world_vertices_lengthPtr = - _lookup>('spine_vertex_attachment_get_world_vertices_length'); + _lookup>( + 'spine_vertex_attachment_get_world_vertices_length'); late final _spine_vertex_attachment_get_world_vertices_length = - _spine_vertex_attachment_get_world_vertices_lengthPtr.asFunction(); + _spine_vertex_attachment_get_world_vertices_lengthPtr + .asFunction(); void spine_vertex_attachment_compute_world_vertices( spine_vertex_attachment attachment, @@ -5115,11 +6153,15 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_compute_world_verticesPtr = - _lookup)>>( - 'spine_vertex_attachment_compute_world_vertices'); - late final _spine_vertex_attachment_compute_world_vertices = _spine_vertex_attachment_compute_world_verticesPtr - .asFunction)>(); + late final _spine_vertex_attachment_compute_world_verticesPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_vertex_attachment, spine_slot, + ffi.Pointer)>>( + 'spine_vertex_attachment_compute_world_vertices'); + late final _spine_vertex_attachment_compute_world_vertices = + _spine_vertex_attachment_compute_world_verticesPtr.asFunction< + void Function( + spine_vertex_attachment, spine_slot, ffi.Pointer)>(); /// OMITTED getId() int spine_vertex_attachment_get_num_bones( @@ -5131,9 +6173,11 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_num_bonesPtr = - _lookup>('spine_vertex_attachment_get_num_bones'); + _lookup>( + 'spine_vertex_attachment_get_num_bones'); late final _spine_vertex_attachment_get_num_bones = - _spine_vertex_attachment_get_num_bonesPtr.asFunction(); + _spine_vertex_attachment_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_vertex_attachment_get_bones( spine_vertex_attachment attachment, @@ -5143,10 +6187,13 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_bonesPtr = - _lookup Function(spine_vertex_attachment)>>('spine_vertex_attachment_get_bones'); + late final _spine_vertex_attachment_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_vertex_attachment)>>('spine_vertex_attachment_get_bones'); late final _spine_vertex_attachment_get_bones = - _spine_vertex_attachment_get_bonesPtr.asFunction Function(spine_vertex_attachment)>(); + _spine_vertex_attachment_get_bonesPtr.asFunction< + ffi.Pointer Function(spine_vertex_attachment)>(); int spine_vertex_attachment_get_num_vertices( spine_vertex_attachment attachment, @@ -5157,9 +6204,11 @@ class SpineFlutterBindings { } late final _spine_vertex_attachment_get_num_verticesPtr = - _lookup>('spine_vertex_attachment_get_num_vertices'); + _lookup>( + 'spine_vertex_attachment_get_num_vertices'); late final _spine_vertex_attachment_get_num_vertices = - _spine_vertex_attachment_get_num_verticesPtr.asFunction(); + _spine_vertex_attachment_get_num_verticesPtr + .asFunction(); ffi.Pointer spine_vertex_attachment_get_vertices( spine_vertex_attachment attachment, @@ -5169,10 +6218,13 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_verticesPtr = - _lookup Function(spine_vertex_attachment)>>('spine_vertex_attachment_get_vertices'); + late final _spine_vertex_attachment_get_verticesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function(spine_vertex_attachment)>>( + 'spine_vertex_attachment_get_vertices'); late final _spine_vertex_attachment_get_vertices = - _spine_vertex_attachment_get_verticesPtr.asFunction Function(spine_vertex_attachment)>(); + _spine_vertex_attachment_get_verticesPtr.asFunction< + ffi.Pointer Function(spine_vertex_attachment)>(); spine_attachment spine_vertex_attachment_get_timeline_attachment( spine_vertex_attachment timelineAttachment, @@ -5182,10 +6234,13 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_get_timeline_attachmentPtr = - _lookup>('spine_vertex_attachment_get_timeline_attachment'); + late final _spine_vertex_attachment_get_timeline_attachmentPtr = _lookup< + ffi.NativeFunction< + spine_attachment Function(spine_vertex_attachment)>>( + 'spine_vertex_attachment_get_timeline_attachment'); late final _spine_vertex_attachment_get_timeline_attachment = - _spine_vertex_attachment_get_timeline_attachmentPtr.asFunction(); + _spine_vertex_attachment_get_timeline_attachmentPtr + .asFunction(); void spine_vertex_attachment_set_timeline_attachment( spine_vertex_attachment attachment, @@ -5197,11 +6252,13 @@ class SpineFlutterBindings { ); } - late final _spine_vertex_attachment_set_timeline_attachmentPtr = - _lookup>( - 'spine_vertex_attachment_set_timeline_attachment'); + late final _spine_vertex_attachment_set_timeline_attachmentPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_vertex_attachment, spine_attachment)>>( + 'spine_vertex_attachment_set_timeline_attachment'); late final _spine_vertex_attachment_set_timeline_attachment = - _spine_vertex_attachment_set_timeline_attachmentPtr.asFunction(); + _spine_vertex_attachment_set_timeline_attachmentPtr.asFunction< + void Function(spine_vertex_attachment, spine_attachment)>(); /// OMITTED copyTo() void spine_mesh_attachment_update_region( @@ -5213,9 +6270,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_update_regionPtr = - _lookup>('spine_mesh_attachment_update_region'); + _lookup>( + 'spine_mesh_attachment_update_region'); late final _spine_mesh_attachment_update_region = - _spine_mesh_attachment_update_regionPtr.asFunction(); + _spine_mesh_attachment_update_regionPtr + .asFunction(); int spine_mesh_attachment_get_hull_length( spine_mesh_attachment attachment, @@ -5226,9 +6285,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_hull_lengthPtr = - _lookup>('spine_mesh_attachment_get_hull_length'); + _lookup>( + 'spine_mesh_attachment_get_hull_length'); late final _spine_mesh_attachment_get_hull_length = - _spine_mesh_attachment_get_hull_lengthPtr.asFunction(); + _spine_mesh_attachment_get_hull_lengthPtr + .asFunction(); void spine_mesh_attachment_set_hull_length( spine_mesh_attachment attachment, @@ -5240,10 +6301,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_hull_lengthPtr = - _lookup>('spine_mesh_attachment_set_hull_length'); + late final _spine_mesh_attachment_set_hull_lengthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_mesh_attachment, + ffi.Int32)>>('spine_mesh_attachment_set_hull_length'); late final _spine_mesh_attachment_set_hull_length = - _spine_mesh_attachment_set_hull_lengthPtr.asFunction(); + _spine_mesh_attachment_set_hull_lengthPtr + .asFunction(); int spine_mesh_attachment_get_num_region_uvs( spine_mesh_attachment attachment, @@ -5254,9 +6318,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_region_uvsPtr = - _lookup>('spine_mesh_attachment_get_num_region_uvs'); + _lookup>( + 'spine_mesh_attachment_get_num_region_uvs'); late final _spine_mesh_attachment_get_num_region_uvs = - _spine_mesh_attachment_get_num_region_uvsPtr.asFunction(); + _spine_mesh_attachment_get_num_region_uvsPtr + .asFunction(); ffi.Pointer spine_mesh_attachment_get_region_uvs( spine_mesh_attachment attachment, @@ -5266,10 +6332,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_region_uvsPtr = - _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_region_uvs'); + late final _spine_mesh_attachment_get_region_uvsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_region_uvs'); late final _spine_mesh_attachment_get_region_uvs = - _spine_mesh_attachment_get_region_uvsPtr.asFunction Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_region_uvsPtr + .asFunction Function(spine_mesh_attachment)>(); int spine_mesh_attachment_get_num_uvs( spine_mesh_attachment attachment, @@ -5280,8 +6349,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_uvsPtr = - _lookup>('spine_mesh_attachment_get_num_uvs'); - late final _spine_mesh_attachment_get_num_uvs = _spine_mesh_attachment_get_num_uvsPtr.asFunction(); + _lookup>( + 'spine_mesh_attachment_get_num_uvs'); + late final _spine_mesh_attachment_get_num_uvs = + _spine_mesh_attachment_get_num_uvsPtr + .asFunction(); ffi.Pointer spine_mesh_attachment_get_uvs( spine_mesh_attachment attachment, @@ -5291,10 +6363,12 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_uvsPtr = - _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_uvs'); - late final _spine_mesh_attachment_get_uvs = - _spine_mesh_attachment_get_uvsPtr.asFunction Function(spine_mesh_attachment)>(); + late final _spine_mesh_attachment_get_uvsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_uvs'); + late final _spine_mesh_attachment_get_uvs = _spine_mesh_attachment_get_uvsPtr + .asFunction Function(spine_mesh_attachment)>(); int spine_mesh_attachment_get_num_triangles( spine_mesh_attachment attachment, @@ -5305,9 +6379,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_trianglesPtr = - _lookup>('spine_mesh_attachment_get_num_triangles'); + _lookup>( + 'spine_mesh_attachment_get_num_triangles'); late final _spine_mesh_attachment_get_num_triangles = - _spine_mesh_attachment_get_num_trianglesPtr.asFunction(); + _spine_mesh_attachment_get_num_trianglesPtr + .asFunction(); ffi.Pointer spine_mesh_attachment_get_triangles( spine_mesh_attachment attachment, @@ -5317,10 +6393,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_trianglesPtr = - _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_triangles'); + late final _spine_mesh_attachment_get_trianglesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_triangles'); late final _spine_mesh_attachment_get_triangles = - _spine_mesh_attachment_get_trianglesPtr.asFunction Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_trianglesPtr.asFunction< + ffi.Pointer Function(spine_mesh_attachment)>(); spine_color spine_mesh_attachment_get_color( spine_mesh_attachment attachment, @@ -5331,9 +6410,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_colorPtr = - _lookup>('spine_mesh_attachment_get_color'); + _lookup>( + 'spine_mesh_attachment_get_color'); late final _spine_mesh_attachment_get_color = - _spine_mesh_attachment_get_colorPtr.asFunction(); + _spine_mesh_attachment_get_colorPtr + .asFunction(); void spine_mesh_attachment_set_color( spine_mesh_attachment attachment, @@ -5351,11 +6432,14 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_colorPtr = - _lookup>( - 'spine_mesh_attachment_set_color'); + late final _spine_mesh_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_mesh_attachment, ffi.Float, ffi.Float, + ffi.Float, ffi.Float)>>('spine_mesh_attachment_set_color'); late final _spine_mesh_attachment_set_color = - _spine_mesh_attachment_set_colorPtr.asFunction(); + _spine_mesh_attachment_set_colorPtr.asFunction< + void Function( + spine_mesh_attachment, double, double, double, double)>(); ffi.Pointer spine_mesh_attachment_get_path( spine_mesh_attachment attachment, @@ -5365,10 +6449,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_pathPtr = - _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_path'); + late final _spine_mesh_attachment_get_pathPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_path'); late final _spine_mesh_attachment_get_path = - _spine_mesh_attachment_get_pathPtr.asFunction Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_pathPtr + .asFunction Function(spine_mesh_attachment)>(); /// OMITTED setPath() spine_texture_region spine_mesh_attachment_get_region( @@ -5379,10 +6466,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_regionPtr = - _lookup>('spine_mesh_attachment_get_region'); + late final _spine_mesh_attachment_get_regionPtr = _lookup< + ffi.NativeFunction< + spine_texture_region Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_region'); late final _spine_mesh_attachment_get_region = - _spine_mesh_attachment_get_regionPtr.asFunction(); + _spine_mesh_attachment_get_regionPtr + .asFunction(); /// OMITTED setRegion() spine_sequence spine_mesh_attachment_get_sequence( @@ -5393,10 +6483,12 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_sequencePtr = - _lookup>('spine_mesh_attachment_get_sequence'); + late final _spine_mesh_attachment_get_sequencePtr = _lookup< + ffi.NativeFunction>( + 'spine_mesh_attachment_get_sequence'); late final _spine_mesh_attachment_get_sequence = - _spine_mesh_attachment_get_sequencePtr.asFunction(); + _spine_mesh_attachment_get_sequencePtr + .asFunction(); /// OMITTED setSequence() spine_mesh_attachment spine_mesh_attachment_get_parent_mesh( @@ -5407,10 +6499,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_parent_meshPtr = - _lookup>('spine_mesh_attachment_get_parent_mesh'); + late final _spine_mesh_attachment_get_parent_meshPtr = _lookup< + ffi.NativeFunction< + spine_mesh_attachment Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_parent_mesh'); late final _spine_mesh_attachment_get_parent_mesh = - _spine_mesh_attachment_get_parent_meshPtr.asFunction(); + _spine_mesh_attachment_get_parent_meshPtr + .asFunction(); void spine_mesh_attachment_set_parent_mesh( spine_mesh_attachment attachment, @@ -5422,10 +6517,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_parent_meshPtr = - _lookup>('spine_mesh_attachment_set_parent_mesh'); + late final _spine_mesh_attachment_set_parent_meshPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_mesh_attachment, + spine_mesh_attachment)>>('spine_mesh_attachment_set_parent_mesh'); late final _spine_mesh_attachment_set_parent_mesh = - _spine_mesh_attachment_set_parent_meshPtr.asFunction(); + _spine_mesh_attachment_set_parent_meshPtr.asFunction< + void Function(spine_mesh_attachment, spine_mesh_attachment)>(); int spine_mesh_attachment_get_num_edges( spine_mesh_attachment attachment, @@ -5436,9 +6534,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_edgesPtr = - _lookup>('spine_mesh_attachment_get_num_edges'); + _lookup>( + 'spine_mesh_attachment_get_num_edges'); late final _spine_mesh_attachment_get_num_edges = - _spine_mesh_attachment_get_num_edgesPtr.asFunction(); + _spine_mesh_attachment_get_num_edgesPtr + .asFunction(); ffi.Pointer spine_mesh_attachment_get_edges( spine_mesh_attachment attachment, @@ -5448,10 +6548,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_get_edgesPtr = - _lookup Function(spine_mesh_attachment)>>('spine_mesh_attachment_get_edges'); + late final _spine_mesh_attachment_get_edgesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_mesh_attachment)>>('spine_mesh_attachment_get_edges'); late final _spine_mesh_attachment_get_edges = - _spine_mesh_attachment_get_edgesPtr.asFunction Function(spine_mesh_attachment)>(); + _spine_mesh_attachment_get_edgesPtr.asFunction< + ffi.Pointer Function(spine_mesh_attachment)>(); double spine_mesh_attachment_get_width( spine_mesh_attachment attachment, @@ -5462,8 +6565,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_widthPtr = - _lookup>('spine_mesh_attachment_get_width'); - late final _spine_mesh_attachment_get_width = _spine_mesh_attachment_get_widthPtr.asFunction(); + _lookup>( + 'spine_mesh_attachment_get_width'); + late final _spine_mesh_attachment_get_width = + _spine_mesh_attachment_get_widthPtr + .asFunction(); void spine_mesh_attachment_set_width( spine_mesh_attachment attachment, @@ -5475,10 +6581,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_widthPtr = - _lookup>('spine_mesh_attachment_set_width'); + late final _spine_mesh_attachment_set_widthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_mesh_attachment, + ffi.Float)>>('spine_mesh_attachment_set_width'); late final _spine_mesh_attachment_set_width = - _spine_mesh_attachment_set_widthPtr.asFunction(); + _spine_mesh_attachment_set_widthPtr + .asFunction(); double spine_mesh_attachment_get_height( spine_mesh_attachment attachment, @@ -5489,8 +6598,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_heightPtr = - _lookup>('spine_mesh_attachment_get_height'); - late final _spine_mesh_attachment_get_height = _spine_mesh_attachment_get_heightPtr.asFunction(); + _lookup>( + 'spine_mesh_attachment_get_height'); + late final _spine_mesh_attachment_get_height = + _spine_mesh_attachment_get_heightPtr + .asFunction(); void spine_mesh_attachment_set_height( spine_mesh_attachment attachment, @@ -5502,10 +6614,13 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_heightPtr = - _lookup>('spine_mesh_attachment_set_height'); + late final _spine_mesh_attachment_set_heightPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_mesh_attachment, + ffi.Float)>>('spine_mesh_attachment_set_height'); late final _spine_mesh_attachment_set_height = - _spine_mesh_attachment_set_heightPtr.asFunction(); + _spine_mesh_attachment_set_heightPtr + .asFunction(); /// OMITTED newLinkedMesh() spine_slot_data spine_clipping_attachment_get_end_slot( @@ -5516,10 +6631,13 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_get_end_slotPtr = - _lookup>('spine_clipping_attachment_get_end_slot'); + late final _spine_clipping_attachment_get_end_slotPtr = _lookup< + ffi.NativeFunction< + spine_slot_data Function(spine_clipping_attachment)>>( + 'spine_clipping_attachment_get_end_slot'); late final _spine_clipping_attachment_get_end_slot = - _spine_clipping_attachment_get_end_slotPtr.asFunction(); + _spine_clipping_attachment_get_end_slotPtr + .asFunction(); void spine_clipping_attachment_set_end_slot( spine_clipping_attachment attachment, @@ -5531,10 +6649,13 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_set_end_slotPtr = - _lookup>('spine_clipping_attachment_set_end_slot'); + late final _spine_clipping_attachment_set_end_slotPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_clipping_attachment, + spine_slot_data)>>('spine_clipping_attachment_set_end_slot'); late final _spine_clipping_attachment_set_end_slot = - _spine_clipping_attachment_set_end_slotPtr.asFunction(); + _spine_clipping_attachment_set_end_slotPtr.asFunction< + void Function(spine_clipping_attachment, spine_slot_data)>(); spine_color spine_clipping_attachment_get_color( spine_clipping_attachment attachment, @@ -5544,10 +6665,12 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_get_colorPtr = - _lookup>('spine_clipping_attachment_get_color'); + late final _spine_clipping_attachment_get_colorPtr = _lookup< + ffi.NativeFunction>( + 'spine_clipping_attachment_get_color'); late final _spine_clipping_attachment_get_color = - _spine_clipping_attachment_get_colorPtr.asFunction(); + _spine_clipping_attachment_get_colorPtr + .asFunction(); void spine_clipping_attachment_set_color( spine_clipping_attachment attachment, @@ -5565,11 +6688,14 @@ class SpineFlutterBindings { ); } - late final _spine_clipping_attachment_set_colorPtr = - _lookup>( - 'spine_clipping_attachment_set_color'); + late final _spine_clipping_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_clipping_attachment, ffi.Float, ffi.Float, + ffi.Float, ffi.Float)>>('spine_clipping_attachment_set_color'); late final _spine_clipping_attachment_set_color = - _spine_clipping_attachment_set_colorPtr.asFunction(); + _spine_clipping_attachment_set_colorPtr.asFunction< + void Function( + spine_clipping_attachment, double, double, double, double)>(); spine_color spine_bounding_box_attachment_get_color( spine_bounding_box_attachment attachment, @@ -5579,10 +6705,13 @@ class SpineFlutterBindings { ); } - late final _spine_bounding_box_attachment_get_colorPtr = - _lookup>('spine_bounding_box_attachment_get_color'); + late final _spine_bounding_box_attachment_get_colorPtr = _lookup< + ffi.NativeFunction< + spine_color Function(spine_bounding_box_attachment)>>( + 'spine_bounding_box_attachment_get_color'); late final _spine_bounding_box_attachment_get_color = - _spine_bounding_box_attachment_get_colorPtr.asFunction(); + _spine_bounding_box_attachment_get_colorPtr + .asFunction(); void spine_bounding_box_attachment_set_color( spine_bounding_box_attachment attachment, @@ -5600,11 +6729,18 @@ class SpineFlutterBindings { ); } - late final _spine_bounding_box_attachment_set_colorPtr = - _lookup>( - 'spine_bounding_box_attachment_set_color'); - late final _spine_bounding_box_attachment_set_color = _spine_bounding_box_attachment_set_colorPtr - .asFunction(); + late final _spine_bounding_box_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_bounding_box_attachment, + ffi.Float, + ffi.Float, + ffi.Float, + ffi.Float)>>('spine_bounding_box_attachment_set_color'); + late final _spine_bounding_box_attachment_set_color = + _spine_bounding_box_attachment_set_colorPtr.asFunction< + void Function( + spine_bounding_box_attachment, double, double, double, double)>(); int spine_path_attachment_get_num_lengths( spine_path_attachment attachment, @@ -5615,9 +6751,11 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_num_lengthsPtr = - _lookup>('spine_path_attachment_get_num_lengths'); + _lookup>( + 'spine_path_attachment_get_num_lengths'); late final _spine_path_attachment_get_num_lengths = - _spine_path_attachment_get_num_lengthsPtr.asFunction(); + _spine_path_attachment_get_num_lengthsPtr + .asFunction(); ffi.Pointer spine_path_attachment_get_lengths( spine_path_attachment attachment, @@ -5627,10 +6765,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_get_lengthsPtr = - _lookup Function(spine_path_attachment)>>('spine_path_attachment_get_lengths'); + late final _spine_path_attachment_get_lengthsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_path_attachment)>>('spine_path_attachment_get_lengths'); late final _spine_path_attachment_get_lengths = - _spine_path_attachment_get_lengthsPtr.asFunction Function(spine_path_attachment)>(); + _spine_path_attachment_get_lengthsPtr + .asFunction Function(spine_path_attachment)>(); int spine_path_attachment_get_is_closed( spine_path_attachment attachment, @@ -5641,9 +6782,11 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_is_closedPtr = - _lookup>('spine_path_attachment_get_is_closed'); + _lookup>( + 'spine_path_attachment_get_is_closed'); late final _spine_path_attachment_get_is_closed = - _spine_path_attachment_get_is_closedPtr.asFunction(); + _spine_path_attachment_get_is_closedPtr + .asFunction(); void spine_path_attachment_set_is_closed( spine_path_attachment attachment, @@ -5655,10 +6798,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_is_closedPtr = - _lookup>('spine_path_attachment_set_is_closed'); + late final _spine_path_attachment_set_is_closedPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_attachment, + ffi.Int32)>>('spine_path_attachment_set_is_closed'); late final _spine_path_attachment_set_is_closed = - _spine_path_attachment_set_is_closedPtr.asFunction(); + _spine_path_attachment_set_is_closedPtr + .asFunction(); int spine_path_attachment_get_is_constant_speed( spine_path_attachment attachment, @@ -5669,9 +6815,11 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_is_constant_speedPtr = - _lookup>('spine_path_attachment_get_is_constant_speed'); + _lookup>( + 'spine_path_attachment_get_is_constant_speed'); late final _spine_path_attachment_get_is_constant_speed = - _spine_path_attachment_get_is_constant_speedPtr.asFunction(); + _spine_path_attachment_get_is_constant_speedPtr + .asFunction(); void spine_path_attachment_set_is_constant_speed( spine_path_attachment attachment, @@ -5683,10 +6831,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_is_constant_speedPtr = - _lookup>('spine_path_attachment_set_is_constant_speed'); + late final _spine_path_attachment_set_is_constant_speedPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_attachment, + ffi.Int32)>>('spine_path_attachment_set_is_constant_speed'); late final _spine_path_attachment_set_is_constant_speed = - _spine_path_attachment_set_is_constant_speedPtr.asFunction(); + _spine_path_attachment_set_is_constant_speedPtr + .asFunction(); spine_color spine_path_attachment_get_color( spine_path_attachment attachment, @@ -5697,9 +6848,11 @@ class SpineFlutterBindings { } late final _spine_path_attachment_get_colorPtr = - _lookup>('spine_path_attachment_get_color'); + _lookup>( + 'spine_path_attachment_get_color'); late final _spine_path_attachment_get_color = - _spine_path_attachment_get_colorPtr.asFunction(); + _spine_path_attachment_get_colorPtr + .asFunction(); void spine_path_attachment_set_color( spine_path_attachment attachment, @@ -5717,11 +6870,14 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_colorPtr = - _lookup>( - 'spine_path_attachment_set_color'); + late final _spine_path_attachment_set_colorPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_attachment, ffi.Float, ffi.Float, + ffi.Float, ffi.Float)>>('spine_path_attachment_set_color'); late final _spine_path_attachment_set_color = - _spine_path_attachment_set_colorPtr.asFunction(); + _spine_path_attachment_set_colorPtr.asFunction< + void Function( + spine_path_attachment, double, double, double, double)>(); void spine_skin_set_attachment( spine_skin skin, @@ -5737,11 +6893,14 @@ class SpineFlutterBindings { ); } - late final _spine_skin_set_attachmentPtr = - _lookup, spine_attachment)>>( - 'spine_skin_set_attachment'); + late final _spine_skin_set_attachmentPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skin, ffi.Int32, ffi.Pointer, + spine_attachment)>>('spine_skin_set_attachment'); late final _spine_skin_set_attachment = - _spine_skin_set_attachmentPtr.asFunction, spine_attachment)>(); + _spine_skin_set_attachmentPtr.asFunction< + void Function( + spine_skin, int, ffi.Pointer, spine_attachment)>(); spine_attachment spine_skin_get_attachment( spine_skin skin, @@ -5755,10 +6914,13 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_attachmentPtr = - _lookup)>>('spine_skin_get_attachment'); + late final _spine_skin_get_attachmentPtr = _lookup< + ffi.NativeFunction< + spine_attachment Function(spine_skin, ffi.Int32, + ffi.Pointer)>>('spine_skin_get_attachment'); late final _spine_skin_get_attachment = - _spine_skin_get_attachmentPtr.asFunction)>(); + _spine_skin_get_attachmentPtr.asFunction< + spine_attachment Function(spine_skin, int, ffi.Pointer)>(); void spine_skin_remove_attachment( spine_skin skin, @@ -5772,10 +6934,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_remove_attachmentPtr = - _lookup)>>('spine_skin_remove_attachment'); - late final _spine_skin_remove_attachment = - _spine_skin_remove_attachmentPtr.asFunction)>(); + late final _spine_skin_remove_attachmentPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skin, ffi.Int32, + ffi.Pointer)>>('spine_skin_remove_attachment'); + late final _spine_skin_remove_attachment = _spine_skin_remove_attachmentPtr + .asFunction)>(); /// OMITTED findNamesForSlot() /// OMITTED findAttachmentsForSlot() @@ -5787,8 +6951,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_namePtr = _lookup Function(spine_skin)>>('spine_skin_get_name'); - late final _spine_skin_get_name = _spine_skin_get_namePtr.asFunction Function(spine_skin)>(); + late final _spine_skin_get_namePtr = + _lookup Function(spine_skin)>>( + 'spine_skin_get_name'); + late final _spine_skin_get_name = _spine_skin_get_namePtr + .asFunction Function(spine_skin)>(); void spine_skin_add_skin( spine_skin skin, @@ -5800,8 +6967,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_add_skinPtr = _lookup>('spine_skin_add_skin'); - late final _spine_skin_add_skin = _spine_skin_add_skinPtr.asFunction(); + late final _spine_skin_add_skinPtr = + _lookup>( + 'spine_skin_add_skin'); + late final _spine_skin_add_skin = _spine_skin_add_skinPtr + .asFunction(); void spine_skin_copy_skin( spine_skin skin, @@ -5813,8 +6983,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_copy_skinPtr = _lookup>('spine_skin_copy_skin'); - late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr.asFunction(); + late final _spine_skin_copy_skinPtr = + _lookup>( + 'spine_skin_copy_skin'); + late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr + .asFunction(); spine_skin_entries spine_skin_get_entries( spine_skin skin, @@ -5824,8 +6997,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_entriesPtr = _lookup>('spine_skin_get_entries'); - late final _spine_skin_get_entries = _spine_skin_get_entriesPtr.asFunction(); + late final _spine_skin_get_entriesPtr = + _lookup>( + 'spine_skin_get_entries'); + late final _spine_skin_get_entries = _spine_skin_get_entriesPtr + .asFunction(); int spine_skin_entries_get_num_entries( spine_skin_entries entries, @@ -5836,8 +7012,11 @@ class SpineFlutterBindings { } late final _spine_skin_entries_get_num_entriesPtr = - _lookup>('spine_skin_entries_get_num_entries'); - late final _spine_skin_entries_get_num_entries = _spine_skin_entries_get_num_entriesPtr.asFunction(); + _lookup>( + 'spine_skin_entries_get_num_entries'); + late final _spine_skin_entries_get_num_entries = + _spine_skin_entries_get_num_entriesPtr + .asFunction(); spine_skin_entry spine_skin_entries_get_entry( spine_skin_entries entries, @@ -5849,10 +7028,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_entries_get_entryPtr = - _lookup>('spine_skin_entries_get_entry'); - late final _spine_skin_entries_get_entry = - _spine_skin_entries_get_entryPtr.asFunction(); + late final _spine_skin_entries_get_entryPtr = _lookup< + ffi.NativeFunction< + spine_skin_entry Function( + spine_skin_entries, ffi.Int32)>>('spine_skin_entries_get_entry'); + late final _spine_skin_entries_get_entry = _spine_skin_entries_get_entryPtr + .asFunction(); void spine_skin_entries_dispose( spine_skin_entries entries, @@ -5863,8 +7044,10 @@ class SpineFlutterBindings { } late final _spine_skin_entries_disposePtr = - _lookup>('spine_skin_entries_dispose'); - late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr.asFunction(); + _lookup>( + 'spine_skin_entries_dispose'); + late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr + .asFunction(); int spine_skin_entry_get_slot_index( spine_skin_entry entry, @@ -5875,8 +7058,11 @@ class SpineFlutterBindings { } late final _spine_skin_entry_get_slot_indexPtr = - _lookup>('spine_skin_entry_get_slot_index'); - late final _spine_skin_entry_get_slot_index = _spine_skin_entry_get_slot_indexPtr.asFunction(); + _lookup>( + 'spine_skin_entry_get_slot_index'); + late final _spine_skin_entry_get_slot_index = + _spine_skin_entry_get_slot_indexPtr + .asFunction(); ffi.Pointer spine_skin_entry_get_name( spine_skin_entry entry, @@ -5887,8 +7073,10 @@ class SpineFlutterBindings { } late final _spine_skin_entry_get_namePtr = - _lookup Function(spine_skin_entry)>>('spine_skin_entry_get_name'); - late final _spine_skin_entry_get_name = _spine_skin_entry_get_namePtr.asFunction Function(spine_skin_entry)>(); + _lookup Function(spine_skin_entry)>>( + 'spine_skin_entry_get_name'); + late final _spine_skin_entry_get_name = _spine_skin_entry_get_namePtr + .asFunction Function(spine_skin_entry)>(); spine_attachment spine_skin_entry_get_attachment( spine_skin_entry entry, @@ -5899,9 +7087,11 @@ class SpineFlutterBindings { } late final _spine_skin_entry_get_attachmentPtr = - _lookup>('spine_skin_entry_get_attachment'); + _lookup>( + 'spine_skin_entry_get_attachment'); late final _spine_skin_entry_get_attachment = - _spine_skin_entry_get_attachmentPtr.asFunction(); + _spine_skin_entry_get_attachmentPtr + .asFunction(); int spine_skin_get_num_bones( spine_skin skin, @@ -5911,8 +7101,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_num_bonesPtr = _lookup>('spine_skin_get_num_bones'); - late final _spine_skin_get_num_bones = _spine_skin_get_num_bonesPtr.asFunction(); + late final _spine_skin_get_num_bonesPtr = + _lookup>( + 'spine_skin_get_num_bones'); + late final _spine_skin_get_num_bones = + _spine_skin_get_num_bonesPtr.asFunction(); ffi.Pointer spine_skin_get_bones( spine_skin skin, @@ -5922,9 +7115,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_bonesPtr = - _lookup Function(spine_skin)>>('spine_skin_get_bones'); - late final _spine_skin_get_bones = _spine_skin_get_bonesPtr.asFunction Function(spine_skin)>(); + late final _spine_skin_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skin)>>('spine_skin_get_bones'); + late final _spine_skin_get_bones = _spine_skin_get_bonesPtr + .asFunction Function(spine_skin)>(); int spine_skin_get_num_constraints( spine_skin skin, @@ -5935,8 +7131,10 @@ class SpineFlutterBindings { } late final _spine_skin_get_num_constraintsPtr = - _lookup>('spine_skin_get_num_constraints'); - late final _spine_skin_get_num_constraints = _spine_skin_get_num_constraintsPtr.asFunction(); + _lookup>( + 'spine_skin_get_num_constraints'); + late final _spine_skin_get_num_constraints = + _spine_skin_get_num_constraintsPtr.asFunction(); ffi.Pointer spine_skin_get_constraints( spine_skin skin, @@ -5946,10 +7144,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_constraintsPtr = - _lookup Function(spine_skin)>>('spine_skin_get_constraints'); - late final _spine_skin_get_constraints = - _spine_skin_get_constraintsPtr.asFunction Function(spine_skin)>(); + late final _spine_skin_get_constraintsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skin)>>('spine_skin_get_constraints'); + late final _spine_skin_get_constraints = _spine_skin_get_constraintsPtr + .asFunction Function(spine_skin)>(); spine_skin spine_skin_create( ffi.Pointer name, @@ -5959,8 +7159,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_createPtr = _lookup)>>('spine_skin_create'); - late final _spine_skin_create = _spine_skin_createPtr.asFunction)>(); + late final _spine_skin_createPtr = + _lookup)>>( + 'spine_skin_create'); + late final _spine_skin_create = _spine_skin_createPtr + .asFunction)>(); void spine_skin_dispose( spine_skin skin, @@ -5970,8 +7173,11 @@ class SpineFlutterBindings { ); } - late final _spine_skin_disposePtr = _lookup>('spine_skin_dispose'); - late final _spine_skin_dispose = _spine_skin_disposePtr.asFunction(); + late final _spine_skin_disposePtr = + _lookup>( + 'spine_skin_dispose'); + late final _spine_skin_dispose = + _spine_skin_disposePtr.asFunction(); int spine_constraint_data_get_type( spine_constraint_data data, @@ -5982,8 +7188,11 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_typePtr = - _lookup>('spine_constraint_data_get_type'); - late final _spine_constraint_data_get_type = _spine_constraint_data_get_typePtr.asFunction(); + _lookup>( + 'spine_constraint_data_get_type'); + late final _spine_constraint_data_get_type = + _spine_constraint_data_get_typePtr + .asFunction(); ffi.Pointer spine_constraint_data_get_name( spine_constraint_data data, @@ -5993,10 +7202,13 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_get_namePtr = - _lookup Function(spine_constraint_data)>>('spine_constraint_data_get_name'); + late final _spine_constraint_data_get_namePtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_constraint_data)>>('spine_constraint_data_get_name'); late final _spine_constraint_data_get_name = - _spine_constraint_data_get_namePtr.asFunction Function(spine_constraint_data)>(); + _spine_constraint_data_get_namePtr + .asFunction Function(spine_constraint_data)>(); int spine_constraint_data_get_order( spine_constraint_data data, @@ -6007,8 +7219,11 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_orderPtr = - _lookup>('spine_constraint_data_get_order'); - late final _spine_constraint_data_get_order = _spine_constraint_data_get_orderPtr.asFunction(); + _lookup>( + 'spine_constraint_data_get_order'); + late final _spine_constraint_data_get_order = + _spine_constraint_data_get_orderPtr + .asFunction(); void spine_constraint_data_set_order( spine_constraint_data data, @@ -6020,9 +7235,13 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_set_orderPtr = - _lookup>('spine_constraint_data_set_order'); - late final _spine_constraint_data_set_order = _spine_constraint_data_set_orderPtr.asFunction(); + late final _spine_constraint_data_set_orderPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_constraint_data, + ffi.Uint64)>>('spine_constraint_data_set_order'); + late final _spine_constraint_data_set_order = + _spine_constraint_data_set_orderPtr + .asFunction(); int spine_constraint_data_get_is_skin_required( spine_constraint_data data, @@ -6033,9 +7252,11 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_is_skin_requiredPtr = - _lookup>('spine_constraint_data_get_is_skin_required'); + _lookup>( + 'spine_constraint_data_get_is_skin_required'); late final _spine_constraint_data_get_is_skin_required = - _spine_constraint_data_get_is_skin_requiredPtr.asFunction(); + _spine_constraint_data_get_is_skin_requiredPtr + .asFunction(); void spine_constraint_data_set_is_skin_required( spine_constraint_data data, @@ -6047,10 +7268,13 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_set_is_skin_requiredPtr = - _lookup>('spine_constraint_data_set_is_skin_required'); + late final _spine_constraint_data_set_is_skin_requiredPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_constraint_data, + ffi.Int32)>>('spine_constraint_data_set_is_skin_required'); late final _spine_constraint_data_set_is_skin_required = - _spine_constraint_data_set_is_skin_requiredPtr.asFunction(); + _spine_constraint_data_set_is_skin_requiredPtr + .asFunction(); int spine_ik_constraint_data_get_num_bones( spine_ik_constraint_data data, @@ -6061,9 +7285,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_num_bonesPtr = - _lookup>('spine_ik_constraint_data_get_num_bones'); + _lookup>( + 'spine_ik_constraint_data_get_num_bones'); late final _spine_ik_constraint_data_get_num_bones = - _spine_ik_constraint_data_get_num_bonesPtr.asFunction(); + _spine_ik_constraint_data_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_ik_constraint_data_get_bones( spine_ik_constraint_data data, @@ -6073,10 +7299,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_get_bonesPtr = - _lookup Function(spine_ik_constraint_data)>>('spine_ik_constraint_data_get_bones'); + late final _spine_ik_constraint_data_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_ik_constraint_data)>>('spine_ik_constraint_data_get_bones'); late final _spine_ik_constraint_data_get_bones = - _spine_ik_constraint_data_get_bonesPtr.asFunction Function(spine_ik_constraint_data)>(); + _spine_ik_constraint_data_get_bonesPtr.asFunction< + ffi.Pointer Function(spine_ik_constraint_data)>(); spine_bone_data spine_ik_constraint_data_get_target( spine_ik_constraint_data data, @@ -6086,10 +7315,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_get_targetPtr = - _lookup>('spine_ik_constraint_data_get_target'); + late final _spine_ik_constraint_data_get_targetPtr = _lookup< + ffi.NativeFunction< + spine_bone_data Function(spine_ik_constraint_data)>>( + 'spine_ik_constraint_data_get_target'); late final _spine_ik_constraint_data_get_target = - _spine_ik_constraint_data_get_targetPtr.asFunction(); + _spine_ik_constraint_data_get_targetPtr + .asFunction(); void spine_ik_constraint_data_set_target( spine_ik_constraint_data data, @@ -6101,10 +7333,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_targetPtr = - _lookup>('spine_ik_constraint_data_set_target'); + late final _spine_ik_constraint_data_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + spine_bone_data)>>('spine_ik_constraint_data_set_target'); late final _spine_ik_constraint_data_set_target = - _spine_ik_constraint_data_set_targetPtr.asFunction(); + _spine_ik_constraint_data_set_targetPtr.asFunction< + void Function(spine_ik_constraint_data, spine_bone_data)>(); int spine_ik_constraint_data_get_bend_direction( spine_ik_constraint_data data, @@ -6115,9 +7350,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_bend_directionPtr = - _lookup>('spine_ik_constraint_data_get_bend_direction'); + _lookup>( + 'spine_ik_constraint_data_get_bend_direction'); late final _spine_ik_constraint_data_get_bend_direction = - _spine_ik_constraint_data_get_bend_directionPtr.asFunction(); + _spine_ik_constraint_data_get_bend_directionPtr + .asFunction(); void spine_ik_constraint_data_set_bend_direction( spine_ik_constraint_data data, @@ -6129,10 +7366,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_bend_directionPtr = - _lookup>('spine_ik_constraint_data_set_bend_direction'); + late final _spine_ik_constraint_data_set_bend_directionPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Int32)>>('spine_ik_constraint_data_set_bend_direction'); late final _spine_ik_constraint_data_set_bend_direction = - _spine_ik_constraint_data_set_bend_directionPtr.asFunction(); + _spine_ik_constraint_data_set_bend_directionPtr + .asFunction(); int spine_ik_constraint_data_get_compress( spine_ik_constraint_data data, @@ -6143,9 +7383,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_compressPtr = - _lookup>('spine_ik_constraint_data_get_compress'); + _lookup>( + 'spine_ik_constraint_data_get_compress'); late final _spine_ik_constraint_data_get_compress = - _spine_ik_constraint_data_get_compressPtr.asFunction(); + _spine_ik_constraint_data_get_compressPtr + .asFunction(); void spine_ik_constraint_data_set_compress( spine_ik_constraint_data data, @@ -6157,10 +7399,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_compressPtr = - _lookup>('spine_ik_constraint_data_set_compress'); + late final _spine_ik_constraint_data_set_compressPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Int32)>>('spine_ik_constraint_data_set_compress'); late final _spine_ik_constraint_data_set_compress = - _spine_ik_constraint_data_set_compressPtr.asFunction(); + _spine_ik_constraint_data_set_compressPtr + .asFunction(); int spine_ik_constraint_data_get_stretch( spine_ik_constraint_data data, @@ -6171,9 +7416,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_stretchPtr = - _lookup>('spine_ik_constraint_data_get_stretch'); + _lookup>( + 'spine_ik_constraint_data_get_stretch'); late final _spine_ik_constraint_data_get_stretch = - _spine_ik_constraint_data_get_stretchPtr.asFunction(); + _spine_ik_constraint_data_get_stretchPtr + .asFunction(); void spine_ik_constraint_data_set_stretch( spine_ik_constraint_data data, @@ -6185,10 +7432,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_stretchPtr = - _lookup>('spine_ik_constraint_data_set_stretch'); + late final _spine_ik_constraint_data_set_stretchPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Int32)>>('spine_ik_constraint_data_set_stretch'); late final _spine_ik_constraint_data_set_stretch = - _spine_ik_constraint_data_set_stretchPtr.asFunction(); + _spine_ik_constraint_data_set_stretchPtr + .asFunction(); int spine_ik_constraint_data_get_uniform( spine_ik_constraint_data data, @@ -6199,9 +7449,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_uniformPtr = - _lookup>('spine_ik_constraint_data_get_uniform'); + _lookup>( + 'spine_ik_constraint_data_get_uniform'); late final _spine_ik_constraint_data_get_uniform = - _spine_ik_constraint_data_get_uniformPtr.asFunction(); + _spine_ik_constraint_data_get_uniformPtr + .asFunction(); void spine_ik_constraint_data_set_uniform( spine_ik_constraint_data data, @@ -6213,10 +7465,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_uniformPtr = - _lookup>('spine_ik_constraint_data_set_uniform'); + late final _spine_ik_constraint_data_set_uniformPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Int32)>>('spine_ik_constraint_data_set_uniform'); late final _spine_ik_constraint_data_set_uniform = - _spine_ik_constraint_data_set_uniformPtr.asFunction(); + _spine_ik_constraint_data_set_uniformPtr + .asFunction(); double spine_ik_constraint_data_get_mix( spine_ik_constraint_data data, @@ -6227,9 +7482,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_mixPtr = - _lookup>('spine_ik_constraint_data_get_mix'); + _lookup>( + 'spine_ik_constraint_data_get_mix'); late final _spine_ik_constraint_data_get_mix = - _spine_ik_constraint_data_get_mixPtr.asFunction(); + _spine_ik_constraint_data_get_mixPtr + .asFunction(); void spine_ik_constraint_data_set_mix( spine_ik_constraint_data data, @@ -6241,10 +7498,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_mixPtr = - _lookup>('spine_ik_constraint_data_set_mix'); + late final _spine_ik_constraint_data_set_mixPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Float)>>('spine_ik_constraint_data_set_mix'); late final _spine_ik_constraint_data_set_mix = - _spine_ik_constraint_data_set_mixPtr.asFunction(); + _spine_ik_constraint_data_set_mixPtr + .asFunction(); double spine_ik_constraint_data_get_softness( spine_ik_constraint_data data, @@ -6255,9 +7515,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_data_get_softnessPtr = - _lookup>('spine_ik_constraint_data_get_softness'); + _lookup>( + 'spine_ik_constraint_data_get_softness'); late final _spine_ik_constraint_data_get_softness = - _spine_ik_constraint_data_get_softnessPtr.asFunction(); + _spine_ik_constraint_data_get_softnessPtr + .asFunction(); void spine_ik_constraint_data_set_softness( spine_ik_constraint_data data, @@ -6269,10 +7531,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_data_set_softnessPtr = - _lookup>('spine_ik_constraint_data_set_softness'); + late final _spine_ik_constraint_data_set_softnessPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint_data, + ffi.Float)>>('spine_ik_constraint_data_set_softness'); late final _spine_ik_constraint_data_set_softness = - _spine_ik_constraint_data_set_softnessPtr.asFunction(); + _spine_ik_constraint_data_set_softnessPtr + .asFunction(); void spine_ik_constraint_update( spine_ik_constraint constraint, @@ -6283,8 +7548,10 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_updatePtr = - _lookup>('spine_ik_constraint_update'); - late final _spine_ik_constraint_update = _spine_ik_constraint_updatePtr.asFunction(); + _lookup>( + 'spine_ik_constraint_update'); + late final _spine_ik_constraint_update = _spine_ik_constraint_updatePtr + .asFunction(); int spine_ik_constraint_get_order( spine_ik_constraint constraint, @@ -6295,8 +7562,10 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_orderPtr = - _lookup>('spine_ik_constraint_get_order'); - late final _spine_ik_constraint_get_order = _spine_ik_constraint_get_orderPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_order'); + late final _spine_ik_constraint_get_order = _spine_ik_constraint_get_orderPtr + .asFunction(); spine_ik_constraint_data spine_ik_constraint_get_data( spine_ik_constraint constraint, @@ -6306,10 +7575,12 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_get_dataPtr = - _lookup>('spine_ik_constraint_get_data'); - late final _spine_ik_constraint_get_data = - _spine_ik_constraint_get_dataPtr.asFunction(); + late final _spine_ik_constraint_get_dataPtr = _lookup< + ffi.NativeFunction< + spine_ik_constraint_data Function( + spine_ik_constraint)>>('spine_ik_constraint_get_data'); + late final _spine_ik_constraint_get_data = _spine_ik_constraint_get_dataPtr + .asFunction(); int spine_ik_constraint_get_num_bones( spine_ik_constraint constraint, @@ -6320,8 +7591,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_num_bonesPtr = - _lookup>('spine_ik_constraint_get_num_bones'); - late final _spine_ik_constraint_get_num_bones = _spine_ik_constraint_get_num_bonesPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_num_bones'); + late final _spine_ik_constraint_get_num_bones = + _spine_ik_constraint_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_ik_constraint_get_bones( spine_ik_constraint constraint, @@ -6331,10 +7605,12 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_get_bonesPtr = - _lookup Function(spine_ik_constraint)>>('spine_ik_constraint_get_bones'); - late final _spine_ik_constraint_get_bones = - _spine_ik_constraint_get_bonesPtr.asFunction Function(spine_ik_constraint)>(); + late final _spine_ik_constraint_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_ik_constraint)>>('spine_ik_constraint_get_bones'); + late final _spine_ik_constraint_get_bones = _spine_ik_constraint_get_bonesPtr + .asFunction Function(spine_ik_constraint)>(); spine_bone spine_ik_constraint_get_target( spine_ik_constraint constraint, @@ -6345,8 +7621,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_targetPtr = - _lookup>('spine_ik_constraint_get_target'); - late final _spine_ik_constraint_get_target = _spine_ik_constraint_get_targetPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_target'); + late final _spine_ik_constraint_get_target = + _spine_ik_constraint_get_targetPtr + .asFunction(); void spine_ik_constraint_set_target( spine_ik_constraint constraint, @@ -6358,10 +7637,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_targetPtr = - _lookup>('spine_ik_constraint_set_target'); + late final _spine_ik_constraint_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + spine_bone)>>('spine_ik_constraint_set_target'); late final _spine_ik_constraint_set_target = - _spine_ik_constraint_set_targetPtr.asFunction(); + _spine_ik_constraint_set_targetPtr + .asFunction(); int spine_ik_constraint_get_bend_direction( spine_ik_constraint constraint, @@ -6372,9 +7654,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_bend_directionPtr = - _lookup>('spine_ik_constraint_get_bend_direction'); + _lookup>( + 'spine_ik_constraint_get_bend_direction'); late final _spine_ik_constraint_get_bend_direction = - _spine_ik_constraint_get_bend_directionPtr.asFunction(); + _spine_ik_constraint_get_bend_directionPtr + .asFunction(); void spine_ik_constraint_set_bend_direction( spine_ik_constraint constraint, @@ -6386,10 +7670,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_bend_directionPtr = - _lookup>('spine_ik_constraint_set_bend_direction'); + late final _spine_ik_constraint_set_bend_directionPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + ffi.Int32)>>('spine_ik_constraint_set_bend_direction'); late final _spine_ik_constraint_set_bend_direction = - _spine_ik_constraint_set_bend_directionPtr.asFunction(); + _spine_ik_constraint_set_bend_directionPtr + .asFunction(); int spine_ik_constraint_get_compress( spine_ik_constraint constraint, @@ -6400,8 +7687,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_compressPtr = - _lookup>('spine_ik_constraint_get_compress'); - late final _spine_ik_constraint_get_compress = _spine_ik_constraint_get_compressPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_compress'); + late final _spine_ik_constraint_get_compress = + _spine_ik_constraint_get_compressPtr + .asFunction(); void spine_ik_constraint_set_compress( spine_ik_constraint constraint, @@ -6413,9 +7703,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_compressPtr = - _lookup>('spine_ik_constraint_set_compress'); - late final _spine_ik_constraint_set_compress = _spine_ik_constraint_set_compressPtr.asFunction(); + late final _spine_ik_constraint_set_compressPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + ffi.Int32)>>('spine_ik_constraint_set_compress'); + late final _spine_ik_constraint_set_compress = + _spine_ik_constraint_set_compressPtr + .asFunction(); int spine_ik_constraint_get_stretch( spine_ik_constraint constraint, @@ -6426,8 +7720,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_stretchPtr = - _lookup>('spine_ik_constraint_get_stretch'); - late final _spine_ik_constraint_get_stretch = _spine_ik_constraint_get_stretchPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_stretch'); + late final _spine_ik_constraint_get_stretch = + _spine_ik_constraint_get_stretchPtr + .asFunction(); void spine_ik_constraint_set_stretch( spine_ik_constraint constraint, @@ -6439,9 +7736,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_stretchPtr = - _lookup>('spine_ik_constraint_set_stretch'); - late final _spine_ik_constraint_set_stretch = _spine_ik_constraint_set_stretchPtr.asFunction(); + late final _spine_ik_constraint_set_stretchPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + ffi.Int32)>>('spine_ik_constraint_set_stretch'); + late final _spine_ik_constraint_set_stretch = + _spine_ik_constraint_set_stretchPtr + .asFunction(); double spine_ik_constraint_get_mix( spine_ik_constraint constraint, @@ -6452,8 +7753,10 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_mixPtr = - _lookup>('spine_ik_constraint_get_mix'); - late final _spine_ik_constraint_get_mix = _spine_ik_constraint_get_mixPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_mix'); + late final _spine_ik_constraint_get_mix = _spine_ik_constraint_get_mixPtr + .asFunction(); void spine_ik_constraint_set_mix( spine_ik_constraint constraint, @@ -6465,9 +7768,12 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_mixPtr = - _lookup>('spine_ik_constraint_set_mix'); - late final _spine_ik_constraint_set_mix = _spine_ik_constraint_set_mixPtr.asFunction(); + late final _spine_ik_constraint_set_mixPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_ik_constraint, ffi.Float)>>('spine_ik_constraint_set_mix'); + late final _spine_ik_constraint_set_mix = _spine_ik_constraint_set_mixPtr + .asFunction(); double spine_ik_constraint_get_softness( spine_ik_constraint constraint, @@ -6478,8 +7784,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_softnessPtr = - _lookup>('spine_ik_constraint_get_softness'); - late final _spine_ik_constraint_get_softness = _spine_ik_constraint_get_softnessPtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_softness'); + late final _spine_ik_constraint_get_softness = + _spine_ik_constraint_get_softnessPtr + .asFunction(); void spine_ik_constraint_set_softness( spine_ik_constraint constraint, @@ -6491,10 +7800,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_softnessPtr = - _lookup>('spine_ik_constraint_set_softness'); + late final _spine_ik_constraint_set_softnessPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + ffi.Float)>>('spine_ik_constraint_set_softness'); late final _spine_ik_constraint_set_softness = - _spine_ik_constraint_set_softnessPtr.asFunction(); + _spine_ik_constraint_set_softnessPtr + .asFunction(); int spine_ik_constraint_get_is_active( spine_ik_constraint constraint, @@ -6505,8 +7817,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_is_activePtr = - _lookup>('spine_ik_constraint_get_is_active'); - late final _spine_ik_constraint_get_is_active = _spine_ik_constraint_get_is_activePtr.asFunction(); + _lookup>( + 'spine_ik_constraint_get_is_active'); + late final _spine_ik_constraint_get_is_active = + _spine_ik_constraint_get_is_activePtr + .asFunction(); void spine_ik_constraint_set_is_active( spine_ik_constraint constraint, @@ -6518,10 +7833,13 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_is_activePtr = - _lookup>('spine_ik_constraint_set_is_active'); + late final _spine_ik_constraint_set_is_activePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_ik_constraint, + ffi.Int32)>>('spine_ik_constraint_set_is_active'); late final _spine_ik_constraint_set_is_active = - _spine_ik_constraint_set_is_activePtr.asFunction(); + _spine_ik_constraint_set_is_activePtr + .asFunction(); int spine_transform_constraint_data_get_num_bones( spine_transform_constraint_data data, @@ -6531,10 +7849,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_num_bonesPtr = - _lookup>('spine_transform_constraint_data_get_num_bones'); + late final _spine_transform_constraint_data_get_num_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Int32 Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_num_bones'); late final _spine_transform_constraint_data_get_num_bones = - _spine_transform_constraint_data_get_num_bonesPtr.asFunction(); + _spine_transform_constraint_data_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_transform_constraint_data_get_bones( spine_transform_constraint_data data, @@ -6544,11 +7865,15 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_bonesPtr = - _lookup Function(spine_transform_constraint_data)>>( - 'spine_transform_constraint_data_get_bones'); + late final _spine_transform_constraint_data_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_bones'); late final _spine_transform_constraint_data_get_bones = - _spine_transform_constraint_data_get_bonesPtr.asFunction Function(spine_transform_constraint_data)>(); + _spine_transform_constraint_data_get_bonesPtr.asFunction< + ffi.Pointer Function( + spine_transform_constraint_data)>(); spine_bone_data spine_transform_constraint_data_get_target( spine_transform_constraint_data data, @@ -6558,10 +7883,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_targetPtr = - _lookup>('spine_transform_constraint_data_get_target'); + late final _spine_transform_constraint_data_get_targetPtr = _lookup< + ffi.NativeFunction< + spine_bone_data Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_target'); late final _spine_transform_constraint_data_get_target = - _spine_transform_constraint_data_get_targetPtr.asFunction(); + _spine_transform_constraint_data_get_targetPtr.asFunction< + spine_bone_data Function(spine_transform_constraint_data)>(); void spine_transform_constraint_data_set_target( spine_transform_constraint_data data, @@ -6573,11 +7901,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_targetPtr = - _lookup>( - 'spine_transform_constraint_data_set_target'); + late final _spine_transform_constraint_data_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + spine_bone_data)>>('spine_transform_constraint_data_set_target'); late final _spine_transform_constraint_data_set_target = - _spine_transform_constraint_data_set_targetPtr.asFunction(); + _spine_transform_constraint_data_set_targetPtr.asFunction< + void Function(spine_transform_constraint_data, spine_bone_data)>(); double spine_transform_constraint_data_get_mix_rotate( spine_transform_constraint_data data, @@ -6587,10 +7917,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_rotatePtr = - _lookup>('spine_transform_constraint_data_get_mix_rotate'); + late final _spine_transform_constraint_data_get_mix_rotatePtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_rotate'); late final _spine_transform_constraint_data_get_mix_rotate = - _spine_transform_constraint_data_get_mix_rotatePtr.asFunction(); + _spine_transform_constraint_data_get_mix_rotatePtr + .asFunction(); void spine_transform_constraint_data_set_mix_rotate( spine_transform_constraint_data data, @@ -6602,11 +7935,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_rotatePtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_rotate'); + late final _spine_transform_constraint_data_set_mix_rotatePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_rotate'); late final _spine_transform_constraint_data_set_mix_rotate = - _spine_transform_constraint_data_set_mix_rotatePtr.asFunction(); + _spine_transform_constraint_data_set_mix_rotatePtr + .asFunction(); double spine_transform_constraint_data_get_mix_x( spine_transform_constraint_data data, @@ -6616,10 +7951,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_xPtr = - _lookup>('spine_transform_constraint_data_get_mix_x'); + late final _spine_transform_constraint_data_get_mix_xPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_x'); late final _spine_transform_constraint_data_get_mix_x = - _spine_transform_constraint_data_get_mix_xPtr.asFunction(); + _spine_transform_constraint_data_get_mix_xPtr + .asFunction(); void spine_transform_constraint_data_set_mix_x( spine_transform_constraint_data data, @@ -6631,11 +7969,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_xPtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_x'); + late final _spine_transform_constraint_data_set_mix_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_x'); late final _spine_transform_constraint_data_set_mix_x = - _spine_transform_constraint_data_set_mix_xPtr.asFunction(); + _spine_transform_constraint_data_set_mix_xPtr + .asFunction(); double spine_transform_constraint_data_get_mix_y( spine_transform_constraint_data data, @@ -6645,10 +7985,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_yPtr = - _lookup>('spine_transform_constraint_data_get_mix_y'); + late final _spine_transform_constraint_data_get_mix_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_y'); late final _spine_transform_constraint_data_get_mix_y = - _spine_transform_constraint_data_get_mix_yPtr.asFunction(); + _spine_transform_constraint_data_get_mix_yPtr + .asFunction(); void spine_transform_constraint_data_set_mix_y( spine_transform_constraint_data data, @@ -6660,11 +8003,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_y'); + late final _spine_transform_constraint_data_set_mix_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_y'); late final _spine_transform_constraint_data_set_mix_y = - _spine_transform_constraint_data_set_mix_yPtr.asFunction(); + _spine_transform_constraint_data_set_mix_yPtr + .asFunction(); double spine_transform_constraint_data_get_mix_scale_x( spine_transform_constraint_data data, @@ -6674,10 +8019,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_scale_xPtr = - _lookup>('spine_transform_constraint_data_get_mix_scale_x'); + late final _spine_transform_constraint_data_get_mix_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_scale_x'); late final _spine_transform_constraint_data_get_mix_scale_x = - _spine_transform_constraint_data_get_mix_scale_xPtr.asFunction(); + _spine_transform_constraint_data_get_mix_scale_xPtr + .asFunction(); void spine_transform_constraint_data_set_mix_scale_x( spine_transform_constraint_data data, @@ -6689,11 +8037,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_scale_xPtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_scale_x'); + late final _spine_transform_constraint_data_set_mix_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_x'); late final _spine_transform_constraint_data_set_mix_scale_x = - _spine_transform_constraint_data_set_mix_scale_xPtr.asFunction(); + _spine_transform_constraint_data_set_mix_scale_xPtr + .asFunction(); double spine_transform_constraint_data_get_mix_scale_y( spine_transform_constraint_data data, @@ -6703,10 +8053,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_scale_yPtr = - _lookup>('spine_transform_constraint_data_get_mix_scale_y'); + late final _spine_transform_constraint_data_get_mix_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_scale_y'); late final _spine_transform_constraint_data_get_mix_scale_y = - _spine_transform_constraint_data_get_mix_scale_yPtr.asFunction(); + _spine_transform_constraint_data_get_mix_scale_yPtr + .asFunction(); void spine_transform_constraint_data_set_mix_scale_y( spine_transform_constraint_data data, @@ -6718,11 +8071,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_scale_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_scale_y'); + late final _spine_transform_constraint_data_set_mix_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_y'); late final _spine_transform_constraint_data_set_mix_scale_y = - _spine_transform_constraint_data_set_mix_scale_yPtr.asFunction(); + _spine_transform_constraint_data_set_mix_scale_yPtr + .asFunction(); double spine_transform_constraint_data_get_mix_shear_y( spine_transform_constraint_data data, @@ -6732,10 +8087,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_mix_shear_yPtr = - _lookup>('spine_transform_constraint_data_get_mix_shear_y'); + late final _spine_transform_constraint_data_get_mix_shear_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_mix_shear_y'); late final _spine_transform_constraint_data_get_mix_shear_y = - _spine_transform_constraint_data_get_mix_shear_yPtr.asFunction(); + _spine_transform_constraint_data_get_mix_shear_yPtr + .asFunction(); void spine_transform_constraint_data_set_mix_shear_y( spine_transform_constraint_data data, @@ -6747,11 +8105,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_mix_shear_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_mix_shear_y'); + late final _spine_transform_constraint_data_set_mix_shear_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_mix_shear_y'); late final _spine_transform_constraint_data_set_mix_shear_y = - _spine_transform_constraint_data_set_mix_shear_yPtr.asFunction(); + _spine_transform_constraint_data_set_mix_shear_yPtr + .asFunction(); double spine_transform_constraint_data_get_offset_rotation( spine_transform_constraint_data data, @@ -6761,11 +8121,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_rotationPtr = - _lookup>( - 'spine_transform_constraint_data_get_offset_rotation'); + late final _spine_transform_constraint_data_get_offset_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_rotation'); late final _spine_transform_constraint_data_get_offset_rotation = - _spine_transform_constraint_data_get_offset_rotationPtr.asFunction(); + _spine_transform_constraint_data_get_offset_rotationPtr + .asFunction(); void spine_transform_constraint_data_set_offset_rotation( spine_transform_constraint_data data, @@ -6777,11 +8139,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_rotationPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_rotation'); + late final _spine_transform_constraint_data_set_offset_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( + 'spine_transform_constraint_data_set_offset_rotation'); late final _spine_transform_constraint_data_set_offset_rotation = - _spine_transform_constraint_data_set_offset_rotationPtr.asFunction(); + _spine_transform_constraint_data_set_offset_rotationPtr + .asFunction(); double spine_transform_constraint_data_get_offset_x( spine_transform_constraint_data data, @@ -6791,10 +8155,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_xPtr = - _lookup>('spine_transform_constraint_data_get_offset_x'); + late final _spine_transform_constraint_data_get_offset_xPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_x'); late final _spine_transform_constraint_data_get_offset_x = - _spine_transform_constraint_data_get_offset_xPtr.asFunction(); + _spine_transform_constraint_data_get_offset_xPtr + .asFunction(); void spine_transform_constraint_data_set_offset_x( spine_transform_constraint_data data, @@ -6806,11 +8173,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_xPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_x'); + late final _spine_transform_constraint_data_set_offset_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_offset_x'); late final _spine_transform_constraint_data_set_offset_x = - _spine_transform_constraint_data_set_offset_xPtr.asFunction(); + _spine_transform_constraint_data_set_offset_xPtr + .asFunction(); double spine_transform_constraint_data_get_offset_y( spine_transform_constraint_data data, @@ -6820,10 +8189,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_yPtr = - _lookup>('spine_transform_constraint_data_get_offset_y'); + late final _spine_transform_constraint_data_get_offset_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_y'); late final _spine_transform_constraint_data_get_offset_y = - _spine_transform_constraint_data_get_offset_yPtr.asFunction(); + _spine_transform_constraint_data_get_offset_yPtr + .asFunction(); void spine_transform_constraint_data_set_offset_y( spine_transform_constraint_data data, @@ -6835,11 +8207,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_y'); + late final _spine_transform_constraint_data_set_offset_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Float)>>('spine_transform_constraint_data_set_offset_y'); late final _spine_transform_constraint_data_set_offset_y = - _spine_transform_constraint_data_set_offset_yPtr.asFunction(); + _spine_transform_constraint_data_set_offset_yPtr + .asFunction(); double spine_transform_constraint_data_get_offset_scale_x( spine_transform_constraint_data data, @@ -6849,11 +8223,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_scale_xPtr = - _lookup>( - 'spine_transform_constraint_data_get_offset_scale_x'); + late final _spine_transform_constraint_data_get_offset_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_scale_x'); late final _spine_transform_constraint_data_get_offset_scale_x = - _spine_transform_constraint_data_get_offset_scale_xPtr.asFunction(); + _spine_transform_constraint_data_get_offset_scale_xPtr + .asFunction(); void spine_transform_constraint_data_set_offset_scale_x( spine_transform_constraint_data data, @@ -6865,11 +8241,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_scale_xPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_scale_x'); + late final _spine_transform_constraint_data_set_offset_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( + 'spine_transform_constraint_data_set_offset_scale_x'); late final _spine_transform_constraint_data_set_offset_scale_x = - _spine_transform_constraint_data_set_offset_scale_xPtr.asFunction(); + _spine_transform_constraint_data_set_offset_scale_xPtr + .asFunction(); double spine_transform_constraint_data_get_offset_scale_y( spine_transform_constraint_data data, @@ -6879,11 +8257,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_scale_yPtr = - _lookup>( - 'spine_transform_constraint_data_get_offset_scale_y'); + late final _spine_transform_constraint_data_get_offset_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_scale_y'); late final _spine_transform_constraint_data_get_offset_scale_y = - _spine_transform_constraint_data_get_offset_scale_yPtr.asFunction(); + _spine_transform_constraint_data_get_offset_scale_yPtr + .asFunction(); void spine_transform_constraint_data_set_offset_scale_y( spine_transform_constraint_data data, @@ -6895,11 +8275,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_scale_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_scale_y'); + late final _spine_transform_constraint_data_set_offset_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( + 'spine_transform_constraint_data_set_offset_scale_y'); late final _spine_transform_constraint_data_set_offset_scale_y = - _spine_transform_constraint_data_set_offset_scale_yPtr.asFunction(); + _spine_transform_constraint_data_set_offset_scale_yPtr + .asFunction(); double spine_transform_constraint_data_get_offset_shear_y( spine_transform_constraint_data data, @@ -6909,11 +8291,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_offset_shear_yPtr = - _lookup>( - 'spine_transform_constraint_data_get_offset_shear_y'); + late final _spine_transform_constraint_data_get_offset_shear_yPtr = _lookup< + ffi.NativeFunction< + ffi.Float Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_offset_shear_y'); late final _spine_transform_constraint_data_get_offset_shear_y = - _spine_transform_constraint_data_get_offset_shear_yPtr.asFunction(); + _spine_transform_constraint_data_get_offset_shear_yPtr + .asFunction(); void spine_transform_constraint_data_set_offset_shear_y( spine_transform_constraint_data data, @@ -6925,11 +8309,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_offset_shear_yPtr = - _lookup>( - 'spine_transform_constraint_data_set_offset_shear_y'); + late final _spine_transform_constraint_data_set_offset_shear_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>( + 'spine_transform_constraint_data_set_offset_shear_y'); late final _spine_transform_constraint_data_set_offset_shear_y = - _spine_transform_constraint_data_set_offset_shear_yPtr.asFunction(); + _spine_transform_constraint_data_set_offset_shear_yPtr + .asFunction(); int spine_transform_constraint_data_get_is_relative( spine_transform_constraint_data data, @@ -6939,10 +8325,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_is_relativePtr = - _lookup>('spine_transform_constraint_data_get_is_relative'); + late final _spine_transform_constraint_data_get_is_relativePtr = _lookup< + ffi.NativeFunction< + ffi.Int32 Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_is_relative'); late final _spine_transform_constraint_data_get_is_relative = - _spine_transform_constraint_data_get_is_relativePtr.asFunction(); + _spine_transform_constraint_data_get_is_relativePtr + .asFunction(); void spine_transform_constraint_data_set_is_relative( spine_transform_constraint_data data, @@ -6954,11 +8343,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_is_relativePtr = - _lookup>( - 'spine_transform_constraint_data_set_is_relative'); + late final _spine_transform_constraint_data_set_is_relativePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Int32)>>('spine_transform_constraint_data_set_is_relative'); late final _spine_transform_constraint_data_set_is_relative = - _spine_transform_constraint_data_set_is_relativePtr.asFunction(); + _spine_transform_constraint_data_set_is_relativePtr + .asFunction(); int spine_transform_constraint_data_get_is_local( spine_transform_constraint_data data, @@ -6968,10 +8359,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_get_is_localPtr = - _lookup>('spine_transform_constraint_data_get_is_local'); + late final _spine_transform_constraint_data_get_is_localPtr = _lookup< + ffi.NativeFunction< + ffi.Int32 Function(spine_transform_constraint_data)>>( + 'spine_transform_constraint_data_get_is_local'); late final _spine_transform_constraint_data_get_is_local = - _spine_transform_constraint_data_get_is_localPtr.asFunction(); + _spine_transform_constraint_data_get_is_localPtr + .asFunction(); void spine_transform_constraint_data_set_is_local( spine_transform_constraint_data data, @@ -6983,11 +8377,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_data_set_is_localPtr = - _lookup>( - 'spine_transform_constraint_data_set_is_local'); + late final _spine_transform_constraint_data_set_is_localPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Int32)>>('spine_transform_constraint_data_set_is_local'); late final _spine_transform_constraint_data_set_is_local = - _spine_transform_constraint_data_set_is_localPtr.asFunction(); + _spine_transform_constraint_data_set_is_localPtr + .asFunction(); void spine_transform_constraint_update( spine_transform_constraint constraint, @@ -6997,10 +8393,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_updatePtr = - _lookup>('spine_transform_constraint_update'); + late final _spine_transform_constraint_updatePtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_update'); late final _spine_transform_constraint_update = - _spine_transform_constraint_updatePtr.asFunction(); + _spine_transform_constraint_updatePtr + .asFunction(); int spine_transform_constraint_get_order( spine_transform_constraint constraint, @@ -7010,10 +8408,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_orderPtr = - _lookup>('spine_transform_constraint_get_order'); + late final _spine_transform_constraint_get_orderPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_order'); late final _spine_transform_constraint_get_order = - _spine_transform_constraint_get_orderPtr.asFunction(); + _spine_transform_constraint_get_orderPtr + .asFunction(); spine_transform_constraint_data spine_transform_constraint_get_data( spine_transform_constraint constraint, @@ -7023,11 +8423,15 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_dataPtr = - _lookup>( - 'spine_transform_constraint_get_data'); + late final _spine_transform_constraint_get_dataPtr = _lookup< + ffi.NativeFunction< + spine_transform_constraint_data Function( + spine_transform_constraint)>>( + 'spine_transform_constraint_get_data'); late final _spine_transform_constraint_get_data = - _spine_transform_constraint_get_dataPtr.asFunction(); + _spine_transform_constraint_get_dataPtr.asFunction< + spine_transform_constraint_data Function( + spine_transform_constraint)>(); int spine_transform_constraint_get_num_bones( spine_transform_constraint constraint, @@ -7037,10 +8441,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_num_bonesPtr = - _lookup>('spine_transform_constraint_get_num_bones'); + late final _spine_transform_constraint_get_num_bonesPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_num_bones'); late final _spine_transform_constraint_get_num_bones = - _spine_transform_constraint_get_num_bonesPtr.asFunction(); + _spine_transform_constraint_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_transform_constraint_get_bones( spine_transform_constraint constraint, @@ -7050,10 +8456,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_bonesPtr = - _lookup Function(spine_transform_constraint)>>('spine_transform_constraint_get_bones'); + late final _spine_transform_constraint_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function(spine_transform_constraint)>>( + 'spine_transform_constraint_get_bones'); late final _spine_transform_constraint_get_bones = - _spine_transform_constraint_get_bonesPtr.asFunction Function(spine_transform_constraint)>(); + _spine_transform_constraint_get_bonesPtr.asFunction< + ffi.Pointer Function(spine_transform_constraint)>(); spine_bone spine_transform_constraint_get_target( spine_transform_constraint constraint, @@ -7063,10 +8472,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_targetPtr = - _lookup>('spine_transform_constraint_get_target'); + late final _spine_transform_constraint_get_targetPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_target'); late final _spine_transform_constraint_get_target = - _spine_transform_constraint_get_targetPtr.asFunction(); + _spine_transform_constraint_get_targetPtr + .asFunction(); void spine_transform_constraint_set_target( spine_transform_constraint constraint, @@ -7078,10 +8489,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_targetPtr = - _lookup>('spine_transform_constraint_set_target'); + late final _spine_transform_constraint_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + spine_bone)>>('spine_transform_constraint_set_target'); late final _spine_transform_constraint_set_target = - _spine_transform_constraint_set_targetPtr.asFunction(); + _spine_transform_constraint_set_targetPtr + .asFunction(); double spine_transform_constraint_get_mix_rotate( spine_transform_constraint constraint, @@ -7091,10 +8505,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_rotatePtr = - _lookup>('spine_transform_constraint_get_mix_rotate'); + late final _spine_transform_constraint_get_mix_rotatePtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_rotate'); late final _spine_transform_constraint_get_mix_rotate = - _spine_transform_constraint_get_mix_rotatePtr.asFunction(); + _spine_transform_constraint_get_mix_rotatePtr + .asFunction(); void spine_transform_constraint_set_mix_rotate( spine_transform_constraint constraint, @@ -7106,10 +8522,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_rotatePtr = - _lookup>('spine_transform_constraint_set_mix_rotate'); + late final _spine_transform_constraint_set_mix_rotatePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_rotate'); late final _spine_transform_constraint_set_mix_rotate = - _spine_transform_constraint_set_mix_rotatePtr.asFunction(); + _spine_transform_constraint_set_mix_rotatePtr + .asFunction(); double spine_transform_constraint_get_mix_x( spine_transform_constraint constraint, @@ -7119,10 +8538,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_xPtr = - _lookup>('spine_transform_constraint_get_mix_x'); + late final _spine_transform_constraint_get_mix_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_x'); late final _spine_transform_constraint_get_mix_x = - _spine_transform_constraint_get_mix_xPtr.asFunction(); + _spine_transform_constraint_get_mix_xPtr + .asFunction(); void spine_transform_constraint_set_mix_x( spine_transform_constraint constraint, @@ -7134,10 +8555,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_xPtr = - _lookup>('spine_transform_constraint_set_mix_x'); + late final _spine_transform_constraint_set_mix_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_x'); late final _spine_transform_constraint_set_mix_x = - _spine_transform_constraint_set_mix_xPtr.asFunction(); + _spine_transform_constraint_set_mix_xPtr + .asFunction(); double spine_transform_constraint_get_mix_y( spine_transform_constraint constraint, @@ -7147,10 +8571,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_yPtr = - _lookup>('spine_transform_constraint_get_mix_y'); + late final _spine_transform_constraint_get_mix_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_y'); late final _spine_transform_constraint_get_mix_y = - _spine_transform_constraint_get_mix_yPtr.asFunction(); + _spine_transform_constraint_get_mix_yPtr + .asFunction(); void spine_transform_constraint_set_mix_y( spine_transform_constraint constraint, @@ -7162,10 +8588,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_yPtr = - _lookup>('spine_transform_constraint_set_mix_y'); + late final _spine_transform_constraint_set_mix_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_y'); late final _spine_transform_constraint_set_mix_y = - _spine_transform_constraint_set_mix_yPtr.asFunction(); + _spine_transform_constraint_set_mix_yPtr + .asFunction(); double spine_transform_constraint_get_mix_scale_x( spine_transform_constraint constraint, @@ -7175,10 +8604,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_scale_xPtr = - _lookup>('spine_transform_constraint_get_mix_scale_x'); + late final _spine_transform_constraint_get_mix_scale_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_scale_x'); late final _spine_transform_constraint_get_mix_scale_x = - _spine_transform_constraint_get_mix_scale_xPtr.asFunction(); + _spine_transform_constraint_get_mix_scale_xPtr + .asFunction(); void spine_transform_constraint_set_mix_scale_x( spine_transform_constraint constraint, @@ -7190,10 +8621,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_scale_xPtr = - _lookup>('spine_transform_constraint_set_mix_scale_x'); + late final _spine_transform_constraint_set_mix_scale_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_scale_x'); late final _spine_transform_constraint_set_mix_scale_x = - _spine_transform_constraint_set_mix_scale_xPtr.asFunction(); + _spine_transform_constraint_set_mix_scale_xPtr + .asFunction(); double spine_transform_constraint_get_mix_scale_y( spine_transform_constraint constraint, @@ -7203,10 +8637,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_scale_yPtr = - _lookup>('spine_transform_constraint_get_mix_scale_y'); + late final _spine_transform_constraint_get_mix_scale_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_scale_y'); late final _spine_transform_constraint_get_mix_scale_y = - _spine_transform_constraint_get_mix_scale_yPtr.asFunction(); + _spine_transform_constraint_get_mix_scale_yPtr + .asFunction(); void spine_transform_constraint_set_mix_scale_y( spine_transform_constraint constraint, @@ -7218,10 +8654,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_scale_yPtr = - _lookup>('spine_transform_constraint_set_mix_scale_y'); + late final _spine_transform_constraint_set_mix_scale_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_scale_y'); late final _spine_transform_constraint_set_mix_scale_y = - _spine_transform_constraint_set_mix_scale_yPtr.asFunction(); + _spine_transform_constraint_set_mix_scale_yPtr + .asFunction(); double spine_transform_constraint_get_mix_shear_y( spine_transform_constraint constraint, @@ -7231,10 +8670,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_mix_shear_yPtr = - _lookup>('spine_transform_constraint_get_mix_shear_y'); + late final _spine_transform_constraint_get_mix_shear_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_mix_shear_y'); late final _spine_transform_constraint_get_mix_shear_y = - _spine_transform_constraint_get_mix_shear_yPtr.asFunction(); + _spine_transform_constraint_get_mix_shear_yPtr + .asFunction(); void spine_transform_constraint_set_mix_shear_y( spine_transform_constraint constraint, @@ -7246,10 +8687,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_mix_shear_yPtr = - _lookup>('spine_transform_constraint_set_mix_shear_y'); + late final _spine_transform_constraint_set_mix_shear_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Float)>>('spine_transform_constraint_set_mix_shear_y'); late final _spine_transform_constraint_set_mix_shear_y = - _spine_transform_constraint_set_mix_shear_yPtr.asFunction(); + _spine_transform_constraint_set_mix_shear_yPtr + .asFunction(); double spine_transform_constraint_get_is_active( spine_transform_constraint constraint, @@ -7259,10 +8703,12 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_is_activePtr = - _lookup>('spine_transform_constraint_get_is_active'); + late final _spine_transform_constraint_get_is_activePtr = _lookup< + ffi.NativeFunction>( + 'spine_transform_constraint_get_is_active'); late final _spine_transform_constraint_get_is_active = - _spine_transform_constraint_get_is_activePtr.asFunction(); + _spine_transform_constraint_get_is_activePtr + .asFunction(); void spine_transform_constraint_set_is_active( spine_transform_constraint constraint, @@ -7274,10 +8720,13 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_set_is_activePtr = - _lookup>('spine_transform_constraint_set_is_active'); + late final _spine_transform_constraint_set_is_activePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint, + ffi.Int32)>>('spine_transform_constraint_set_is_active'); late final _spine_transform_constraint_set_is_active = - _spine_transform_constraint_set_is_activePtr.asFunction(); + _spine_transform_constraint_set_is_activePtr + .asFunction(); int spine_path_constraint_data_get_num_bones( spine_path_constraint_data data, @@ -7287,10 +8736,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_num_bonesPtr = - _lookup>('spine_path_constraint_data_get_num_bones'); + late final _spine_path_constraint_data_get_num_bonesPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_num_bones'); late final _spine_path_constraint_data_get_num_bones = - _spine_path_constraint_data_get_num_bonesPtr.asFunction(); + _spine_path_constraint_data_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_path_constraint_data_get_bones( spine_path_constraint_data data, @@ -7300,11 +8751,14 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_bonesPtr = - _lookup Function(spine_path_constraint_data)>>( - 'spine_path_constraint_data_get_bones'); + late final _spine_path_constraint_data_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_path_constraint_data)>>( + 'spine_path_constraint_data_get_bones'); late final _spine_path_constraint_data_get_bones = - _spine_path_constraint_data_get_bonesPtr.asFunction Function(spine_path_constraint_data)>(); + _spine_path_constraint_data_get_bonesPtr.asFunction< + ffi.Pointer Function(spine_path_constraint_data)>(); spine_slot_data spine_path_constraint_data_get_target( spine_path_constraint_data data, @@ -7314,10 +8768,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_targetPtr = - _lookup>('spine_path_constraint_data_get_target'); + late final _spine_path_constraint_data_get_targetPtr = _lookup< + ffi.NativeFunction< + spine_slot_data Function(spine_path_constraint_data)>>( + 'spine_path_constraint_data_get_target'); late final _spine_path_constraint_data_get_target = - _spine_path_constraint_data_get_targetPtr.asFunction(); + _spine_path_constraint_data_get_targetPtr + .asFunction(); void spine_path_constraint_data_set_target( spine_path_constraint_data data, @@ -7329,10 +8786,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_targetPtr = - _lookup>('spine_path_constraint_data_set_target'); + late final _spine_path_constraint_data_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + spine_slot_data)>>('spine_path_constraint_data_set_target'); late final _spine_path_constraint_data_set_target = - _spine_path_constraint_data_set_targetPtr.asFunction(); + _spine_path_constraint_data_set_targetPtr.asFunction< + void Function(spine_path_constraint_data, spine_slot_data)>(); int spine_path_constraint_data_get_position_mode( spine_path_constraint_data data, @@ -7342,10 +8802,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_position_modePtr = - _lookup>('spine_path_constraint_data_get_position_mode'); + late final _spine_path_constraint_data_get_position_modePtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_position_mode'); late final _spine_path_constraint_data_get_position_mode = - _spine_path_constraint_data_get_position_modePtr.asFunction(); + _spine_path_constraint_data_get_position_modePtr + .asFunction(); void spine_path_constraint_data_set_position_mode( spine_path_constraint_data data, @@ -7357,10 +8819,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_position_modePtr = - _lookup>('spine_path_constraint_data_set_position_mode'); + late final _spine_path_constraint_data_set_position_modePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Int32)>>('spine_path_constraint_data_set_position_mode'); late final _spine_path_constraint_data_set_position_mode = - _spine_path_constraint_data_set_position_modePtr.asFunction(); + _spine_path_constraint_data_set_position_modePtr + .asFunction(); int spine_path_constraint_data_get_spacing_mode( spine_path_constraint_data data, @@ -7370,10 +8835,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_spacing_modePtr = - _lookup>('spine_path_constraint_data_get_spacing_mode'); + late final _spine_path_constraint_data_get_spacing_modePtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_spacing_mode'); late final _spine_path_constraint_data_get_spacing_mode = - _spine_path_constraint_data_get_spacing_modePtr.asFunction(); + _spine_path_constraint_data_get_spacing_modePtr + .asFunction(); void spine_path_constraint_data_set_spacing_mode( spine_path_constraint_data data, @@ -7385,10 +8852,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_spacing_modePtr = - _lookup>('spine_path_constraint_data_set_spacing_mode'); + late final _spine_path_constraint_data_set_spacing_modePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Int32)>>('spine_path_constraint_data_set_spacing_mode'); late final _spine_path_constraint_data_set_spacing_mode = - _spine_path_constraint_data_set_spacing_modePtr.asFunction(); + _spine_path_constraint_data_set_spacing_modePtr + .asFunction(); int spine_path_constraint_data_get_rotate_mode( spine_path_constraint_data data, @@ -7398,10 +8868,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_rotate_modePtr = - _lookup>('spine_path_constraint_data_get_rotate_mode'); + late final _spine_path_constraint_data_get_rotate_modePtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_rotate_mode'); late final _spine_path_constraint_data_get_rotate_mode = - _spine_path_constraint_data_get_rotate_modePtr.asFunction(); + _spine_path_constraint_data_get_rotate_modePtr + .asFunction(); void spine_path_constraint_data_set_rotate_mode( spine_path_constraint_data data, @@ -7413,10 +8885,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_rotate_modePtr = - _lookup>('spine_path_constraint_data_set_rotate_mode'); + late final _spine_path_constraint_data_set_rotate_modePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Int32)>>('spine_path_constraint_data_set_rotate_mode'); late final _spine_path_constraint_data_set_rotate_mode = - _spine_path_constraint_data_set_rotate_modePtr.asFunction(); + _spine_path_constraint_data_set_rotate_modePtr + .asFunction(); double spine_path_constraint_data_get_offset_rotation( spine_path_constraint_data data, @@ -7426,10 +8901,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_offset_rotationPtr = - _lookup>('spine_path_constraint_data_get_offset_rotation'); + late final _spine_path_constraint_data_get_offset_rotationPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_offset_rotation'); late final _spine_path_constraint_data_get_offset_rotation = - _spine_path_constraint_data_get_offset_rotationPtr.asFunction(); + _spine_path_constraint_data_get_offset_rotationPtr + .asFunction(); void spine_path_constraint_data_set_offset_rotation( spine_path_constraint_data data, @@ -7441,11 +8918,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_offset_rotationPtr = - _lookup>( - 'spine_path_constraint_data_set_offset_rotation'); + late final _spine_path_constraint_data_set_offset_rotationPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_offset_rotation'); late final _spine_path_constraint_data_set_offset_rotation = - _spine_path_constraint_data_set_offset_rotationPtr.asFunction(); + _spine_path_constraint_data_set_offset_rotationPtr + .asFunction(); double spine_path_constraint_data_get_position( spine_path_constraint_data data, @@ -7455,10 +8934,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_positionPtr = - _lookup>('spine_path_constraint_data_get_position'); + late final _spine_path_constraint_data_get_positionPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_position'); late final _spine_path_constraint_data_get_position = - _spine_path_constraint_data_get_positionPtr.asFunction(); + _spine_path_constraint_data_get_positionPtr + .asFunction(); void spine_path_constraint_data_set_position( spine_path_constraint_data data, @@ -7470,10 +8951,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_positionPtr = - _lookup>('spine_path_constraint_data_set_position'); + late final _spine_path_constraint_data_set_positionPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_position'); late final _spine_path_constraint_data_set_position = - _spine_path_constraint_data_set_positionPtr.asFunction(); + _spine_path_constraint_data_set_positionPtr + .asFunction(); double spine_path_constraint_data_get_spacing( spine_path_constraint_data data, @@ -7483,10 +8967,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_spacingPtr = - _lookup>('spine_path_constraint_data_get_spacing'); + late final _spine_path_constraint_data_get_spacingPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_spacing'); late final _spine_path_constraint_data_get_spacing = - _spine_path_constraint_data_get_spacingPtr.asFunction(); + _spine_path_constraint_data_get_spacingPtr + .asFunction(); void spine_path_constraint_data_set_spacing( spine_path_constraint_data data, @@ -7498,10 +8984,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_spacingPtr = - _lookup>('spine_path_constraint_data_set_spacing'); + late final _spine_path_constraint_data_set_spacingPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_spacing'); late final _spine_path_constraint_data_set_spacing = - _spine_path_constraint_data_set_spacingPtr.asFunction(); + _spine_path_constraint_data_set_spacingPtr + .asFunction(); double spine_path_constraint_data_get_mix_rotate( spine_path_constraint_data data, @@ -7511,10 +9000,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_rotatePtr = - _lookup>('spine_path_constraint_data_get_mix_rotate'); + late final _spine_path_constraint_data_get_mix_rotatePtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_mix_rotate'); late final _spine_path_constraint_data_get_mix_rotate = - _spine_path_constraint_data_get_mix_rotatePtr.asFunction(); + _spine_path_constraint_data_get_mix_rotatePtr + .asFunction(); void spine_path_constraint_data_set_mix_rotate( spine_path_constraint_data data, @@ -7526,10 +9017,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_rotatePtr = - _lookup>('spine_path_constraint_data_set_mix_rotate'); + late final _spine_path_constraint_data_set_mix_rotatePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_mix_rotate'); late final _spine_path_constraint_data_set_mix_rotate = - _spine_path_constraint_data_set_mix_rotatePtr.asFunction(); + _spine_path_constraint_data_set_mix_rotatePtr + .asFunction(); double spine_path_constraint_data_get_mix_x( spine_path_constraint_data data, @@ -7539,10 +9033,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_xPtr = - _lookup>('spine_path_constraint_data_get_mix_x'); + late final _spine_path_constraint_data_get_mix_xPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_mix_x'); late final _spine_path_constraint_data_get_mix_x = - _spine_path_constraint_data_get_mix_xPtr.asFunction(); + _spine_path_constraint_data_get_mix_xPtr + .asFunction(); void spine_path_constraint_data_set_mix_x( spine_path_constraint_data data, @@ -7554,10 +9050,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_xPtr = - _lookup>('spine_path_constraint_data_set_mix_x'); + late final _spine_path_constraint_data_set_mix_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_mix_x'); late final _spine_path_constraint_data_set_mix_x = - _spine_path_constraint_data_set_mix_xPtr.asFunction(); + _spine_path_constraint_data_set_mix_xPtr + .asFunction(); double spine_path_constraint_data_get_mix_y( spine_path_constraint_data data, @@ -7567,10 +9066,12 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_get_mix_yPtr = - _lookup>('spine_path_constraint_data_get_mix_y'); + late final _spine_path_constraint_data_get_mix_yPtr = _lookup< + ffi.NativeFunction>( + 'spine_path_constraint_data_get_mix_y'); late final _spine_path_constraint_data_get_mix_y = - _spine_path_constraint_data_get_mix_yPtr.asFunction(); + _spine_path_constraint_data_get_mix_yPtr + .asFunction(); void spine_path_constraint_data_set_mix_y( spine_path_constraint_data data, @@ -7582,10 +9083,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_data_set_mix_yPtr = - _lookup>('spine_path_constraint_data_set_mix_y'); + late final _spine_path_constraint_data_set_mix_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint_data, + ffi.Float)>>('spine_path_constraint_data_set_mix_y'); late final _spine_path_constraint_data_set_mix_y = - _spine_path_constraint_data_set_mix_yPtr.asFunction(); + _spine_path_constraint_data_set_mix_yPtr + .asFunction(); void spine_path_constraint_update( spine_path_constraint constraint, @@ -7596,8 +9100,10 @@ class SpineFlutterBindings { } late final _spine_path_constraint_updatePtr = - _lookup>('spine_path_constraint_update'); - late final _spine_path_constraint_update = _spine_path_constraint_updatePtr.asFunction(); + _lookup>( + 'spine_path_constraint_update'); + late final _spine_path_constraint_update = _spine_path_constraint_updatePtr + .asFunction(); int spine_path_constraint_get_order( spine_path_constraint constraint, @@ -7608,8 +9114,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_orderPtr = - _lookup>('spine_path_constraint_get_order'); - late final _spine_path_constraint_get_order = _spine_path_constraint_get_orderPtr.asFunction(); + _lookup>( + 'spine_path_constraint_get_order'); + late final _spine_path_constraint_get_order = + _spine_path_constraint_get_orderPtr + .asFunction(); spine_path_constraint_data spine_path_constraint_get_data( spine_path_constraint constraint, @@ -7619,10 +9128,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_get_dataPtr = - _lookup>('spine_path_constraint_get_data'); + late final _spine_path_constraint_get_dataPtr = _lookup< + ffi.NativeFunction< + spine_path_constraint_data Function( + spine_path_constraint)>>('spine_path_constraint_get_data'); late final _spine_path_constraint_get_data = - _spine_path_constraint_get_dataPtr.asFunction(); + _spine_path_constraint_get_dataPtr.asFunction< + spine_path_constraint_data Function(spine_path_constraint)>(); int spine_path_constraint_get_num_bones( spine_path_constraint constraint, @@ -7633,9 +9145,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_num_bonesPtr = - _lookup>('spine_path_constraint_get_num_bones'); + _lookup>( + 'spine_path_constraint_get_num_bones'); late final _spine_path_constraint_get_num_bones = - _spine_path_constraint_get_num_bonesPtr.asFunction(); + _spine_path_constraint_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_path_constraint_get_bones( spine_path_constraint constraint, @@ -7645,10 +9159,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_get_bonesPtr = - _lookup Function(spine_path_constraint)>>('spine_path_constraint_get_bones'); + late final _spine_path_constraint_get_bonesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_path_constraint)>>('spine_path_constraint_get_bones'); late final _spine_path_constraint_get_bones = - _spine_path_constraint_get_bonesPtr.asFunction Function(spine_path_constraint)>(); + _spine_path_constraint_get_bonesPtr.asFunction< + ffi.Pointer Function(spine_path_constraint)>(); spine_slot spine_path_constraint_get_target( spine_path_constraint constraint, @@ -7659,9 +9176,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_targetPtr = - _lookup>('spine_path_constraint_get_target'); + _lookup>( + 'spine_path_constraint_get_target'); late final _spine_path_constraint_get_target = - _spine_path_constraint_get_targetPtr.asFunction(); + _spine_path_constraint_get_targetPtr + .asFunction(); void spine_path_constraint_set_target( spine_path_constraint constraint, @@ -7673,10 +9192,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_targetPtr = - _lookup>('spine_path_constraint_set_target'); + late final _spine_path_constraint_set_targetPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + spine_slot)>>('spine_path_constraint_set_target'); late final _spine_path_constraint_set_target = - _spine_path_constraint_set_targetPtr.asFunction(); + _spine_path_constraint_set_targetPtr + .asFunction(); double spine_path_constraint_get_position( spine_path_constraint constraint, @@ -7687,9 +9209,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_positionPtr = - _lookup>('spine_path_constraint_get_position'); + _lookup>( + 'spine_path_constraint_get_position'); late final _spine_path_constraint_get_position = - _spine_path_constraint_get_positionPtr.asFunction(); + _spine_path_constraint_get_positionPtr + .asFunction(); void spine_path_constraint_set_position( spine_path_constraint constraint, @@ -7701,10 +9225,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_positionPtr = - _lookup>('spine_path_constraint_set_position'); + late final _spine_path_constraint_set_positionPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Float)>>('spine_path_constraint_set_position'); late final _spine_path_constraint_set_position = - _spine_path_constraint_set_positionPtr.asFunction(); + _spine_path_constraint_set_positionPtr + .asFunction(); double spine_path_constraint_get_spacing( spine_path_constraint constraint, @@ -7715,9 +9242,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_spacingPtr = - _lookup>('spine_path_constraint_get_spacing'); + _lookup>( + 'spine_path_constraint_get_spacing'); late final _spine_path_constraint_get_spacing = - _spine_path_constraint_get_spacingPtr.asFunction(); + _spine_path_constraint_get_spacingPtr + .asFunction(); void spine_path_constraint_set_spacing( spine_path_constraint constraint, @@ -7729,10 +9258,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_spacingPtr = - _lookup>('spine_path_constraint_set_spacing'); + late final _spine_path_constraint_set_spacingPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Float)>>('spine_path_constraint_set_spacing'); late final _spine_path_constraint_set_spacing = - _spine_path_constraint_set_spacingPtr.asFunction(); + _spine_path_constraint_set_spacingPtr + .asFunction(); double spine_path_constraint_get_mix_rotate( spine_path_constraint constraint, @@ -7743,9 +9275,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_rotatePtr = - _lookup>('spine_path_constraint_get_mix_rotate'); + _lookup>( + 'spine_path_constraint_get_mix_rotate'); late final _spine_path_constraint_get_mix_rotate = - _spine_path_constraint_get_mix_rotatePtr.asFunction(); + _spine_path_constraint_get_mix_rotatePtr + .asFunction(); void spine_path_constraint_set_mix_rotate( spine_path_constraint constraint, @@ -7757,10 +9291,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_rotatePtr = - _lookup>('spine_path_constraint_set_mix_rotate'); + late final _spine_path_constraint_set_mix_rotatePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Float)>>('spine_path_constraint_set_mix_rotate'); late final _spine_path_constraint_set_mix_rotate = - _spine_path_constraint_set_mix_rotatePtr.asFunction(); + _spine_path_constraint_set_mix_rotatePtr + .asFunction(); double spine_path_constraint_get_mix_x( spine_path_constraint constraint, @@ -7771,8 +9308,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_xPtr = - _lookup>('spine_path_constraint_get_mix_x'); - late final _spine_path_constraint_get_mix_x = _spine_path_constraint_get_mix_xPtr.asFunction(); + _lookup>( + 'spine_path_constraint_get_mix_x'); + late final _spine_path_constraint_get_mix_x = + _spine_path_constraint_get_mix_xPtr + .asFunction(); void spine_path_constraint_set_mix_x( spine_path_constraint constraint, @@ -7784,10 +9324,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_xPtr = - _lookup>('spine_path_constraint_set_mix_x'); + late final _spine_path_constraint_set_mix_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Float)>>('spine_path_constraint_set_mix_x'); late final _spine_path_constraint_set_mix_x = - _spine_path_constraint_set_mix_xPtr.asFunction(); + _spine_path_constraint_set_mix_xPtr + .asFunction(); double spine_path_constraint_get_mix_y( spine_path_constraint constraint, @@ -7798,8 +9341,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_yPtr = - _lookup>('spine_path_constraint_get_mix_y'); - late final _spine_path_constraint_get_mix_y = _spine_path_constraint_get_mix_yPtr.asFunction(); + _lookup>( + 'spine_path_constraint_get_mix_y'); + late final _spine_path_constraint_get_mix_y = + _spine_path_constraint_get_mix_yPtr + .asFunction(); void spine_path_constraint_set_mix_y( spine_path_constraint constraint, @@ -7811,10 +9357,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_mix_yPtr = - _lookup>('spine_path_constraint_set_mix_y'); + late final _spine_path_constraint_set_mix_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Float)>>('spine_path_constraint_set_mix_y'); late final _spine_path_constraint_set_mix_y = - _spine_path_constraint_set_mix_yPtr.asFunction(); + _spine_path_constraint_set_mix_yPtr + .asFunction(); int spine_path_constraint_get_is_active( spine_path_constraint constraint, @@ -7825,9 +9374,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_is_activePtr = - _lookup>('spine_path_constraint_get_is_active'); + _lookup>( + 'spine_path_constraint_get_is_active'); late final _spine_path_constraint_get_is_active = - _spine_path_constraint_get_is_activePtr.asFunction(); + _spine_path_constraint_get_is_activePtr + .asFunction(); void spine_path_constraint_set_is_active( spine_path_constraint constraint, @@ -7839,10 +9390,13 @@ class SpineFlutterBindings { ); } - late final _spine_path_constraint_set_is_activePtr = - _lookup>('spine_path_constraint_set_is_active'); + late final _spine_path_constraint_set_is_activePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_path_constraint, + ffi.Int32)>>('spine_path_constraint_set_is_active'); late final _spine_path_constraint_set_is_active = - _spine_path_constraint_set_is_activePtr.asFunction(); + _spine_path_constraint_set_is_activePtr + .asFunction(); /// OMITTED copy() void spine_sequence_apply( @@ -7857,9 +9411,12 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_applyPtr = - _lookup>('spine_sequence_apply'); - late final _spine_sequence_apply = _spine_sequence_applyPtr.asFunction(); + late final _spine_sequence_applyPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_sequence, spine_slot, + spine_attachment)>>('spine_sequence_apply'); + late final _spine_sequence_apply = _spine_sequence_applyPtr.asFunction< + void Function(spine_sequence, spine_slot, spine_attachment)>(); ffi.Pointer spine_sequence_get_path( spine_sequence sequence, @@ -7873,10 +9430,12 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_pathPtr = - _lookup Function(spine_sequence, ffi.Pointer, ffi.Int32)>>('spine_sequence_get_path'); - late final _spine_sequence_get_path = - _spine_sequence_get_pathPtr.asFunction Function(spine_sequence, ffi.Pointer, int)>(); + late final _spine_sequence_get_pathPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function(spine_sequence, ffi.Pointer, + ffi.Int32)>>('spine_sequence_get_path'); + late final _spine_sequence_get_path = _spine_sequence_get_pathPtr.asFunction< + ffi.Pointer Function(spine_sequence, ffi.Pointer, int)>(); int spine_sequence_get_id( spine_sequence sequence, @@ -7886,8 +9445,11 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_idPtr = _lookup>('spine_sequence_get_id'); - late final _spine_sequence_get_id = _spine_sequence_get_idPtr.asFunction(); + late final _spine_sequence_get_idPtr = + _lookup>( + 'spine_sequence_get_id'); + late final _spine_sequence_get_id = + _spine_sequence_get_idPtr.asFunction(); void spine_sequence_set_id( spine_sequence sequence, @@ -7899,8 +9461,11 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_set_idPtr = _lookup>('spine_sequence_set_id'); - late final _spine_sequence_set_id = _spine_sequence_set_idPtr.asFunction(); + late final _spine_sequence_set_idPtr = + _lookup>( + 'spine_sequence_set_id'); + late final _spine_sequence_set_id = _spine_sequence_set_idPtr + .asFunction(); int spine_sequence_get_start( spine_sequence sequence, @@ -7910,8 +9475,11 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_startPtr = _lookup>('spine_sequence_get_start'); - late final _spine_sequence_get_start = _spine_sequence_get_startPtr.asFunction(); + late final _spine_sequence_get_startPtr = + _lookup>( + 'spine_sequence_get_start'); + late final _spine_sequence_get_start = + _spine_sequence_get_startPtr.asFunction(); void spine_sequence_set_start( spine_sequence sequence, @@ -7924,8 +9492,10 @@ class SpineFlutterBindings { } late final _spine_sequence_set_startPtr = - _lookup>('spine_sequence_set_start'); - late final _spine_sequence_set_start = _spine_sequence_set_startPtr.asFunction(); + _lookup>( + 'spine_sequence_set_start'); + late final _spine_sequence_set_start = _spine_sequence_set_startPtr + .asFunction(); int spine_sequence_get_digits( spine_sequence sequence, @@ -7935,8 +9505,11 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_digitsPtr = _lookup>('spine_sequence_get_digits'); - late final _spine_sequence_get_digits = _spine_sequence_get_digitsPtr.asFunction(); + late final _spine_sequence_get_digitsPtr = + _lookup>( + 'spine_sequence_get_digits'); + late final _spine_sequence_get_digits = + _spine_sequence_get_digitsPtr.asFunction(); void spine_sequence_set_digits( spine_sequence sequence, @@ -7949,8 +9522,10 @@ class SpineFlutterBindings { } late final _spine_sequence_set_digitsPtr = - _lookup>('spine_sequence_set_digits'); - late final _spine_sequence_set_digits = _spine_sequence_set_digitsPtr.asFunction(); + _lookup>( + 'spine_sequence_set_digits'); + late final _spine_sequence_set_digits = _spine_sequence_set_digitsPtr + .asFunction(); int spine_sequence_get_setup_index( spine_sequence sequence, @@ -7961,8 +9536,11 @@ class SpineFlutterBindings { } late final _spine_sequence_get_setup_indexPtr = - _lookup>('spine_sequence_get_setup_index'); - late final _spine_sequence_get_setup_index = _spine_sequence_get_setup_indexPtr.asFunction(); + _lookup>( + 'spine_sequence_get_setup_index'); + late final _spine_sequence_get_setup_index = + _spine_sequence_get_setup_indexPtr + .asFunction(); void spine_sequence_set_setup_index( spine_sequence sequence, @@ -7975,8 +9553,11 @@ class SpineFlutterBindings { } late final _spine_sequence_set_setup_indexPtr = - _lookup>('spine_sequence_set_setup_index'); - late final _spine_sequence_set_setup_index = _spine_sequence_set_setup_indexPtr.asFunction(); + _lookup>( + 'spine_sequence_set_setup_index'); + late final _spine_sequence_set_setup_index = + _spine_sequence_set_setup_indexPtr + .asFunction(); int spine_sequence_get_num_regions( spine_sequence sequence, @@ -7987,8 +9568,11 @@ class SpineFlutterBindings { } late final _spine_sequence_get_num_regionsPtr = - _lookup>('spine_sequence_get_num_regions'); - late final _spine_sequence_get_num_regions = _spine_sequence_get_num_regionsPtr.asFunction(); + _lookup>( + 'spine_sequence_get_num_regions'); + late final _spine_sequence_get_num_regions = + _spine_sequence_get_num_regionsPtr + .asFunction(); ffi.Pointer spine_sequence_get_regions( spine_sequence sequence, @@ -7998,10 +9582,12 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_regionsPtr = - _lookup Function(spine_sequence)>>('spine_sequence_get_regions'); - late final _spine_sequence_get_regions = - _spine_sequence_get_regionsPtr.asFunction Function(spine_sequence)>(); + late final _spine_sequence_get_regionsPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_sequence)>>('spine_sequence_get_regions'); + late final _spine_sequence_get_regions = _spine_sequence_get_regionsPtr + .asFunction Function(spine_sequence)>(); ffi.Pointer spine_texture_region_get_texture( spine_texture_region textureRegion, @@ -8011,10 +9597,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_get_texturePtr = - _lookup Function(spine_texture_region)>>('spine_texture_region_get_texture'); + late final _spine_texture_region_get_texturePtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_texture_region)>>('spine_texture_region_get_texture'); late final _spine_texture_region_get_texture = - _spine_texture_region_get_texturePtr.asFunction Function(spine_texture_region)>(); + _spine_texture_region_get_texturePtr + .asFunction Function(spine_texture_region)>(); void spine_texture_region_set_texture( spine_texture_region textureRegion, @@ -8026,10 +9615,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_texturePtr = - _lookup)>>('spine_texture_region_set_texture'); + late final _spine_texture_region_set_texturePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Pointer)>>('spine_texture_region_set_texture'); late final _spine_texture_region_set_texture = - _spine_texture_region_set_texturePtr.asFunction)>(); + _spine_texture_region_set_texturePtr.asFunction< + void Function(spine_texture_region, ffi.Pointer)>(); double spine_texture_region_get_u( spine_texture_region textureRegion, @@ -8040,8 +9632,10 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_uPtr = - _lookup>('spine_texture_region_get_u'); - late final _spine_texture_region_get_u = _spine_texture_region_get_uPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_u'); + late final _spine_texture_region_get_u = _spine_texture_region_get_uPtr + .asFunction(); void spine_texture_region_set_u( spine_texture_region textureRegion, @@ -8053,9 +9647,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_uPtr = - _lookup>('spine_texture_region_set_u'); - late final _spine_texture_region_set_u = _spine_texture_region_set_uPtr.asFunction(); + late final _spine_texture_region_set_uPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_texture_region, ffi.Float)>>('spine_texture_region_set_u'); + late final _spine_texture_region_set_u = _spine_texture_region_set_uPtr + .asFunction(); double spine_texture_region_get_v( spine_texture_region textureRegion, @@ -8066,8 +9663,10 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_vPtr = - _lookup>('spine_texture_region_get_v'); - late final _spine_texture_region_get_v = _spine_texture_region_get_vPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_v'); + late final _spine_texture_region_get_v = _spine_texture_region_get_vPtr + .asFunction(); void spine_texture_region_set_v( spine_texture_region textureRegion, @@ -8079,9 +9678,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_vPtr = - _lookup>('spine_texture_region_set_v'); - late final _spine_texture_region_set_v = _spine_texture_region_set_vPtr.asFunction(); + late final _spine_texture_region_set_vPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_texture_region, ffi.Float)>>('spine_texture_region_set_v'); + late final _spine_texture_region_set_v = _spine_texture_region_set_vPtr + .asFunction(); double spine_texture_region_get_u2( spine_texture_region textureRegion, @@ -8092,8 +9694,10 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_u2Ptr = - _lookup>('spine_texture_region_get_u2'); - late final _spine_texture_region_get_u2 = _spine_texture_region_get_u2Ptr.asFunction(); + _lookup>( + 'spine_texture_region_get_u2'); + late final _spine_texture_region_get_u2 = _spine_texture_region_get_u2Ptr + .asFunction(); void spine_texture_region_set_u2( spine_texture_region textureRegion, @@ -8105,9 +9709,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_u2Ptr = - _lookup>('spine_texture_region_set_u2'); - late final _spine_texture_region_set_u2 = _spine_texture_region_set_u2Ptr.asFunction(); + late final _spine_texture_region_set_u2Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_texture_region, ffi.Float)>>('spine_texture_region_set_u2'); + late final _spine_texture_region_set_u2 = _spine_texture_region_set_u2Ptr + .asFunction(); double spine_texture_region_get_v2( spine_texture_region textureRegion, @@ -8118,8 +9725,10 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_v2Ptr = - _lookup>('spine_texture_region_get_v2'); - late final _spine_texture_region_get_v2 = _spine_texture_region_get_v2Ptr.asFunction(); + _lookup>( + 'spine_texture_region_get_v2'); + late final _spine_texture_region_get_v2 = _spine_texture_region_get_v2Ptr + .asFunction(); void spine_texture_region_set_v2( spine_texture_region textureRegion, @@ -8131,9 +9740,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_v2Ptr = - _lookup>('spine_texture_region_set_v2'); - late final _spine_texture_region_set_v2 = _spine_texture_region_set_v2Ptr.asFunction(); + late final _spine_texture_region_set_v2Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + spine_texture_region, ffi.Float)>>('spine_texture_region_set_v2'); + late final _spine_texture_region_set_v2 = _spine_texture_region_set_v2Ptr + .asFunction(); int spine_texture_region_get_degrees( spine_texture_region textureRegion, @@ -8144,8 +9756,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_degreesPtr = - _lookup>('spine_texture_region_get_degrees'); - late final _spine_texture_region_get_degrees = _spine_texture_region_get_degreesPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_degrees'); + late final _spine_texture_region_get_degrees = + _spine_texture_region_get_degreesPtr + .asFunction(); void spine_texture_region_set_degrees( spine_texture_region textureRegion, @@ -8157,10 +9772,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_degreesPtr = - _lookup>('spine_texture_region_set_degrees'); + late final _spine_texture_region_set_degreesPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Int32)>>('spine_texture_region_set_degrees'); late final _spine_texture_region_set_degrees = - _spine_texture_region_set_degreesPtr.asFunction(); + _spine_texture_region_set_degreesPtr + .asFunction(); double spine_texture_region_get_offset_x( spine_texture_region textureRegion, @@ -8171,8 +9789,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_offset_xPtr = - _lookup>('spine_texture_region_get_offset_x'); - late final _spine_texture_region_get_offset_x = _spine_texture_region_get_offset_xPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_offset_x'); + late final _spine_texture_region_get_offset_x = + _spine_texture_region_get_offset_xPtr + .asFunction(); void spine_texture_region_set_offset_x( spine_texture_region textureRegion, @@ -8184,10 +9805,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_offset_xPtr = - _lookup>('spine_texture_region_set_offset_x'); + late final _spine_texture_region_set_offset_xPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Float)>>('spine_texture_region_set_offset_x'); late final _spine_texture_region_set_offset_x = - _spine_texture_region_set_offset_xPtr.asFunction(); + _spine_texture_region_set_offset_xPtr + .asFunction(); double spine_texture_region_get_offset_y( spine_texture_region textureRegion, @@ -8198,8 +9822,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_offset_yPtr = - _lookup>('spine_texture_region_get_offset_y'); - late final _spine_texture_region_get_offset_y = _spine_texture_region_get_offset_yPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_offset_y'); + late final _spine_texture_region_get_offset_y = + _spine_texture_region_get_offset_yPtr + .asFunction(); void spine_texture_region_set_offset_y( spine_texture_region textureRegion, @@ -8211,10 +9838,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_offset_yPtr = - _lookup>('spine_texture_region_set_offset_y'); + late final _spine_texture_region_set_offset_yPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Float)>>('spine_texture_region_set_offset_y'); late final _spine_texture_region_set_offset_y = - _spine_texture_region_set_offset_yPtr.asFunction(); + _spine_texture_region_set_offset_yPtr + .asFunction(); int spine_texture_region_get_width( spine_texture_region textureRegion, @@ -8225,8 +9855,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_widthPtr = - _lookup>('spine_texture_region_get_width'); - late final _spine_texture_region_get_width = _spine_texture_region_get_widthPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_width'); + late final _spine_texture_region_get_width = + _spine_texture_region_get_widthPtr + .asFunction(); void spine_texture_region_set_width( spine_texture_region textureRegion, @@ -8238,9 +9871,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_widthPtr = - _lookup>('spine_texture_region_set_width'); - late final _spine_texture_region_set_width = _spine_texture_region_set_widthPtr.asFunction(); + late final _spine_texture_region_set_widthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Int32)>>('spine_texture_region_set_width'); + late final _spine_texture_region_set_width = + _spine_texture_region_set_widthPtr + .asFunction(); int spine_texture_region_get_height( spine_texture_region textureRegion, @@ -8251,8 +9888,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_heightPtr = - _lookup>('spine_texture_region_get_height'); - late final _spine_texture_region_get_height = _spine_texture_region_get_heightPtr.asFunction(); + _lookup>( + 'spine_texture_region_get_height'); + late final _spine_texture_region_get_height = + _spine_texture_region_get_heightPtr + .asFunction(); void spine_texture_region_set_height( spine_texture_region textureRegion, @@ -8264,9 +9904,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_heightPtr = - _lookup>('spine_texture_region_set_height'); - late final _spine_texture_region_set_height = _spine_texture_region_set_heightPtr.asFunction(); + late final _spine_texture_region_set_heightPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Int32)>>('spine_texture_region_set_height'); + late final _spine_texture_region_set_height = + _spine_texture_region_set_heightPtr + .asFunction(); int spine_texture_region_get_original_width( spine_texture_region textureRegion, @@ -8277,9 +9921,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_original_widthPtr = - _lookup>('spine_texture_region_get_original_width'); + _lookup>( + 'spine_texture_region_get_original_width'); late final _spine_texture_region_get_original_width = - _spine_texture_region_get_original_widthPtr.asFunction(); + _spine_texture_region_get_original_widthPtr + .asFunction(); void spine_texture_region_set_original_width( spine_texture_region textureRegion, @@ -8291,10 +9937,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_original_widthPtr = - _lookup>('spine_texture_region_set_original_width'); + late final _spine_texture_region_set_original_widthPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Int32)>>('spine_texture_region_set_original_width'); late final _spine_texture_region_set_original_width = - _spine_texture_region_set_original_widthPtr.asFunction(); + _spine_texture_region_set_original_widthPtr + .asFunction(); int spine_texture_region_get_original_height( spine_texture_region textureRegion, @@ -8305,9 +9954,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_original_heightPtr = - _lookup>('spine_texture_region_get_original_height'); + _lookup>( + 'spine_texture_region_get_original_height'); late final _spine_texture_region_get_original_height = - _spine_texture_region_get_original_heightPtr.asFunction(); + _spine_texture_region_get_original_heightPtr + .asFunction(); void spine_texture_region_set_original_height( spine_texture_region textureRegion, @@ -8319,10 +9970,13 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_original_heightPtr = - _lookup>('spine_texture_region_set_original_height'); + late final _spine_texture_region_set_original_heightPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_texture_region, + ffi.Int32)>>('spine_texture_region_set_original_height'); late final _spine_texture_region_set_original_height = - _spine_texture_region_set_original_heightPtr.asFunction(); + _spine_texture_region_set_original_heightPtr + .asFunction(); } class spine_skeleton_wrapper extends ffi.Opaque {} @@ -8476,29 +10130,36 @@ typedef spine_bounds = ffi.Pointer; typedef spine_vector = ffi.Pointer; typedef spine_atlas = ffi.Pointer; typedef utf8 = ffi.Char; -typedef spine_skeleton_data_result = ffi.Pointer; +typedef spine_skeleton_data_result + = ffi.Pointer; typedef spine_skeleton_data = ffi.Pointer; typedef spine_bone_data = ffi.Pointer; typedef spine_slot_data = ffi.Pointer; typedef spine_skin = ffi.Pointer; typedef spine_event_data = ffi.Pointer; typedef spine_animation = ffi.Pointer; -typedef spine_ik_constraint_data = ffi.Pointer; -typedef spine_transform_constraint_data = ffi.Pointer; -typedef spine_path_constraint_data = ffi.Pointer; +typedef spine_ik_constraint_data + = ffi.Pointer; +typedef spine_transform_constraint_data + = ffi.Pointer; +typedef spine_path_constraint_data + = ffi.Pointer; typedef spine_skeleton_drawable = ffi.Pointer; typedef spine_render_command = ffi.Pointer; typedef spine_skeleton = ffi.Pointer; typedef spine_animation_state = ffi.Pointer; -typedef spine_animation_state_data = ffi.Pointer; -typedef spine_animation_state_events = ffi.Pointer; +typedef spine_animation_state_data + = ffi.Pointer; +typedef spine_animation_state_events + = ffi.Pointer; typedef spine_track_entry = ffi.Pointer; typedef spine_event = ffi.Pointer; typedef spine_bone = ffi.Pointer; typedef spine_slot = ffi.Pointer; typedef spine_attachment = ffi.Pointer; typedef spine_ik_constraint = ffi.Pointer; -typedef spine_transform_constraint = ffi.Pointer; +typedef spine_transform_constraint + = ffi.Pointer; typedef spine_path_constraint = ffi.Pointer; typedef spine_point_attachment = ffi.Pointer; typedef spine_region_attachment = ffi.Pointer; @@ -8506,8 +10167,10 @@ typedef spine_texture_region = ffi.Pointer; typedef spine_sequence = ffi.Pointer; typedef spine_vertex_attachment = ffi.Pointer; typedef spine_mesh_attachment = ffi.Pointer; -typedef spine_clipping_attachment = ffi.Pointer; -typedef spine_bounding_box_attachment = ffi.Pointer; +typedef spine_clipping_attachment + = ffi.Pointer; +typedef spine_bounding_box_attachment + = ffi.Pointer; typedef spine_path_attachment = ffi.Pointer; typedef spine_skin_entries = ffi.Pointer; typedef spine_skin_entry = ffi.Pointer; diff --git a/spine-flutter/src/spine_flutter.cpp b/spine-flutter/src/spine_flutter.cpp index 05f9f6c72..a970f6437 100644 --- a/spine-flutter/src/spine_flutter.cpp +++ b/spine-flutter/src/spine_flutter.cpp @@ -2115,6 +2115,12 @@ void spine_bone_update_world_transform_with(spine_bone bone, float x, float y, f _bone->updateWorldTransform(x, y, rotation, scaleX, scaleY, shearX, shearY); } +void spine_bone_update_applied_transform(spine_bone bone) { + if (bone == nullptr) return; + Bone *_bone = (Bone *) bone; + _bone->updateAppliedTransform(); +} + void spine_bone_set_to_setup_pose(spine_bone bone) { if (bone == nullptr) return; Bone *_bone = (Bone *) bone; diff --git a/spine-flutter/src/spine_flutter.h b/spine-flutter/src/spine_flutter.h index b0067c758..720fd2acb 100644 --- a/spine-flutter/src/spine_flutter.h +++ b/spine-flutter/src/spine_flutter.h @@ -489,6 +489,7 @@ SPINE_FLUTTER_EXPORT int32_t spine_bone_get_is_y_down(); SPINE_FLUTTER_EXPORT void spine_bone_update(spine_bone bone); SPINE_FLUTTER_EXPORT void spine_bone_update_world_transform(spine_bone bone); SPINE_FLUTTER_EXPORT void spine_bone_update_world_transform_with(spine_bone bone, float x, float y, float rotation, float scaleX, float scaleY, float shearX, float shearY); +SPINE_FLUTTER_EXPORT void spine_bone_update_applied_transform(spine_bone bone); SPINE_FLUTTER_EXPORT void spine_bone_set_to_setup_pose(spine_bone bone); SPINE_FLUTTER_EXPORT spine_vector spine_bone_world_to_local(spine_bone bone, float worldX, float worldY); SPINE_FLUTTER_EXPORT spine_vector spine_bone_local_to_world(spine_bone bone, float localX, float localY);