diff --git a/examples/export/runtimes.sh b/examples/export/runtimes.sh index 2731f8d3c..72885bb39 100755 --- a/examples/export/runtimes.sh +++ b/examples/export/runtimes.sh @@ -95,6 +95,9 @@ cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-flutter/example/assets/" cp -f ../spineboy/export/spineboy-pro.skel "$ROOT/spine-flutter/example/assets/" cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-flutter/example/assets/" cp -f ../spineboy/export/spineboy.png "$ROOT/spine-flutter/example/assets/" +cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-flutter/example/assets/" +cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-flutter/example/assets/" +cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-flutter/example/assets/" echo "spine-godot" rm -f "$ROOT"/spine-godot/example/assets/spineboy/*.atlas diff --git a/spine-flutter/example/assets/mix-and-match-pro.skel b/spine-flutter/example/assets/mix-and-match-pro.skel new file mode 100644 index 000000000..4cca62bce Binary files /dev/null and b/spine-flutter/example/assets/mix-and-match-pro.skel differ diff --git a/spine-flutter/example/assets/mix-and-match.atlas b/spine-flutter/example/assets/mix-and-match.atlas new file mode 100644 index 000000000..3cab05d5e --- /dev/null +++ b/spine-flutter/example/assets/mix-and-match.atlas @@ -0,0 +1,362 @@ +mix-and-match.png + size: 1024, 512 + filter: Linear, Linear + scale: 0.5 +base-head + bounds: 587, 2, 95, 73 +boy/arm-front + bounds: 558, 271, 36, 115 +boy/backpack + bounds: 235, 109, 119, 153 +boy/backpack-pocket + bounds: 328, 73, 34, 62 + rotate: 90 +boy/backpack-strap-front + bounds: 665, 79, 38, 88 +boy/backpack-up + bounds: 395, 364, 21, 70 + rotate: 90 +boy/body + bounds: 251, 264, 97, 132 + rotate: 90 +boy/boot-ribbon-front + bounds: 648, 131, 9, 11 +boy/collar + bounds: 744, 4, 73, 29 + rotate: 90 +boy/ear + bounds: 383, 109, 19, 23 + rotate: 90 +boy/eye-back-low-eyelid + bounds: 739, 284, 17, 6 + rotate: 90 +boy/eye-back-pupil + bounds: 832, 443, 8, 9 + rotate: 90 +boy/eye-back-up-eyelid + bounds: 558, 264, 23, 5 +boy/eye-back-up-eyelid-back + bounds: 802, 491, 19, 10 + rotate: 90 +boy/eye-front-low-eyelid + bounds: 386, 363, 22, 7 + rotate: 90 +boy/eye-front-pupil + bounds: 816, 389, 9, 9 +boy/eye-front-up-eyelid + bounds: 160, 71, 31, 6 + rotate: 90 +boy/eye-front-up-eyelid-back + bounds: 801, 434, 26, 9 + rotate: 90 +boy/eye-iris-back + bounds: 618, 264, 17, 17 +boy/eye-iris-front + bounds: 727, 264, 18, 18 +boy/eye-white-back + bounds: 580, 131, 20, 12 +boy/eye-white-front + bounds: 510, 130, 27, 13 +boy/eyebrow-back + bounds: 751, 88, 20, 11 + rotate: 90 +boy/eyebrow-front + bounds: 483, 130, 25, 11 +boy/hair-back + bounds: 494, 388, 122, 81 + rotate: 90 +boy/hair-bangs + bounds: 667, 284, 70, 37 +boy/hair-side + bounds: 789, 374, 25, 43 +boy/hand-backfingers + bounds: 467, 364, 19, 21 +boy/hand-front-fingers + bounds: 488, 364, 19, 21 +boy/hat + bounds: 615, 417, 93, 56 + rotate: 90 +boy/leg-front + bounds: 138, 104, 31, 158 +boy/mouth-close + bounds: 551, 365, 21, 5 + rotate: 90 +girl-blue-cape/mouth-close + bounds: 551, 365, 21, 5 + rotate: 90 +girl-spring-dress/mouth-close + bounds: 551, 365, 21, 5 + rotate: 90 +girl/mouth-close + bounds: 551, 365, 21, 5 + rotate: 90 +boy/mouth-smile + bounds: 705, 79, 29, 7 +boy/nose + bounds: 836, 473, 17, 10 + rotate: 90 +boy/pompom + bounds: 747, 273, 48, 43 + rotate: 90 +boy/zip + bounds: 648, 144, 14, 23 +girl-blue-cape/back-eyebrow + bounds: 602, 131, 18, 12 +girl-blue-cape/body-dress + bounds: 2, 264, 109, 246 +girl-blue-cape/body-ribbon + bounds: 615, 283, 50, 38 +girl-blue-cape/cape-back + bounds: 2, 69, 134, 193 +girl-blue-cape/cape-back-up + bounds: 386, 387, 123, 106 + rotate: 90 +girl-blue-cape/cape-ribbon + bounds: 675, 264, 50, 18 +girl-blue-cape/cape-shoulder-back + bounds: 751, 110, 49, 59 +girl-blue-cape/cape-shoulder-front + bounds: 113, 264, 62, 76 + rotate: 90 +girl-blue-cape/cape-up-front + bounds: 399, 264, 98, 117 + rotate: 90 +girl-blue-cape/ear + bounds: 775, 2, 19, 23 +girl-spring-dress/ear + bounds: 775, 2, 19, 23 +girl/ear + bounds: 775, 2, 19, 23 +girl-blue-cape/eye-back-low-eyelid + bounds: 802, 463, 17, 6 +girl-spring-dress/eye-back-low-eyelid + bounds: 802, 463, 17, 6 +girl/eye-back-low-eyelid + bounds: 802, 463, 17, 6 +girl-blue-cape/eye-back-pupil + bounds: 816, 367, 8, 9 +girl-spring-dress/eye-back-pupil + bounds: 816, 367, 8, 9 +girl/eye-back-pupil + bounds: 816, 367, 8, 9 +girl-blue-cape/eye-back-up-eyelid + bounds: 554, 131, 24, 12 +girl-spring-dress/eye-back-up-eyelid + bounds: 554, 131, 24, 12 +girl/eye-back-up-eyelid + bounds: 554, 131, 24, 12 +girl-blue-cape/eye-back-up-eyelid-back + bounds: 832, 453, 17, 11 + rotate: 90 +girl-spring-dress/eye-back-up-eyelid-back + bounds: 832, 453, 17, 11 + rotate: 90 +girl/eye-back-up-eyelid-back + bounds: 832, 453, 17, 11 + rotate: 90 +girl-blue-cape/eye-front-low-eyelid + bounds: 739, 303, 18, 6 + rotate: 90 +girl-spring-dress/eye-front-low-eyelid + bounds: 739, 303, 18, 6 + rotate: 90 +girl/eye-front-low-eyelid + bounds: 739, 303, 18, 6 + rotate: 90 +girl-blue-cape/eye-front-pupil + bounds: 816, 378, 9, 9 +girl-spring-dress/eye-front-pupil + bounds: 816, 378, 9, 9 +girl/eye-front-pupil + bounds: 816, 378, 9, 9 +girl-blue-cape/eye-front-up-eyelid + bounds: 392, 77, 30, 14 + rotate: 90 +girl-spring-dress/eye-front-up-eyelid + bounds: 392, 77, 30, 14 + rotate: 90 +girl/eye-front-up-eyelid + bounds: 392, 77, 30, 14 + rotate: 90 +girl-blue-cape/eye-front-up-eyelid-back + bounds: 455, 130, 26, 11 +girl-spring-dress/eye-front-up-eyelid-back + bounds: 455, 130, 26, 11 +girl/eye-front-up-eyelid-back + bounds: 455, 130, 26, 11 +girl-blue-cape/eye-iris-back + bounds: 637, 264, 17, 17 +girl-blue-cape/eye-iris-front + bounds: 802, 471, 18, 18 +girl-blue-cape/eye-white-back + bounds: 596, 264, 20, 16 +girl-spring-dress/eye-white-back + bounds: 596, 264, 20, 16 +girl-blue-cape/eye-white-front + bounds: 796, 5, 20, 16 + rotate: 90 +girl-spring-dress/eye-white-front + bounds: 796, 5, 20, 16 + rotate: 90 +girl/eye-white-front + bounds: 796, 5, 20, 16 + rotate: 90 +girl-blue-cape/front-eyebrow + bounds: 608, 149, 18, 12 + rotate: 90 +girl-blue-cape/hair-back + bounds: 508, 145, 117, 98 + rotate: 90 +girl-blue-cape/hair-bangs + bounds: 673, 419, 91, 40 + rotate: 90 +girl-blue-cape/hair-head-side-back + bounds: 196, 331, 30, 52 + rotate: 90 +girl-blue-cape/hair-head-side-front + bounds: 738, 323, 41, 42 +girl-blue-cape/hair-side + bounds: 473, 3, 36, 71 +girl-blue-cape/hand-front-fingers + bounds: 509, 365, 19, 21 +girl-spring-dress/hand-front-fingers + bounds: 509, 365, 19, 21 +girl-blue-cape/leg-front + bounds: 168, 72, 30, 158 + rotate: 90 +girl-blue-cape/mouth-smile + bounds: 736, 79, 29, 7 +girl-spring-dress/mouth-smile + bounds: 736, 79, 29, 7 +girl/mouth-smile + bounds: 736, 79, 29, 7 +girl-blue-cape/nose + bounds: 747, 264, 11, 7 +girl-spring-dress/nose + bounds: 747, 264, 11, 7 +girl/nose + bounds: 747, 264, 11, 7 +girl-blue-cape/sleeve-back + bounds: 767, 79, 42, 29 +girl-blue-cape/sleeve-front + bounds: 408, 76, 52, 119 + rotate: 90 +girl-spring-dress/arm-front + bounds: 596, 282, 17, 111 +girl-spring-dress/back-eyebrow + bounds: 801, 420, 18, 12 +girl-spring-dress/body-up + bounds: 179, 4, 64, 66 +girl-spring-dress/cloak-down + bounds: 775, 27, 50, 50 +girl-spring-dress/cloak-up + bounds: 360, 7, 64, 58 + rotate: 90 +girl-spring-dress/eye-iris-back + bounds: 656, 264, 17, 17 +girl-spring-dress/eye-iris-front + bounds: 814, 492, 18, 18 +girl-spring-dress/front-eyebrow + bounds: 822, 472, 18, 12 + rotate: 90 +girl-spring-dress/hair-back + bounds: 196, 363, 147, 93 + rotate: 90 +girl-spring-dress/hair-bangs + bounds: 696, 326, 91, 40 + rotate: 90 +girl-spring-dress/hair-head-side-back + bounds: 529, 76, 30, 52 +girl-spring-dress/hair-head-side-front + bounds: 781, 323, 41, 42 +girl-spring-dress/hair-side + bounds: 511, 3, 36, 71 +girl-spring-dress/leg-front + bounds: 171, 104, 30, 158 +girl-spring-dress/neck + bounds: 138, 70, 20, 32 +girl-spring-dress/shoulder-ribbon + bounds: 622, 131, 36, 24 + rotate: 90 +girl-spring-dress/skirt + bounds: 113, 328, 182, 81 + rotate: 90 +girl-spring-dress/underskirt + bounds: 2, 2, 175, 65 +girl/arm-front + bounds: 577, 395, 36, 115 +girl/back-eyebrow + bounds: 834, 492, 18, 12 + rotate: 90 +girl/bag-base + bounds: 191, 264, 62, 58 + rotate: 90 +girl/bag-strap-front + bounds: 385, 265, 12, 96 +girl/bag-top + bounds: 738, 367, 49, 50 +girl/body + bounds: 356, 130, 97, 132 +girl/boot-ribbon-front + bounds: 539, 130, 13, 13 +girl/eye-iris-back + bounds: 821, 424, 17, 17 +girl/eye-iris-front + bounds: 812, 443, 18, 18 +girl/eye-white-back + bounds: 814, 5, 20, 16 + rotate: 90 +girl/front-eyebrow + bounds: 816, 400, 18, 12 + rotate: 90 +girl/hair-back + bounds: 291, 363, 147, 93 + rotate: 90 +girl/hair-bangs + bounds: 715, 419, 91, 40 + rotate: 90 +girl/hair-flap-down-front + bounds: 288, 5, 70, 65 +girl/hair-head-side-back + bounds: 561, 77, 30, 52 +girl/hair-head-side-front + bounds: 757, 419, 41, 42 + rotate: 90 +girl/hair-patch + bounds: 245, 4, 66, 41 + rotate: 90 +girl/hair-side + bounds: 549, 3, 36, 71 +girl/hair-strand-back-1 + bounds: 684, 3, 58, 74 +girl/hair-strand-back-2 + bounds: 692, 171, 91, 58 + rotate: 90 +girl/hair-strand-back-3 + bounds: 615, 323, 92, 79 + rotate: 90 +girl/hair-strand-front-1 + bounds: 518, 269, 38, 94 +girl/hair-strand-front-2 + bounds: 593, 79, 70, 50 +girl/hair-strand-front-3 + bounds: 705, 88, 44, 81 +girl/hand-front-fingers + bounds: 530, 365, 19, 21 +girl/hat + bounds: 608, 169, 93, 82 + rotate: 90 +girl/leg-front + bounds: 203, 104, 30, 158 +girl/pompom + bounds: 757, 462, 48, 43 + rotate: 90 +girl/scarf + bounds: 455, 143, 119, 51 + rotate: 90 +girl/scarf-back + bounds: 420, 2, 72, 51 + rotate: 90 +girl/zip + bounds: 356, 109, 19, 25 + rotate: 90 diff --git a/spine-flutter/example/assets/mix-and-match.png b/spine-flutter/example/assets/mix-and-match.png new file mode 100644 index 000000000..441cd2a81 Binary files /dev/null and b/spine-flutter/example/assets/mix-and-match.png differ diff --git a/spine-flutter/example/assets/skeleton.atlas b/spine-flutter/example/assets/skeleton.atlas deleted file mode 100644 index 24c816d99..000000000 --- a/spine-flutter/example/assets/skeleton.atlas +++ /dev/null @@ -1,6 +0,0 @@ -skeleton.png -size:188,198 -filter:Linear,Linear -pma:true -Screenshot 2022-08-19 at 13.45.53 -bounds:2,2,184,194 diff --git a/spine-flutter/example/assets/skeleton.json b/spine-flutter/example/assets/skeleton.json deleted file mode 100644 index d526e9ced..000000000 --- a/spine-flutter/example/assets/skeleton.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "skeleton": { - "hash": "EzIWQLMq9sw", - "spine": "4.1.08", - "x": -92, - "y": -97, - "width": 184, - "height": 194, - "images": "", - "audio": "" - }, - "bones": [ - { - "name": "root" - } - ], - "slots": [ - { - "name": "image", - "bone": "root", - "attachment": "Screenshot 2022-08-19 at 13.45.53" - } - ], - "skins": [ - { - "name": "default", - "attachments": { - "image": { - "Screenshot 2022-08-19 at 13.45.53": { - "width": 184, - "height": 194 - } - } - } - } - ], - "animations": { - "animation": {} - } -} \ No newline at end of file diff --git a/spine-flutter/example/assets/skeleton.png b/spine-flutter/example/assets/skeleton.png deleted file mode 100644 index abf133379..000000000 Binary files a/spine-flutter/example/assets/skeleton.png and /dev/null differ diff --git a/spine-flutter/example/lib/main.dart b/spine-flutter/example/lib/main.dart index 2c1b36555..ab41f4d0e 100644 --- a/spine-flutter/example/lib/main.dart +++ b/spine-flutter/example/lib/main.dart @@ -23,6 +23,18 @@ class ExampleSelector extends StatelessWidget { }, ), spacer, + ElevatedButton( + child: const Text('Pause/Play animation'), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => const PlayPauseAnimation(), + ), + ); + }, + ), + spacer, ElevatedButton( child: const Text('Animation State Listener'), onPressed: () { @@ -50,15 +62,53 @@ class SimpleAnimation extends StatelessWidget { reportLeaks(); final controller = SpineWidgetController((controller) { // Set the walk animation on track 0, let it loop - controller.animationState?.setAnimationByName(0, "animation", true); + controller.animationState?.setAnimationByName(0, "walk", true); }); return Scaffold( appBar: AppBar(title: const Text('Spineboy')), - body: SpineWidget.asset("assets/skeleton.json", "assets/skeleton.atlas", controller, alignment: Alignment.topLeft, fit: BoxFit.cover), - // body: SpineWidget.asset("assets/spineboy-pro.skel", "assets/spineboy.atlas", controller, alignment: Alignment.bottomLeft) + body: SpineWidget.asset("assets/spineboy-pro.skel", "assets/spineboy.atlas", controller), // body: SpineWidget.file("/Users/badlogic/workspaces/spine-runtimes/examples/spineboy/export/spineboy-pro.skel", "/Users/badlogic/workspaces/spine-runtimes/examples/spineboy/export/spineboy.atlas", controller), // body: const SpineWidget.http("https://marioslab.io/dump/spineboy/spineboy-pro.json", "https://marioslab.io/dump/spineboy/spineboy.atlas"), + // body: SpineWidget.asset("assets/skeleton.json", "assets/skeleton.atlas", controller, alignment: Alignment.topLeft, fit: BoxFit.cover), + ); + } +} + +class PlayPauseAnimation extends StatefulWidget { + const PlayPauseAnimation({Key? key}) : super(key: key); + + @override + PlayPauseAnimationState createState() => PlayPauseAnimationState(); +} + +class PlayPauseAnimationState extends State { + late SpineWidgetController _controller; + + @override + void initState() { + super.initState(); + _controller = SpineWidgetController((controller) { + controller.animationState?.setAnimationByName(0, "walk", true); + }); + } + + void _togglePlaystate() { + _controller.togglePlay(); + setState(() {}); + } + + @override + Widget build(BuildContext context) { + reportLeaks(); + + return Scaffold( + appBar: AppBar(title: const Text('Spineboy')), + body: SpineWidget.asset("assets/spineboy-pro.skel", "assets/spineboy.atlas", _controller), + floatingActionButton: FloatingActionButton( + onPressed: _togglePlaystate, + child: Icon(_controller.isPlaying ? Icons.pause : Icons.play_arrow), + ), ); } } diff --git a/spine-flutter/lib/spine_flutter.dart b/spine-flutter/lib/spine_flutter.dart index f0a5be70a..9acc4528c 100644 --- a/spine-flutter/lib/spine_flutter.dart +++ b/spine-flutter/lib/spine_flutter.dart @@ -3097,6 +3097,10 @@ class AnimationState { return TrackEntry._(entry, this); } + int getNumTracks() { + return _bindings.spine_animation_state_get_num_tracks(_state); + } + /// Sets an empty animation for every track, discarding any queued animations, and mixes to it over the specified mix duration. void setEmptyAnimations(double mixDuration) { _bindings.spine_animation_state_set_empty_animations(_state, mixDuration); diff --git a/spine-flutter/lib/spine_flutter_bindings_generated.dart b/spine-flutter/lib/spine_flutter_bindings_generated.dart index 7b65929e0..23a7a0a24 100644 --- a/spine-flutter/lib/spine_flutter_bindings_generated.dart +++ b/spine-flutter/lib/spine_flutter_bindings_generated.dart @@ -13,35 +13,45 @@ import 'dart:ffi' 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) + 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_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(); ffi.Pointer spine_atlas_load( ffi.Pointer atlasData, @@ -51,10 +61,12 @@ class SpineFlutterBindings { ); } - late final _spine_atlas_loadPtr = - _lookup Function(ffi.Pointer)>>('spine_atlas_load'); - late final _spine_atlas_load = - _spine_atlas_loadPtr.asFunction Function(ffi.Pointer)>(); + late final _spine_atlas_loadPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>('spine_atlas_load'); + late final _spine_atlas_load = _spine_atlas_loadPtr + .asFunction Function(ffi.Pointer)>(); void spine_atlas_dispose( ffi.Pointer atlas, @@ -65,8 +77,10 @@ class SpineFlutterBindings { } late final _spine_atlas_disposePtr = - _lookup)>>('spine_atlas_dispose'); - late final _spine_atlas_dispose = _spine_atlas_disposePtr.asFunction)>(); + _lookup)>>( + 'spine_atlas_dispose'); + late final _spine_atlas_dispose = _spine_atlas_disposePtr + .asFunction)>(); spine_skeleton_data_result spine_skeleton_data_load_json( ffi.Pointer atlas, @@ -78,11 +92,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_load_jsonPtr = - _lookup, ffi.Pointer)>>( - 'spine_skeleton_data_load_json'); - late final _spine_skeleton_data_load_json = _spine_skeleton_data_load_jsonPtr - .asFunction, ffi.Pointer)>(); + late final _spine_skeleton_data_load_jsonPtr = _lookup< + ffi.NativeFunction< + spine_skeleton_data_result Function(ffi.Pointer, + ffi.Pointer)>>('spine_skeleton_data_load_json'); + late final _spine_skeleton_data_load_json = + _spine_skeleton_data_load_jsonPtr.asFunction< + spine_skeleton_data_result Function( + ffi.Pointer, ffi.Pointer)>(); spine_skeleton_data_result spine_skeleton_data_load_binary( ffi.Pointer atlas, @@ -99,9 +116,13 @@ class SpineFlutterBindings { late final _spine_skeleton_data_load_binaryPtr = _lookup< ffi.NativeFunction< spine_skeleton_data_result Function( - ffi.Pointer, ffi.Pointer, ffi.Int)>>('spine_skeleton_data_load_binary'); - late final _spine_skeleton_data_load_binary = _spine_skeleton_data_load_binaryPtr - .asFunction, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int)>>('spine_skeleton_data_load_binary'); + late final _spine_skeleton_data_load_binary = + _spine_skeleton_data_load_binaryPtr.asFunction< + spine_skeleton_data_result Function( + ffi.Pointer, ffi.Pointer, int)>(); spine_bone_data spine_skeleton_data_find_bone( spine_skeleton_data data, @@ -113,11 +134,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_bonePtr = - _lookup)>>( - 'spine_skeleton_data_find_bone'); - late final _spine_skeleton_data_find_bone = _spine_skeleton_data_find_bonePtr - .asFunction)>(); + 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_bone_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_slot_data spine_skeleton_data_find_slot( spine_skeleton_data data, @@ -129,11 +153,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_slotPtr = - _lookup)>>( - 'spine_skeleton_data_find_slot'); - late final _spine_skeleton_data_find_slot = _spine_skeleton_data_find_slotPtr - .asFunction)>(); + 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_slot_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_skin spine_skeleton_data_find_skin( spine_skeleton_data data, @@ -145,11 +172,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, @@ -161,11 +190,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_eventPtr = - _lookup)>>( - 'spine_skeleton_data_find_event'); - late final _spine_skeleton_data_find_event = _spine_skeleton_data_find_eventPtr - .asFunction)>(); + 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_event_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_animation spine_skeleton_data_find_animation( spine_skeleton_data data, @@ -177,11 +209,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_animationPtr = - _lookup)>>( - 'spine_skeleton_data_find_animation'); - late final _spine_skeleton_data_find_animation = _spine_skeleton_data_find_animationPtr - .asFunction)>(); + 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_animation Function( + spine_skeleton_data, ffi.Pointer)>(); spine_ik_constraint_data spine_skeleton_data_find_ik_constraint( spine_skeleton_data data, @@ -193,11 +228,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_find_ik_constraintPtr = - _lookup)>>( - 'spine_skeleton_data_find_ik_constraint'); - late final _spine_skeleton_data_find_ik_constraint = _spine_skeleton_data_find_ik_constraintPtr - .asFunction)>(); + 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_ik_constraint_data Function( + spine_skeleton_data, ffi.Pointer)>(); spine_transform_constraint_data spine_skeleton_data_find_transform_constraint( spine_skeleton_data data, @@ -209,11 +248,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, @@ -225,11 +268,15 @@ 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, @@ -239,10 +286,12 @@ 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< + ffi.Pointer 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( @@ -254,9 +303,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_bonesPtr = - _lookup>('spine_skeleton_data_get_num_bones'); + _lookup>( + 'spine_skeleton_data_get_num_bones'); late final _spine_skeleton_data_get_num_bones = - _spine_skeleton_data_get_num_bonesPtr.asFunction(); + _spine_skeleton_data_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_bones( spine_skeleton_data data, @@ -266,11 +317,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, @@ -281,9 +333,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_slotsPtr = - _lookup>('spine_skeleton_data_get_num_slots'); + _lookup>( + 'spine_skeleton_data_get_num_slots'); late final _spine_skeleton_data_get_num_slots = - _spine_skeleton_data_get_num_slotsPtr.asFunction(); + _spine_skeleton_data_get_num_slotsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_slots( spine_skeleton_data data, @@ -293,11 +347,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, @@ -308,9 +363,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_skinsPtr = - _lookup>('spine_skeleton_data_get_num_skins'); + _lookup>( + 'spine_skeleton_data_get_num_skins'); late final _spine_skeleton_data_get_num_skins = - _spine_skeleton_data_get_num_skinsPtr.asFunction(); + _spine_skeleton_data_get_num_skinsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_skins( spine_skeleton_data data, @@ -320,11 +377,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, @@ -335,9 +393,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, @@ -349,11 +409,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, @@ -364,9 +426,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_num_eventsPtr = - _lookup>('spine_skeleton_data_get_num_events'); + _lookup>( + 'spine_skeleton_data_get_num_events'); late final _spine_skeleton_data_get_num_events = - _spine_skeleton_data_get_num_eventsPtr.asFunction(); + _spine_skeleton_data_get_num_eventsPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_events( spine_skeleton_data data, @@ -376,11 +440,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, @@ -391,9 +457,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, @@ -403,11 +471,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, @@ -418,9 +488,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, @@ -430,11 +502,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_constraints = _spine_skeleton_data_get_ik_constraintsPtr - .asFunction Function(spine_skeleton_data)>(); + 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< + ffi.Pointer Function( + spine_skeleton_data)>(); int spine_skeleton_data_get_num_transform_constraints( spine_skeleton_data data, @@ -448,9 +523,11 @@ class SpineFlutterBindings { _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( @@ -458,11 +535,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, @@ -476,9 +557,11 @@ class SpineFlutterBindings { _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( @@ -486,11 +569,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_constraints = _spine_skeleton_data_get_path_constraintsPtr - .asFunction Function(spine_skeleton_data)>(); + 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< + ffi.Pointer Function( + spine_skeleton_data)>(); double spine_skeleton_data_get_x( spine_skeleton_data data, @@ -501,9 +588,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, @@ -515,10 +603,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, @@ -529,9 +619,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, @@ -543,10 +634,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, @@ -557,9 +650,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, @@ -571,10 +665,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, @@ -585,9 +681,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_data_get_heightPtr = - _lookup>('spine_skeleton_data_get_height'); + _lookup>( + 'spine_skeleton_data_get_height'); late final _spine_skeleton_data_get_height = - _spine_skeleton_data_get_heightPtr.asFunction(); + _spine_skeleton_data_get_heightPtr + .asFunction(); void spine_skeleton_data_set_height( spine_skeleton_data data, @@ -599,10 +697,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_data_set_heightPtr = - _lookup>('spine_skeleton_data_set_height'); + 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(); + _spine_skeleton_data_set_heightPtr + .asFunction(); ffi.Pointer spine_skeleton_data_get_version( spine_skeleton_data data, @@ -612,11 +713,13 @@ 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< + ffi.Pointer 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( @@ -627,10 +730,12 @@ 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< + ffi.Pointer 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( @@ -641,11 +746,13 @@ 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< + ffi.Pointer 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( @@ -656,11 +763,13 @@ 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< + ffi.Pointer 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( @@ -672,9 +781,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( @@ -686,9 +796,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(); ffi.Pointer spine_skeleton_drawable_create( spine_skeleton_data skeletonData, @@ -698,11 +809,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_createPtr = - _lookup Function(spine_skeleton_data)>>( - 'spine_skeleton_drawable_create'); - late final _spine_skeleton_drawable_create = _spine_skeleton_drawable_createPtr - .asFunction Function(spine_skeleton_data)>(); + late final _spine_skeleton_drawable_createPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skeleton_data)>>('spine_skeleton_drawable_create'); + late final _spine_skeleton_drawable_create = + _spine_skeleton_drawable_createPtr.asFunction< + ffi.Pointer Function(spine_skeleton_data)>(); ffi.Pointer spine_skeleton_drawable_render( ffi.Pointer drawable, @@ -712,11 +825,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_renderPtr = - _lookup Function(ffi.Pointer)>>( - 'spine_skeleton_drawable_render'); - late final _spine_skeleton_drawable_render = _spine_skeleton_drawable_renderPtr - .asFunction Function(ffi.Pointer)>(); + late final _spine_skeleton_drawable_renderPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer)>>( + 'spine_skeleton_drawable_render'); + late final _spine_skeleton_drawable_render = + _spine_skeleton_drawable_renderPtr.asFunction< + ffi.Pointer Function( + ffi.Pointer)>(); void spine_skeleton_drawable_dispose( ffi.Pointer drawable, @@ -726,11 +843,13 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_drawable_disposePtr = - _lookup)>>( - 'spine_skeleton_drawable_dispose'); + late final _spine_skeleton_drawable_disposePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer)>>( + 'spine_skeleton_drawable_dispose'); late final _spine_skeleton_drawable_dispose = - _spine_skeleton_drawable_disposePtr.asFunction)>(); + _spine_skeleton_drawable_disposePtr + .asFunction)>(); ffi.Pointer spine_animation_get_name( spine_animation animation, @@ -740,10 +859,11 @@ 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)>(); + late final _spine_animation_get_namePtr = _lookup< + ffi.NativeFunction 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() @@ -756,9 +876,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( @@ -769,11 +890,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_data = _spine_animation_state_data_get_skeleton_dataPtr - .asFunction(); + 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_skeleton_data Function(spine_animation_state_data)>(); double spine_animation_state_data_get_default_mix( spine_animation_state_data stateData, @@ -783,11 +906,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, @@ -799,11 +923,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, @@ -821,10 +947,15 @@ class SpineFlutterBindings { late final _spine_animation_state_data_set_mixPtr = _lookup< ffi.NativeFunction< - ffi.Void Function(spine_animation_state_data, spine_animation, spine_animation, + 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(); + 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, @@ -838,11 +969,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_mix = _spine_animation_state_data_get_mixPtr - .asFunction(); + 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< + double Function( + spine_animation_state_data, spine_animation, spine_animation)>(); void spine_animation_state_data_set_mix_by_name( spine_animation_state_data stateData, @@ -860,10 +994,15 @@ class SpineFlutterBindings { 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.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, ffi.Pointer, double)>(); + 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, @@ -878,11 +1017,14 @@ class SpineFlutterBindings { } 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, ffi.Pointer)>(); + 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, @@ -892,10 +1034,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, @@ -907,10 +1051,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, @@ -922,11 +1068,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, @@ -937,9 +1084,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, @@ -951,11 +1100,28 @@ 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.Int)>>('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, + ) { + return _spine_animation_state_get_num_tracks( + state, + ); + } + + late final _spine_animation_state_get_num_tracksPtr = + _lookup>( + 'spine_animation_state_get_num_tracks'); + late final _spine_animation_state_get_num_tracks = + _spine_animation_state_get_num_tracksPtr + .asFunction(); spine_track_entry spine_animation_state_set_animation_by_name( spine_animation_state state, @@ -973,10 +1139,15 @@ class SpineFlutterBindings { late final _spine_animation_state_set_animation_by_namePtr = _lookup< ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int, ffi.Pointer, + spine_track_entry Function( + spine_animation_state, + ffi.Int, + ffi.Pointer, ffi.Int)>>('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_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, @@ -992,11 +1163,17 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_set_animationPtr = - _lookup>( - 'spine_animation_state_set_animation'); - late final _spine_animation_state_set_animation = _spine_animation_state_set_animationPtr - .asFunction(); + late final _spine_animation_state_set_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function( + spine_animation_state, + ffi.Int, + spine_animation, + ffi.Int)>>('spine_animation_state_set_animation'); + late final _spine_animation_state_set_animation = + _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, @@ -1016,10 +1193,16 @@ class SpineFlutterBindings { late final _spine_animation_state_add_animation_by_namePtr = _lookup< ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int, ffi.Pointer, ffi.Int, + spine_track_entry Function( + spine_animation_state, + ffi.Int, + ffi.Pointer, + ffi.Int, 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_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, @@ -1039,10 +1222,16 @@ class SpineFlutterBindings { late final _spine_animation_state_add_animationPtr = _lookup< ffi.NativeFunction< - spine_track_entry Function(spine_animation_state, ffi.Int, spine_animation, ffi.Int, + spine_track_entry Function( + spine_animation_state, + ffi.Int, + spine_animation, + ffi.Int, ffi.Float)>>('spine_animation_state_add_animation'); - late final _spine_animation_state_add_animation = _spine_animation_state_add_animationPtr - .asFunction(); + 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, @@ -1056,11 +1245,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_animation = _spine_animation_state_set_empty_animationPtr - .asFunction(); + late final _spine_animation_state_set_empty_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, ffi.Int, + ffi.Float)>>('spine_animation_state_set_empty_animation'); + late final _spine_animation_state_set_empty_animation = + _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, @@ -1076,11 +1267,14 @@ class SpineFlutterBindings { ); } - late final _spine_animation_state_add_empty_animationPtr = - _lookup>( - 'spine_animation_state_add_empty_animation'); - late final _spine_animation_state_add_empty_animation = _spine_animation_state_add_empty_animationPtr - .asFunction(); + late final _spine_animation_state_add_empty_animationPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state, ffi.Int, 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_track_entry Function( + spine_animation_state, int, double, double)>(); void spine_animation_state_set_empty_animations( spine_animation_state state, @@ -1092,11 +1286,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, @@ -1108,11 +1304,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.Int)>>('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, @@ -1122,11 +1320,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, @@ -1137,9 +1337,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, @@ -1151,11 +1353,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() @@ -1173,11 +1377,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_entry = _spine_animation_state_dispose_track_entryPtr - .asFunction(); + 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< + void Function(spine_animation_state, spine_track_entry)>(); int spine_animation_state_events_get_num_events( spine_animation_state_events events, @@ -1187,11 +1393,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, @@ -1203,11 +1410,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.Int)>>('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, @@ -1219,11 +1428,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_entry = _spine_animation_state_events_get_track_entryPtr - .asFunction(); + late final _spine_animation_state_events_get_track_entryPtr = _lookup< + ffi.NativeFunction< + spine_track_entry Function(spine_animation_state_events, + ffi.Int)>>('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_track_entry Function(spine_animation_state_events, int)>(); spine_event spine_animation_state_events_get_event( spine_animation_state_events events, @@ -1235,11 +1446,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.Int)>>('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, @@ -1249,11 +1462,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, @@ -1264,9 +1478,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_indexPtr = - _lookup>('spine_track_entry_get_track_index'); + _lookup>( + 'spine_track_entry_get_track_index'); late final _spine_track_entry_get_track_index = - _spine_track_entry_get_track_indexPtr.asFunction(); + _spine_track_entry_get_track_indexPtr + .asFunction(); spine_animation spine_track_entry_get_animation( spine_track_entry entry, @@ -1277,9 +1493,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, @@ -1289,10 +1507,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, @@ -1303,8 +1523,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, @@ -1316,10 +1538,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, @@ -1330,9 +1553,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_hold_previousPtr = - _lookup>('spine_track_entry_get_hold_previous'); + _lookup>( + 'spine_track_entry_get_hold_previous'); late final _spine_track_entry_get_hold_previous = - _spine_track_entry_get_hold_previousPtr.asFunction(); + _spine_track_entry_get_hold_previousPtr + .asFunction(); void spine_track_entry_set_hold_previous( spine_track_entry entry, @@ -1344,10 +1569,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, @@ -1358,9 +1585,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, @@ -1372,10 +1600,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, @@ -1386,9 +1615,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, @@ -1400,11 +1631,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, @@ -1415,9 +1647,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, @@ -1429,10 +1662,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, @@ -1443,9 +1677,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_timePtr = - _lookup>('spine_track_entry_get_track_time'); + _lookup>( + 'spine_track_entry_get_track_time'); late final _spine_track_entry_get_track_time = - _spine_track_entry_get_track_timePtr.asFunction(); + _spine_track_entry_get_track_timePtr + .asFunction(); void spine_track_entry_set_track_time( spine_track_entry entry, @@ -1457,10 +1693,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, @@ -1471,9 +1709,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_track_endPtr = - _lookup>('spine_track_entry_get_track_end'); + _lookup>( + 'spine_track_entry_get_track_end'); late final _spine_track_entry_get_track_end = - _spine_track_entry_get_track_endPtr.asFunction(); + _spine_track_entry_get_track_endPtr + .asFunction(); void spine_track_entry_set_track_end( spine_track_entry entry, @@ -1485,10 +1725,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_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(); + _spine_track_entry_set_track_endPtr + .asFunction(); double spine_track_entry_get_animation_start( spine_track_entry entry, @@ -1499,9 +1741,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, @@ -1513,11 +1757,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, @@ -1528,9 +1773,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, @@ -1542,11 +1789,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, @@ -1557,9 +1805,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, @@ -1571,11 +1821,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, @@ -1586,9 +1837,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, @@ -1599,9 +1852,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_time_scalePtr = - _lookup>('spine_track_entry_get_time_scale'); + _lookup>( + 'spine_track_entry_get_time_scale'); late final _spine_track_entry_get_time_scale = - _spine_track_entry_get_time_scalePtr.asFunction(); + _spine_track_entry_get_time_scalePtr + .asFunction(); void spine_track_entry_set_time_scale( spine_track_entry entry, @@ -1613,10 +1868,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, @@ -1627,9 +1884,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, @@ -1641,10 +1899,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, @@ -1655,9 +1914,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, @@ -1669,11 +1930,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, @@ -1684,9 +1946,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, @@ -1698,11 +1962,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, @@ -1713,9 +1978,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, @@ -1727,11 +1994,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, @@ -1741,10 +2009,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, @@ -1755,9 +2024,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, @@ -1768,9 +2038,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_timePtr = - _lookup>('spine_track_entry_get_mix_time'); + _lookup>( + 'spine_track_entry_get_mix_time'); late final _spine_track_entry_get_mix_time = - _spine_track_entry_get_mix_timePtr.asFunction(); + _spine_track_entry_get_mix_timePtr + .asFunction(); void spine_track_entry_set_mix_time( spine_track_entry entry, @@ -1782,10 +2054,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_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(); + _spine_track_entry_set_mix_timePtr + .asFunction(); double spine_track_entry_get_mix_duration( spine_track_entry entry, @@ -1796,9 +2070,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_durationPtr = - _lookup>('spine_track_entry_get_mix_duration'); + _lookup>( + 'spine_track_entry_get_mix_duration'); late final _spine_track_entry_get_mix_duration = - _spine_track_entry_get_mix_durationPtr.asFunction(); + _spine_track_entry_get_mix_durationPtr + .asFunction(); void spine_track_entry_set_mix_duration( spine_track_entry entry, @@ -1810,11 +2086,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, @@ -1825,9 +2102,11 @@ class SpineFlutterBindings { } late final _spine_track_entry_get_mix_blendPtr = - _lookup>('spine_track_entry_get_mix_blend'); + _lookup>( + 'spine_track_entry_get_mix_blend'); late final _spine_track_entry_get_mix_blend = - _spine_track_entry_get_mix_blendPtr.asFunction(); + _spine_track_entry_get_mix_blendPtr + .asFunction(); void spine_track_entry_set_mix_blend( spine_track_entry entry, @@ -1839,10 +2118,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_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_set_mix_blendPtr + .asFunction(); spine_track_entry spine_track_entry_get_mixing_from( spine_track_entry entry, @@ -1852,10 +2133,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, @@ -1865,10 +2148,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, @@ -1879,9 +2164,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, @@ -1892,9 +2179,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() @@ -1907,8 +2196,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( @@ -1920,9 +2211,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_update_world_transformPtr = - _lookup>('spine_skeleton_update_world_transform'); + _lookup>( + 'spine_skeleton_update_world_transform'); late final _spine_skeleton_update_world_transform = - _spine_skeleton_update_world_transformPtr.asFunction(); + _spine_skeleton_update_world_transformPtr + .asFunction(); void spine_skeleton_update_world_transform_bone( spine_skeleton skeleton, @@ -1934,11 +2227,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, @@ -1949,9 +2243,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_to_setup_posePtr = - _lookup>('spine_skeleton_set_to_setup_pose'); + _lookup>( + 'spine_skeleton_set_to_setup_pose'); late final _spine_skeleton_set_to_setup_pose = - _spine_skeleton_set_to_setup_posePtr.asFunction(); + _spine_skeleton_set_to_setup_posePtr + .asFunction(); void spine_skeleton_set_bones_to_setup_pose( spine_skeleton skeleton, @@ -1962,9 +2258,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, @@ -1975,9 +2273,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, @@ -1989,11 +2289,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, @@ -2005,11 +2306,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, @@ -2021,11 +2323,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, @@ -2037,10 +2341,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, @@ -2055,10 +2360,13 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_attachment_by_namePtr = _lookup< - ffi.NativeFunction, 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)>(); + 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, @@ -2072,11 +2380,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_get_attachmentPtr = - _lookup)>>( - 'spine_skeleton_get_attachment'); - late final _spine_skeleton_get_attachment = _spine_skeleton_get_attachmentPtr - .asFunction)>(); + late final _spine_skeleton_get_attachmentPtr = _lookup< + ffi.NativeFunction< + spine_attachment Function(spine_skeleton, ffi.Int, + ffi.Pointer)>>('spine_skeleton_get_attachment'); + late final _spine_skeleton_get_attachment = + _spine_skeleton_get_attachmentPtr.asFunction< + spine_attachment Function( + spine_skeleton, int, ffi.Pointer)>(); void spine_skeleton_set_attachment( spine_skeleton skeleton, @@ -2090,11 +2401,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_set_attachmentPtr = - _lookup, ffi.Pointer)>>( - 'spine_skeleton_set_attachment'); - late final _spine_skeleton_set_attachment = _spine_skeleton_set_attachmentPtr - .asFunction, ffi.Pointer)>(); + 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< + void Function( + spine_skeleton, ffi.Pointer, ffi.Pointer)>(); spine_ik_constraint spine_skeleton_find_ik_constraint( spine_skeleton skeleton, @@ -2106,11 +2420,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_ik_constraintPtr = - _lookup)>>( - 'spine_skeleton_find_ik_constraint'); - late final _spine_skeleton_find_ik_constraint = _spine_skeleton_find_ik_constraintPtr - .asFunction)>(); + 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_ik_constraint Function( + spine_skeleton, ffi.Pointer)>(); spine_transform_constraint spine_skeleton_find_transform_constraint( spine_skeleton skeleton, @@ -2122,11 +2439,15 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_transform_constraintPtr = - _lookup)>>( - 'spine_skeleton_find_transform_constraint'); - late final _spine_skeleton_find_transform_constraint = _spine_skeleton_find_transform_constraintPtr - .asFunction)>(); + 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_transform_constraint Function( + spine_skeleton, ffi.Pointer)>(); spine_path_constraint spine_skeleton_find_path_constraint( spine_skeleton skeleton, @@ -2138,11 +2459,14 @@ class SpineFlutterBindings { ); } - late final _spine_skeleton_find_path_constraintPtr = - _lookup)>>( - 'spine_skeleton_find_path_constraint'); - late final _spine_skeleton_find_path_constraint = _spine_skeleton_find_path_constraintPtr - .asFunction)>(); + 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_path_constraint Function( + spine_skeleton, ffi.Pointer)>(); spine_bounds spine_skeleton_get_bounds( spine_skeleton skeleton, @@ -2153,9 +2477,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, @@ -2166,9 +2491,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, @@ -2179,9 +2505,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, @@ -2192,9 +2519,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, @@ -2204,10 +2532,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( @@ -2219,9 +2548,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, @@ -2231,10 +2561,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, @@ -2245,9 +2576,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_draw_orderPtr = - _lookup>('spine_skeleton_get_num_draw_order'); + _lookup>( + 'spine_skeleton_get_num_draw_order'); late final _spine_skeleton_get_num_draw_order = - _spine_skeleton_get_num_draw_orderPtr.asFunction(); + _spine_skeleton_get_num_draw_orderPtr + .asFunction(); ffi.Pointer spine_skeleton_get_draw_order( spine_skeleton skeleton, @@ -2257,10 +2590,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, @@ -2271,9 +2605,11 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_num_ik_constraintsPtr = - _lookup>('spine_skeleton_get_num_ik_constraints'); + _lookup>( + 'spine_skeleton_get_num_ik_constraints'); late final _spine_skeleton_get_num_ik_constraints = - _spine_skeleton_get_num_ik_constraintsPtr.asFunction(); + _spine_skeleton_get_num_ik_constraintsPtr + .asFunction(); ffi.Pointer spine_skeleton_get_ik_constraints( spine_skeleton skeleton, @@ -2283,11 +2619,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, @@ -2298,11 +2636,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( @@ -2310,11 +2651,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_constraints = _spine_skeleton_get_transform_constraintsPtr - .asFunction Function(spine_skeleton)>(); + 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< + ffi.Pointer Function(spine_skeleton)>(); int spine_skeleton_get_num_path_constraints( spine_skeleton skeleton, @@ -2325,9 +2668,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, @@ -2337,11 +2682,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, @@ -2352,8 +2699,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_skinPtr = - _lookup>('spine_skeleton_get_skin'); - late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr.asFunction(); + _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, @@ -2364,9 +2713,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_colorPtr = - _lookup>('spine_skeleton_get_color'); - late final _spine_skeleton_get_color = - _spine_skeleton_get_colorPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_color'); + late final _spine_skeleton_get_color = _spine_skeleton_get_colorPtr + .asFunction(); void spine_skeleton_set_color( spine_skeleton skeleton, @@ -2384,11 +2734,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, @@ -2402,11 +2754,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, @@ -2417,8 +2770,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_xPtr = - _lookup>('spine_skeleton_get_x'); - late final _spine_skeleton_get_x = _spine_skeleton_get_xPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_x'); + late final _spine_skeleton_get_x = + _spine_skeleton_get_xPtr.asFunction(); void spine_skeleton_set_x( spine_skeleton skeleton, @@ -2431,8 +2786,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_xPtr = - _lookup>('spine_skeleton_set_x'); - late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr.asFunction(); + _lookup>( + 'spine_skeleton_set_x'); + late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr + .asFunction(); double spine_skeleton_get_y( spine_skeleton skeleton, @@ -2443,8 +2800,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_get_yPtr = - _lookup>('spine_skeleton_get_y'); - late final _spine_skeleton_get_y = _spine_skeleton_get_yPtr.asFunction(); + _lookup>( + 'spine_skeleton_get_y'); + late final _spine_skeleton_get_y = + _spine_skeleton_get_yPtr.asFunction(); void spine_skeleton_set_y( spine_skeleton skeleton, @@ -2457,8 +2816,10 @@ class SpineFlutterBindings { } late final _spine_skeleton_set_yPtr = - _lookup>('spine_skeleton_set_y'); - late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr.asFunction(); + _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, @@ -2469,8 +2830,10 @@ 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(); + _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, @@ -2483,9 +2846,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, @@ -2496,8 +2860,10 @@ 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(); + _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, @@ -2510,9 +2876,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, @@ -2522,10 +2889,11 @@ 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)>(); + late final _spine_event_data_get_namePtr = _lookup< + ffi.NativeFunction 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, @@ -2536,9 +2904,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_int_valuePtr = - _lookup>('spine_event_data_get_int_value'); + _lookup>( + 'spine_event_data_get_int_value'); late final _spine_event_data_get_int_value = - _spine_event_data_get_int_valuePtr.asFunction(); + _spine_event_data_get_int_valuePtr + .asFunction(); void spine_event_data_set_int_value( spine_event_data event, @@ -2551,9 +2921,11 @@ class SpineFlutterBindings { } late final _spine_event_data_set_int_valuePtr = - _lookup>('spine_event_data_set_int_value'); + _lookup>( + 'spine_event_data_set_int_value'); late final _spine_event_data_set_int_value = - _spine_event_data_set_int_valuePtr.asFunction(); + _spine_event_data_set_int_valuePtr + .asFunction(); double spine_event_data_get_float_value( spine_event_data event, @@ -2564,9 +2936,11 @@ class SpineFlutterBindings { } late final _spine_event_data_get_float_valuePtr = - _lookup>('spine_event_data_get_float_value'); + _lookup>( + 'spine_event_data_get_float_value'); late final _spine_event_data_get_float_value = - _spine_event_data_get_float_valuePtr.asFunction(); + _spine_event_data_get_float_valuePtr + .asFunction(); void spine_event_data_set_float_value( spine_event_data event, @@ -2578,10 +2952,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_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(); + _spine_event_data_set_float_valuePtr + .asFunction(); ffi.Pointer spine_event_data_get_string_value( spine_event_data event, @@ -2591,11 +2967,12 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_get_string_valuePtr = - _lookup Function(spine_event_data)>>( - 'spine_event_data_get_string_value'); + late final _spine_event_data_get_string_valuePtr = _lookup< + ffi.NativeFunction 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, @@ -2607,11 +2984,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, @@ -2621,10 +3000,12 @@ class SpineFlutterBindings { ); } - late final _spine_event_data_get_audio_pathPtr = - _lookup Function(spine_event_data)>>('spine_event_data_get_audio_path'); + late final _spine_event_data_get_audio_pathPtr = _lookup< + ffi.NativeFunction 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( @@ -2636,9 +3017,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, @@ -2650,10 +3032,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, @@ -2664,9 +3047,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, @@ -2678,10 +3062,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, @@ -2692,8 +3077,10 @@ class SpineFlutterBindings { } late final _spine_event_get_dataPtr = - _lookup>('spine_event_get_data'); - late final _spine_event_get_data = _spine_event_get_dataPtr.asFunction(); + _lookup>( + 'spine_event_get_data'); + late final _spine_event_get_data = _spine_event_get_dataPtr + .asFunction(); double spine_event_get_time( spine_event event, @@ -2704,8 +3091,10 @@ class SpineFlutterBindings { } late final _spine_event_get_timePtr = - _lookup>('spine_event_get_time'); - late final _spine_event_get_time = _spine_event_get_timePtr.asFunction(); + _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, @@ -2716,8 +3105,10 @@ 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(); + _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, @@ -2730,8 +3121,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, @@ -2742,8 +3135,10 @@ 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(); + _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, @@ -2756,9 +3151,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, @@ -2769,9 +3165,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, @@ -2783,11 +3180,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, @@ -2798,8 +3196,10 @@ class SpineFlutterBindings { } late final _spine_event_get_volumePtr = - _lookup>('spine_event_get_volume'); - late final _spine_event_get_volume = _spine_event_get_volumePtr.asFunction(); + _lookup>( + 'spine_event_get_volume'); + late final _spine_event_get_volume = + _spine_event_get_volumePtr.asFunction(); void spine_event_set_volume( spine_event event, @@ -2812,8 +3212,10 @@ class SpineFlutterBindings { } late final _spine_event_set_volumePtr = - _lookup>('spine_event_set_volume'); - late final _spine_event_set_volume = _spine_event_set_volumePtr.asFunction(); + _lookup>( + 'spine_event_set_volume'); + late final _spine_event_set_volume = _spine_event_set_volumePtr + .asFunction(); double spine_event_get_balance( spine_event event, @@ -2824,8 +3226,10 @@ class SpineFlutterBindings { } late final _spine_event_get_balancePtr = - _lookup>('spine_event_get_balance'); - late final _spine_event_get_balance = _spine_event_get_balancePtr.asFunction(); + _lookup>( + 'spine_event_get_balance'); + late final _spine_event_get_balance = + _spine_event_get_balancePtr.asFunction(); void spine_event_set_balance( spine_event event, @@ -2838,8 +3242,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, @@ -2850,8 +3256,10 @@ 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(); + _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, @@ -2861,10 +3269,11 @@ 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)>(); + late final _spine_slot_data_get_namePtr = _lookup< + ffi.NativeFunction 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, @@ -2875,9 +3284,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, @@ -2888,9 +3298,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, @@ -2908,11 +3319,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, @@ -2923,9 +3336,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_dark_colorPtr = - _lookup>('spine_slot_data_get_dark_color'); + _lookup>( + 'spine_slot_data_get_dark_color'); late final _spine_slot_data_get_dark_color = - _spine_slot_data_get_dark_colorPtr.asFunction(); + _spine_slot_data_get_dark_colorPtr + .asFunction(); void spine_slot_data_set_dark_color( spine_slot_data slot, @@ -2943,11 +3358,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, @@ -2958,9 +3375,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_has_dark_colorPtr = - _lookup>('spine_slot_data_has_dark_color'); + _lookup>( + 'spine_slot_data_has_dark_color'); late final _spine_slot_data_has_dark_color = - _spine_slot_data_has_dark_colorPtr.asFunction(); + _spine_slot_data_has_dark_colorPtr + .asFunction(); void spine_slot_data_set_has_dark_color( spine_slot_data slot, @@ -2973,9 +3392,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_set_has_dark_colorPtr = - _lookup>('spine_slot_data_set_has_dark_color'); + _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(); + _spine_slot_data_set_has_dark_colorPtr + .asFunction(); ffi.Pointer spine_slot_data_get_attachment_name( spine_slot_data slot, @@ -2985,11 +3406,12 @@ class SpineFlutterBindings { ); } - late final _spine_slot_data_get_attachment_namePtr = - _lookup Function(spine_slot_data)>>( - 'spine_slot_data_get_attachment_name'); + late final _spine_slot_data_get_attachment_namePtr = _lookup< + ffi.NativeFunction 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, @@ -3001,11 +3423,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, @@ -3016,9 +3440,11 @@ class SpineFlutterBindings { } late final _spine_slot_data_get_blend_modePtr = - _lookup>('spine_slot_data_get_blend_mode'); + _lookup>( + 'spine_slot_data_get_blend_mode'); late final _spine_slot_data_get_blend_mode = - _spine_slot_data_get_blend_modePtr.asFunction(); + _spine_slot_data_get_blend_modePtr + .asFunction(); void spine_slot_data_set_blend_mode( spine_slot_data slot, @@ -3030,10 +3456,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_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(); + _spine_slot_data_set_blend_modePtr + .asFunction(); void spine_slot_set_to_setup_pose( spine_slot slot, @@ -3044,8 +3472,10 @@ 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(); + _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, @@ -3056,8 +3486,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_dataPtr = - _lookup>('spine_slot_get_data'); - late final _spine_slot_get_data = _spine_slot_get_dataPtr.asFunction(); + _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, @@ -3068,8 +3500,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_bonePtr = - _lookup>('spine_slot_get_bone'); - late final _spine_slot_get_bone = _spine_slot_get_bonePtr.asFunction(); + _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, @@ -3080,8 +3514,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_skeletonPtr = - _lookup>('spine_slot_get_skeleton'); - late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr.asFunction(); + _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, @@ -3092,8 +3528,10 @@ class SpineFlutterBindings { } late final _spine_slot_get_colorPtr = - _lookup>('spine_slot_get_color'); - late final _spine_slot_get_color = _spine_slot_get_colorPtr.asFunction(); + _lookup>( + 'spine_slot_get_color'); + late final _spine_slot_get_color = + _spine_slot_get_colorPtr.asFunction(); void spine_slot_set_color( spine_slot slot, @@ -3111,11 +3549,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, @@ -3126,8 +3565,10 @@ 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(); + _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, @@ -3145,11 +3586,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, @@ -3160,8 +3602,10 @@ 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(); + _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, @@ -3172,9 +3616,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, @@ -3186,10 +3631,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( @@ -3201,8 +3647,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, @@ -3215,9 +3663,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, @@ -3228,8 +3677,10 @@ 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(); + _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, @@ -3239,10 +3690,11 @@ 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)>(); + late final _spine_bone_data_get_namePtr = _lookup< + ffi.NativeFunction 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, @@ -3253,9 +3705,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, @@ -3266,9 +3719,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, @@ -3280,10 +3734,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, @@ -3294,8 +3749,10 @@ 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(); + _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, @@ -3307,9 +3764,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, @@ -3320,8 +3779,10 @@ 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(); + _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, @@ -3333,9 +3794,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, @@ -3346,9 +3809,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, @@ -3360,10 +3824,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, @@ -3374,9 +3839,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, @@ -3388,10 +3854,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, @@ -3402,9 +3869,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, @@ -3416,10 +3884,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, @@ -3430,9 +3899,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, @@ -3444,10 +3914,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, @@ -3458,9 +3929,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, @@ -3472,10 +3944,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, @@ -3486,9 +3959,11 @@ class SpineFlutterBindings { } late final _spine_bone_data_get_transform_modePtr = - _lookup>('spine_bone_data_get_transform_mode'); + _lookup>( + 'spine_bone_data_get_transform_mode'); late final _spine_bone_data_get_transform_mode = - _spine_bone_data_get_transform_modePtr.asFunction(); + _spine_bone_data_get_transform_modePtr + .asFunction(); void spine_bone_data_set_transform_mode( spine_bone_data data, @@ -3500,10 +3975,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_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(); + _spine_bone_data_set_transform_modePtr + .asFunction(); int spine_bone_data_is_skin_required( spine_bone_data data, @@ -3514,9 +3991,11 @@ class SpineFlutterBindings { } late final _spine_bone_data_is_skin_requiredPtr = - _lookup>('spine_bone_data_is_skin_required'); + _lookup>( + 'spine_bone_data_is_skin_required'); late final _spine_bone_data_is_skin_required = - _spine_bone_data_is_skin_requiredPtr.asFunction(); + _spine_bone_data_is_skin_requiredPtr + .asFunction(); void spine_bone_data_set_is_skin_required( spine_bone_data data, @@ -3529,9 +4008,11 @@ class SpineFlutterBindings { } late final _spine_bone_data_set_is_skin_requiredPtr = - _lookup>('spine_bone_data_set_is_skin_required'); + _lookup>( + '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, @@ -3542,9 +4023,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, @@ -3562,11 +4044,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, @@ -3577,15 +4061,20 @@ 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(); + _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, @@ -3595,8 +4084,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, @@ -3607,9 +4099,11 @@ class SpineFlutterBindings { } late final _spine_bone_update_world_transformPtr = - _lookup>('spine_bone_update_world_transform'); + _lookup>( + 'spine_bone_update_world_transform'); late final _spine_bone_update_world_transform = - _spine_bone_update_world_transformPtr.asFunction(); + _spine_bone_update_world_transformPtr + .asFunction(); void spine_bone_update_world_transform_with( spine_bone bone, @@ -3635,10 +4129,19 @@ class SpineFlutterBindings { late final _spine_bone_update_world_transform_withPtr = _lookup< ffi.NativeFunction< - ffi.Void Function(spine_bone, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, + 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(); + 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_set_to_setup_pose( spine_bone bone, @@ -3649,8 +4152,10 @@ 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(); + _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, @@ -3664,10 +4169,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, @@ -3681,10 +4188,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, @@ -3697,9 +4206,11 @@ class SpineFlutterBindings { } late final _spine_bone_world_to_local_rotationPtr = - _lookup>('spine_bone_world_to_local_rotation'); + _lookup>( + 'spine_bone_world_to_local_rotation'); late final _spine_bone_world_to_local_rotation = - _spine_bone_world_to_local_rotationPtr.asFunction(); + _spine_bone_world_to_local_rotationPtr + .asFunction(); double spine_bone_local_to_world_rotation( spine_bone bone, @@ -3712,9 +4223,11 @@ class SpineFlutterBindings { } late final _spine_bone_local_to_world_rotationPtr = - _lookup>('spine_bone_local_to_world_rotation'); + _lookup>( + 'spine_bone_local_to_world_rotation'); late final _spine_bone_local_to_world_rotation = - _spine_bone_local_to_world_rotationPtr.asFunction(); + _spine_bone_local_to_world_rotationPtr + .asFunction(); void spine_bone_rotate_world( spine_bone bone, @@ -3727,8 +4240,10 @@ class SpineFlutterBindings { } late final _spine_bone_rotate_worldPtr = - _lookup>('spine_bone_rotate_world'); - late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr.asFunction(); + _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, @@ -3739,9 +4254,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, @@ -3752,9 +4269,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, @@ -3765,8 +4284,10 @@ class SpineFlutterBindings { } late final _spine_bone_get_dataPtr = - _lookup>('spine_bone_get_data'); - late final _spine_bone_get_data = _spine_bone_get_dataPtr.asFunction(); + _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, @@ -3777,8 +4298,10 @@ class SpineFlutterBindings { } late final _spine_bone_get_skeletonPtr = - _lookup>('spine_bone_get_skeleton'); - late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr.asFunction(); + _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, @@ -3789,8 +4312,10 @@ class SpineFlutterBindings { } late final _spine_bone_get_parentPtr = - _lookup>('spine_bone_get_parent'); - late final _spine_bone_get_parent = _spine_bone_get_parentPtr.asFunction(); + _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, @@ -3801,8 +4326,10 @@ 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(); + _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, @@ -3813,9 +4340,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, @@ -3825,8 +4353,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, @@ -3839,8 +4370,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_xPtr = - _lookup>('spine_bone_set_x'); - late final _spine_bone_set_x = _spine_bone_set_xPtr.asFunction(); + _lookup>( + 'spine_bone_set_x'); + late final _spine_bone_set_x = + _spine_bone_set_xPtr.asFunction(); double spine_bone_get_y( spine_bone bone, @@ -3850,8 +4383,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, @@ -3864,8 +4400,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_yPtr = - _lookup>('spine_bone_set_y'); - late final _spine_bone_set_y = _spine_bone_set_yPtr.asFunction(); + _lookup>( + 'spine_bone_set_y'); + late final _spine_bone_set_y = + _spine_bone_set_yPtr.asFunction(); double spine_bone_get_rotation( spine_bone bone, @@ -3876,8 +4414,10 @@ class SpineFlutterBindings { } late final _spine_bone_get_rotationPtr = - _lookup>('spine_bone_get_rotation'); - late final _spine_bone_get_rotation = _spine_bone_get_rotationPtr.asFunction(); + _lookup>( + 'spine_bone_get_rotation'); + late final _spine_bone_get_rotation = + _spine_bone_get_rotationPtr.asFunction(); void spine_bone_set_rotation( spine_bone bone, @@ -3890,8 +4430,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_rotationPtr = - _lookup>('spine_bone_set_rotation'); - late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr.asFunction(); + _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, @@ -3902,8 +4444,10 @@ 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(); + _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, @@ -3916,8 +4460,10 @@ 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(); + _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, @@ -3928,8 +4474,10 @@ 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(); + _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, @@ -3942,8 +4490,10 @@ 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(); + _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, @@ -3954,8 +4504,10 @@ 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(); + _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, @@ -3968,8 +4520,10 @@ 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(); + _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, @@ -3980,8 +4534,10 @@ 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(); + _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, @@ -3994,8 +4550,10 @@ 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(); + _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, @@ -4006,9 +4564,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_applied_rotationPtr = - _lookup>('spine_bone_get_applied_rotation'); + _lookup>( + 'spine_bone_get_applied_rotation'); late final _spine_bone_get_applied_rotation = - _spine_bone_get_applied_rotationPtr.asFunction(); + _spine_bone_get_applied_rotationPtr + .asFunction(); void spine_bone_set_applied_rotation( spine_bone bone, @@ -4021,9 +4581,11 @@ class SpineFlutterBindings { } late final _spine_bone_set_applied_rotationPtr = - _lookup>('spine_bone_set_applied_rotation'); + _lookup>( + 'spine_bone_set_applied_rotation'); late final _spine_bone_set_applied_rotation = - _spine_bone_set_applied_rotationPtr.asFunction(); + _spine_bone_set_applied_rotationPtr + .asFunction(); double spine_bone_get_a_x( spine_bone bone, @@ -4033,8 +4595,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, @@ -4047,8 +4612,10 @@ 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(); + _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, @@ -4058,8 +4625,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, @@ -4072,8 +4642,10 @@ 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(); + _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, @@ -4084,8 +4656,10 @@ 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(); + _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, @@ -4098,8 +4672,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, @@ -4110,8 +4686,10 @@ 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(); + _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, @@ -4124,8 +4702,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, @@ -4136,8 +4716,10 @@ 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(); + _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, @@ -4150,8 +4732,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, @@ -4162,8 +4746,10 @@ 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(); + _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, @@ -4176,8 +4762,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, @@ -4187,8 +4775,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, @@ -4201,8 +4792,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_aPtr = - _lookup>('spine_bone_set_a'); - late final _spine_bone_set_a = _spine_bone_set_aPtr.asFunction(); + _lookup>( + 'spine_bone_set_a'); + late final _spine_bone_set_a = + _spine_bone_set_aPtr.asFunction(); double spine_bone_get_b( spine_bone bone, @@ -4212,8 +4805,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, @@ -4226,8 +4822,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_bPtr = - _lookup>('spine_bone_set_b'); - late final _spine_bone_set_b = _spine_bone_set_bPtr.asFunction(); + _lookup>( + 'spine_bone_set_b'); + late final _spine_bone_set_b = + _spine_bone_set_bPtr.asFunction(); double spine_bone_get_c( spine_bone bone, @@ -4237,8 +4835,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, @@ -4251,8 +4852,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_cPtr = - _lookup>('spine_bone_set_c'); - late final _spine_bone_set_c = _spine_bone_set_cPtr.asFunction(); + _lookup>( + 'spine_bone_set_c'); + late final _spine_bone_set_c = + _spine_bone_set_cPtr.asFunction(); double spine_bone_get_d( spine_bone bone, @@ -4262,8 +4865,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, @@ -4276,8 +4882,10 @@ class SpineFlutterBindings { } late final _spine_bone_set_dPtr = - _lookup>('spine_bone_set_d'); - late final _spine_bone_set_d = _spine_bone_set_dPtr.asFunction(); + _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, @@ -4288,8 +4896,10 @@ 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(); + _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, @@ -4302,8 +4912,10 @@ 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(); + _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, @@ -4314,8 +4926,10 @@ 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(); + _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, @@ -4328,8 +4942,10 @@ 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(); + _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, @@ -4340,9 +4956,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_rotation_xPtr = - _lookup>('spine_bone_get_world_rotation_x'); + _lookup>( + 'spine_bone_get_world_rotation_x'); late final _spine_bone_get_world_rotation_x = - _spine_bone_get_world_rotation_xPtr.asFunction(); + _spine_bone_get_world_rotation_xPtr + .asFunction(); double spine_bone_get_world_rotation_y( spine_bone bone, @@ -4353,9 +4971,11 @@ class SpineFlutterBindings { } late final _spine_bone_get_world_rotation_yPtr = - _lookup>('spine_bone_get_world_rotation_y'); + _lookup>( + 'spine_bone_get_world_rotation_y'); late final _spine_bone_get_world_rotation_y = - _spine_bone_get_world_rotation_yPtr.asFunction(); + _spine_bone_get_world_rotation_yPtr + .asFunction(); double spine_bone_get_world_scale_x( spine_bone bone, @@ -4366,8 +4986,10 @@ 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(); + _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, @@ -4378,8 +5000,10 @@ 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(); + _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, @@ -4390,8 +5014,10 @@ 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(); + _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, @@ -4404,8 +5030,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, @@ -4415,10 +5043,11 @@ 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)>(); + late final _spine_attachment_get_namePtr = _lookup< + ffi.NativeFunction 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, @@ -4429,8 +5058,10 @@ class SpineFlutterBindings { } late final _spine_attachment_get_typePtr = - _lookup>('spine_attachment_get_type'); - late final _spine_attachment_get_type = _spine_attachment_get_typePtr.asFunction(); + _lookup>( + 'spine_attachment_get_type'); + late final _spine_attachment_get_type = _spine_attachment_get_typePtr + .asFunction(); spine_attachment spine_attachment_copy( spine_attachment attachment, @@ -4441,9 +5072,10 @@ class SpineFlutterBindings { } late final _spine_attachment_copyPtr = - _lookup>('spine_attachment_copy'); - late final _spine_attachment_copy = - _spine_attachment_copyPtr.asFunction(); + _lookup>( + 'spine_attachment_copy'); + late final _spine_attachment_copy = _spine_attachment_copyPtr + .asFunction(); void spine_attachment_dispose( spine_attachment attachment, @@ -4454,8 +5086,10 @@ class SpineFlutterBindings { } late final _spine_attachment_disposePtr = - _lookup>('spine_attachment_dispose'); - late final _spine_attachment_dispose = _spine_attachment_disposePtr.asFunction(); + _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, @@ -4467,11 +5101,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_position = _spine_point_attachment_compute_world_positionPtr - .asFunction(); + 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_vector Function(spine_point_attachment, spine_bone)>(); double spine_point_attachment_compute_world_rotation( spine_point_attachment attachment, @@ -4483,11 +5119,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_rotation = _spine_point_attachment_compute_world_rotationPtr - .asFunction(); + 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(); double spine_point_attachment_get_x( spine_point_attachment attachment, @@ -4498,9 +5136,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, @@ -4512,10 +5151,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, @@ -4526,9 +5167,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, @@ -4540,10 +5182,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, @@ -4554,9 +5198,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, @@ -4568,11 +5214,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, @@ -4583,9 +5231,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, @@ -4604,10 +5254,13 @@ class SpineFlutterBindings { } late final _spine_point_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_point_attachment_set_color'); - late final _spine_point_attachment_set_color = _spine_point_attachment_set_colorPtr - .asFunction(); + 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< + void Function( + spine_point_attachment, double, double, double, double)>(); void spine_region_attachment_update_region( spine_region_attachment attachment, @@ -4618,9 +5271,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, @@ -4634,11 +5289,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, @@ -4649,9 +5308,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, @@ -4663,11 +5323,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, @@ -4678,9 +5339,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, @@ -4692,11 +5354,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, @@ -4707,9 +5370,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, @@ -4721,11 +5386,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, @@ -4736,9 +5403,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, @@ -4750,11 +5419,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, @@ -4765,9 +5436,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, @@ -4779,11 +5452,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, @@ -4794,9 +5469,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, @@ -4808,11 +5485,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, @@ -4823,9 +5502,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, @@ -4837,11 +5518,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, @@ -4851,10 +5534,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, @@ -4873,10 +5558,13 @@ class SpineFlutterBindings { } late final _spine_region_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_region_attachment_set_color'); - late final _spine_region_attachment_set_color = _spine_region_attachment_set_colorPtr - .asFunction(); + 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< + void Function( + spine_region_attachment, double, double, double, double)>(); ffi.Pointer spine_region_attachment_get_path( spine_region_attachment attachment, @@ -4886,11 +5574,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< + ffi.Pointer Function(spine_region_attachment)>(); /// OMITTED setPath() spine_texture_region spine_region_attachment_get_region( @@ -4901,11 +5591,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( @@ -4916,11 +5608,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( @@ -4932,9 +5625,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, @@ -4944,11 +5639,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, @@ -4959,9 +5656,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, @@ -4971,11 +5670,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, @@ -4989,7 +5690,8 @@ class SpineFlutterBindings { _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, @@ -5003,11 +5705,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( @@ -5019,9 +5725,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, @@ -5031,11 +5739,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, @@ -5049,7 +5759,8 @@ class SpineFlutterBindings { _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, @@ -5059,11 +5770,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, @@ -5073,11 +5786,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_attachment = _spine_vertex_attachment_get_timeline_attachmentPtr - .asFunction(); + 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(); void spine_vertex_attachment_set_timeline_attachment( spine_vertex_attachment attachment, @@ -5089,11 +5804,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_attachment = _spine_vertex_attachment_set_timeline_attachmentPtr - .asFunction(); + 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< + void Function(spine_vertex_attachment, spine_attachment)>(); /// OMITTED copyTo() void spine_mesh_attachment_update_region( @@ -5105,9 +5822,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, @@ -5118,9 +5837,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, @@ -5132,11 +5853,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.Int)>>('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, @@ -5147,9 +5870,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, @@ -5159,11 +5884,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, @@ -5174,9 +5901,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_num_uvsPtr = - _lookup>('spine_mesh_attachment_get_num_uvs'); + _lookup>( + 'spine_mesh_attachment_get_num_uvs'); late final _spine_mesh_attachment_get_num_uvs = - _spine_mesh_attachment_get_num_uvsPtr.asFunction(); + _spine_mesh_attachment_get_num_uvsPtr + .asFunction(); ffi.Pointer spine_mesh_attachment_get_uvs( spine_mesh_attachment attachment, @@ -5186,11 +5915,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, @@ -5201,9 +5931,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, @@ -5213,11 +5945,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, @@ -5228,9 +5962,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, @@ -5248,11 +5984,14 @@ class SpineFlutterBindings { ); } - late final _spine_mesh_attachment_set_colorPtr = - _lookup>( - 'spine_mesh_attachment_set_color'); - late final _spine_mesh_attachment_set_color = _spine_mesh_attachment_set_colorPtr - .asFunction(); + 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< + void Function( + spine_mesh_attachment, double, double, double, double)>(); ffi.Pointer spine_mesh_attachment_get_path( spine_mesh_attachment attachment, @@ -5262,11 +6001,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( @@ -5277,11 +6018,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( @@ -5292,10 +6035,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( @@ -5306,11 +6051,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, @@ -5322,11 +6069,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_mesh = _spine_mesh_attachment_set_parent_meshPtr - .asFunction(); + 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< + void Function(spine_mesh_attachment, spine_mesh_attachment)>(); int spine_mesh_attachment_get_num_edges( spine_mesh_attachment attachment, @@ -5337,9 +6086,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, @@ -5349,11 +6100,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, @@ -5364,9 +6117,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_widthPtr = - _lookup>('spine_mesh_attachment_get_width'); + _lookup>( + 'spine_mesh_attachment_get_width'); late final _spine_mesh_attachment_get_width = - _spine_mesh_attachment_get_widthPtr.asFunction(); + _spine_mesh_attachment_get_widthPtr + .asFunction(); void spine_mesh_attachment_set_width( spine_mesh_attachment attachment, @@ -5378,11 +6133,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, @@ -5393,9 +6150,11 @@ class SpineFlutterBindings { } late final _spine_mesh_attachment_get_heightPtr = - _lookup>('spine_mesh_attachment_get_height'); + _lookup>( + 'spine_mesh_attachment_get_height'); late final _spine_mesh_attachment_get_height = - _spine_mesh_attachment_get_heightPtr.asFunction(); + _spine_mesh_attachment_get_heightPtr + .asFunction(); void spine_mesh_attachment_set_height( spine_mesh_attachment attachment, @@ -5407,11 +6166,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( @@ -5422,11 +6183,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, @@ -5438,11 +6201,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_slot = _spine_clipping_attachment_set_end_slotPtr - .asFunction(); + 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< + void Function(spine_clipping_attachment, spine_slot_data)>(); spine_color spine_clipping_attachment_get_color( spine_clipping_attachment attachment, @@ -5452,11 +6217,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, @@ -5475,10 +6241,13 @@ class SpineFlutterBindings { } late final _spine_clipping_attachment_set_colorPtr = _lookup< - ffi.NativeFunction>( - 'spine_clipping_attachment_set_color'); - late final _spine_clipping_attachment_set_color = _spine_clipping_attachment_set_colorPtr - .asFunction(); + 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< + void Function( + spine_clipping_attachment, double, double, double, double)>(); spine_color spine_bounding_box_attachment_get_color( spine_bounding_box_attachment attachment, @@ -5488,11 +6257,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, @@ -5512,10 +6283,16 @@ class SpineFlutterBindings { 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.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(); + 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, @@ -5526,9 +6303,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, @@ -5538,11 +6317,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, @@ -5553,9 +6334,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, @@ -5567,11 +6350,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.Int)>>('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, @@ -5585,7 +6370,8 @@ class SpineFlutterBindings { _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, @@ -5597,11 +6383,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.Int)>>('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, @@ -5612,9 +6400,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, @@ -5632,11 +6422,14 @@ class SpineFlutterBindings { ); } - late final _spine_path_attachment_set_colorPtr = - _lookup>( - 'spine_path_attachment_set_color'); - late final _spine_path_attachment_set_color = _spine_path_attachment_set_colorPtr - .asFunction(); + 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< + void Function( + spine_path_attachment, double, double, double, double)>(); void spine_skin_set_attachment( spine_skin skin, @@ -5652,11 +6445,14 @@ class SpineFlutterBindings { ); } - late final _spine_skin_set_attachmentPtr = - _lookup, spine_attachment)>>( - 'spine_skin_set_attachment'); - late final _spine_skin_set_attachment = _spine_skin_set_attachmentPtr - .asFunction, spine_attachment)>(); + late final _spine_skin_set_attachmentPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_skin, ffi.Int, ffi.Pointer, + spine_attachment)>>('spine_skin_set_attachment'); + late final _spine_skin_set_attachment = + _spine_skin_set_attachmentPtr.asFunction< + void Function( + spine_skin, int, ffi.Pointer, spine_attachment)>(); spine_attachment spine_skin_get_attachment( spine_skin skin, @@ -5670,11 +6466,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.Int, + 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, @@ -5688,11 +6486,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.Int, + ffi.Pointer)>>('spine_skin_remove_attachment'); + late final _spine_skin_remove_attachment = _spine_skin_remove_attachmentPtr + .asFunction)>(); /// OMITTED findNamesForSlot() /// OMITTED findAttachmentsForSlot() @@ -5705,8 +6504,10 @@ 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)>(); + _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, @@ -5719,8 +6520,10 @@ class SpineFlutterBindings { } late final _spine_skin_add_skinPtr = - _lookup>('spine_skin_add_skin'); - late final _spine_skin_add_skin = _spine_skin_add_skinPtr.asFunction(); + _lookup>( + 'spine_skin_add_skin'); + late final _spine_skin_add_skin = _spine_skin_add_skinPtr + .asFunction(); void spine_skin_copy_skin( spine_skin skin, @@ -5733,8 +6536,10 @@ class SpineFlutterBindings { } late final _spine_skin_copy_skinPtr = - _lookup>('spine_skin_copy_skin'); - late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr.asFunction(); + _lookup>( + 'spine_skin_copy_skin'); + late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr + .asFunction(); ffi.Pointer spine_skin_get_entries( spine_skin skin, @@ -5744,10 +6549,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_get_entriesPtr = - _lookup Function(spine_skin)>>('spine_skin_get_entries'); - late final _spine_skin_get_entries = - _spine_skin_get_entriesPtr.asFunction Function(spine_skin)>(); + late final _spine_skin_get_entriesPtr = _lookup< + ffi.NativeFunction< + ffi.Pointer Function( + spine_skin)>>('spine_skin_get_entries'); + late final _spine_skin_get_entries = _spine_skin_get_entriesPtr + .asFunction Function(spine_skin)>(); void spine_skin_entries_dispose( ffi.Pointer entries, @@ -5757,10 +6564,12 @@ class SpineFlutterBindings { ); } - late final _spine_skin_entries_disposePtr = - _lookup)>>('spine_skin_entries_dispose'); - late final _spine_skin_entries_dispose = - _spine_skin_entries_disposePtr.asFunction)>(); + late final _spine_skin_entries_disposePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer)>>('spine_skin_entries_dispose'); + late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr + .asFunction)>(); int spine_skin_get_num_bones( spine_skin skin, @@ -5771,8 +6580,10 @@ 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(); + _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, @@ -5782,10 +6593,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, @@ -5796,7 +6609,8 @@ class SpineFlutterBindings { } late final _spine_skin_get_num_constraintsPtr = - _lookup>('spine_skin_get_num_constraints'); + _lookup>( + 'spine_skin_get_num_constraints'); late final _spine_skin_get_num_constraints = _spine_skin_get_num_constraintsPtr.asFunction(); @@ -5808,11 +6622,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, @@ -5823,8 +6638,10 @@ class SpineFlutterBindings { } late final _spine_skin_createPtr = - _lookup)>>('spine_skin_create'); - late final _spine_skin_create = _spine_skin_createPtr.asFunction)>(); + _lookup)>>( + 'spine_skin_create'); + late final _spine_skin_create = _spine_skin_createPtr + .asFunction)>(); void spine_skin_dispose( spine_skin skin, @@ -5834,8 +6651,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, @@ -5846,9 +6666,11 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_typePtr = - _lookup>('spine_constraint_data_get_type'); + _lookup>( + 'spine_constraint_data_get_type'); late final _spine_constraint_data_get_type = - _spine_constraint_data_get_typePtr.asFunction(); + _spine_constraint_data_get_typePtr + .asFunction(); ffi.Pointer spine_constraint_data_get_name( spine_constraint_data data, @@ -5858,11 +6680,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, @@ -5873,9 +6697,11 @@ class SpineFlutterBindings { } late final _spine_constraint_data_get_orderPtr = - _lookup>('spine_constraint_data_get_order'); + _lookup>( + 'spine_constraint_data_get_order'); late final _spine_constraint_data_get_order = - _spine_constraint_data_get_orderPtr.asFunction(); + _spine_constraint_data_get_orderPtr + .asFunction(); void spine_constraint_data_set_order( spine_constraint_data data, @@ -5887,11 +6713,13 @@ class SpineFlutterBindings { ); } - late final _spine_constraint_data_set_orderPtr = - _lookup>( - 'spine_constraint_data_set_order'); + 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(); + _spine_constraint_data_set_orderPtr + .asFunction(); int spine_constraint_data_get_is_skin_required( spine_constraint_data data, @@ -5905,7 +6733,8 @@ class SpineFlutterBindings { _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, @@ -5917,11 +6746,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.Int)>>('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, @@ -5932,9 +6763,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, @@ -5944,11 +6777,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_bones = _spine_ik_constraint_data_get_bonesPtr - .asFunction Function(spine_ik_constraint_data)>(); + 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< + ffi.Pointer Function(spine_ik_constraint_data)>(); spine_bone_data spine_ik_constraint_data_get_target( spine_ik_constraint_data data, @@ -5958,11 +6793,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, @@ -5974,11 +6811,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, @@ -5992,7 +6831,8 @@ class SpineFlutterBindings { _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, @@ -6004,11 +6844,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.Int)>>('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, @@ -6019,9 +6861,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, @@ -6033,11 +6877,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.Int)>>('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, @@ -6048,9 +6894,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, @@ -6062,11 +6910,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.Int)>>('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, @@ -6077,9 +6927,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, @@ -6091,11 +6943,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.Int)>>('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, @@ -6106,9 +6960,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, @@ -6120,11 +6976,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, @@ -6138,7 +6996,8 @@ class SpineFlutterBindings { _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, @@ -6150,11 +7009,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, @@ -6165,9 +7026,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, @@ -6178,9 +7040,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, @@ -6190,11 +7053,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, @@ -6205,9 +7069,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_num_bonesPtr = - _lookup>('spine_ik_constraint_get_num_bones'); + _lookup>( + 'spine_ik_constraint_get_num_bones'); late final _spine_ik_constraint_get_num_bones = - _spine_ik_constraint_get_num_bonesPtr.asFunction(); + _spine_ik_constraint_get_num_bonesPtr + .asFunction(); ffi.Pointer spine_ik_constraint_get_bones( spine_ik_constraint constraint, @@ -6217,11 +7083,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, @@ -6232,9 +7099,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_targetPtr = - _lookup>('spine_ik_constraint_get_target'); + _lookup>( + 'spine_ik_constraint_get_target'); late final _spine_ik_constraint_get_target = - _spine_ik_constraint_get_targetPtr.asFunction(); + _spine_ik_constraint_get_targetPtr + .asFunction(); void spine_ik_constraint_set_target( spine_ik_constraint constraint, @@ -6246,10 +7115,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, @@ -6260,9 +7132,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, @@ -6274,11 +7148,12 @@ 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>( + '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, @@ -6289,9 +7164,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_compressPtr = - _lookup>('spine_ik_constraint_get_compress'); + _lookup>( + 'spine_ik_constraint_get_compress'); late final _spine_ik_constraint_get_compress = - _spine_ik_constraint_get_compressPtr.asFunction(); + _spine_ik_constraint_get_compressPtr + .asFunction(); void spine_ik_constraint_set_compress( spine_ik_constraint constraint, @@ -6303,10 +7180,12 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_compressPtr = - _lookup>('spine_ik_constraint_set_compress'); + late final _spine_ik_constraint_set_compressPtr = _lookup< + ffi.NativeFunction>( + 'spine_ik_constraint_set_compress'); late final _spine_ik_constraint_set_compress = - _spine_ik_constraint_set_compressPtr.asFunction(); + _spine_ik_constraint_set_compressPtr + .asFunction(); int spine_ik_constraint_get_stretch( spine_ik_constraint constraint, @@ -6317,9 +7196,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_stretchPtr = - _lookup>('spine_ik_constraint_get_stretch'); + _lookup>( + 'spine_ik_constraint_get_stretch'); late final _spine_ik_constraint_get_stretch = - _spine_ik_constraint_get_stretchPtr.asFunction(); + _spine_ik_constraint_get_stretchPtr + .asFunction(); void spine_ik_constraint_set_stretch( spine_ik_constraint constraint, @@ -6331,10 +7212,12 @@ class SpineFlutterBindings { ); } - late final _spine_ik_constraint_set_stretchPtr = - _lookup>('spine_ik_constraint_set_stretch'); + late final _spine_ik_constraint_set_stretchPtr = _lookup< + ffi.NativeFunction>( + 'spine_ik_constraint_set_stretch'); late final _spine_ik_constraint_set_stretch = - _spine_ik_constraint_set_stretchPtr.asFunction(); + _spine_ik_constraint_set_stretchPtr + .asFunction(); double spine_ik_constraint_get_mix( spine_ik_constraint constraint, @@ -6345,9 +7228,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, @@ -6359,10 +7243,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, @@ -6373,9 +7259,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_softnessPtr = - _lookup>('spine_ik_constraint_get_softness'); + _lookup>( + 'spine_ik_constraint_get_softness'); late final _spine_ik_constraint_get_softness = - _spine_ik_constraint_get_softnessPtr.asFunction(); + _spine_ik_constraint_get_softnessPtr + .asFunction(); void spine_ik_constraint_set_softness( spine_ik_constraint constraint, @@ -6387,11 +7275,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, @@ -6402,9 +7292,11 @@ class SpineFlutterBindings { } late final _spine_ik_constraint_get_is_activePtr = - _lookup>('spine_ik_constraint_get_is_active'); + _lookup>( + 'spine_ik_constraint_get_is_active'); late final _spine_ik_constraint_get_is_active = - _spine_ik_constraint_get_is_activePtr.asFunction(); + _spine_ik_constraint_get_is_activePtr + .asFunction(); void spine_ik_constraint_set_is_active( spine_ik_constraint constraint, @@ -6416,10 +7308,12 @@ 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>( + '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, @@ -6429,11 +7323,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.Int 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, @@ -6443,11 +7339,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_bones = _spine_transform_constraint_data_get_bonesPtr - .asFunction Function(spine_transform_constraint_data)>(); + 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< + ffi.Pointer Function( + spine_transform_constraint_data)>(); spine_bone_data spine_transform_constraint_data_get_target( spine_transform_constraint_data data, @@ -6457,11 +7357,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_target = _spine_transform_constraint_data_get_targetPtr - .asFunction(); + 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_bone_data Function(spine_transform_constraint_data)>(); void spine_transform_constraint_data_set_target( spine_transform_constraint_data data, @@ -6473,11 +7375,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_target = _spine_transform_constraint_data_set_targetPtr - .asFunction(); + 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< + void Function(spine_transform_constraint_data, spine_bone_data)>(); double spine_transform_constraint_data_get_mix_rotate( spine_transform_constraint_data data, @@ -6487,11 +7391,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, @@ -6503,11 +7409,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_rotate = _spine_transform_constraint_data_set_mix_rotatePtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_mix_x( spine_transform_constraint_data data, @@ -6517,11 +7425,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, @@ -6533,11 +7443,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_x = _spine_transform_constraint_data_set_mix_xPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_mix_y( spine_transform_constraint_data data, @@ -6547,11 +7459,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, @@ -6563,11 +7477,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_y = _spine_transform_constraint_data_set_mix_yPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_mix_scale_x( spine_transform_constraint_data data, @@ -6577,11 +7493,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_x = _spine_transform_constraint_data_get_mix_scale_xPtr - .asFunction(); + 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(); void spine_transform_constraint_data_set_mix_scale_x( spine_transform_constraint_data data, @@ -6593,11 +7511,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_x = _spine_transform_constraint_data_set_mix_scale_xPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_mix_scale_y( spine_transform_constraint_data data, @@ -6607,11 +7527,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_y = _spine_transform_constraint_data_get_mix_scale_yPtr - .asFunction(); + 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(); void spine_transform_constraint_data_set_mix_scale_y( spine_transform_constraint_data data, @@ -6623,11 +7545,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_y = _spine_transform_constraint_data_set_mix_scale_yPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_mix_shear_y( spine_transform_constraint_data data, @@ -6637,11 +7561,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_y = _spine_transform_constraint_data_get_mix_shear_yPtr - .asFunction(); + 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(); void spine_transform_constraint_data_set_mix_shear_y( spine_transform_constraint_data data, @@ -6653,11 +7579,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_y = _spine_transform_constraint_data_set_mix_shear_yPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_offset_rotation( spine_transform_constraint_data data, @@ -6667,9 +7595,10 @@ 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(); @@ -6684,9 +7613,10 @@ 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(); @@ -6699,11 +7629,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, @@ -6715,11 +7647,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_x = _spine_transform_constraint_data_set_offset_xPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_offset_y( spine_transform_constraint_data data, @@ -6729,11 +7663,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, @@ -6745,11 +7681,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_y = _spine_transform_constraint_data_set_offset_yPtr - .asFunction(); + 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(); double spine_transform_constraint_data_get_offset_scale_x( spine_transform_constraint_data data, @@ -6759,9 +7697,10 @@ 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(); @@ -6776,9 +7715,10 @@ 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(); @@ -6791,9 +7731,10 @@ 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(); @@ -6808,9 +7749,10 @@ 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(); @@ -6823,9 +7765,10 @@ 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(); @@ -6840,9 +7783,10 @@ 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(); @@ -6855,11 +7799,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.Int 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, @@ -6871,11 +7817,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_relative = _spine_transform_constraint_data_set_is_relativePtr - .asFunction(); + late final _spine_transform_constraint_data_set_is_relativePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Int)>>('spine_transform_constraint_data_set_is_relative'); + late final _spine_transform_constraint_data_set_is_relative = + _spine_transform_constraint_data_set_is_relativePtr + .asFunction(); int spine_transform_constraint_data_get_is_local( spine_transform_constraint_data data, @@ -6885,11 +7833,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.Int 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, @@ -6901,11 +7851,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_local = _spine_transform_constraint_data_set_is_localPtr - .asFunction(); + late final _spine_transform_constraint_data_set_is_localPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function(spine_transform_constraint_data, + ffi.Int)>>('spine_transform_constraint_data_set_is_local'); + late final _spine_transform_constraint_data_set_is_local = + _spine_transform_constraint_data_set_is_localPtr + .asFunction(); void spine_transform_constraint_update( spine_transform_constraint constraint, @@ -6915,10 +7867,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, @@ -6929,9 +7883,11 @@ class SpineFlutterBindings { } late final _spine_transform_constraint_get_orderPtr = - _lookup>('spine_transform_constraint_get_order'); + _lookup>( + '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, @@ -6941,11 +7897,15 @@ class SpineFlutterBindings { ); } - late final _spine_transform_constraint_get_dataPtr = - _lookup>( - 'spine_transform_constraint_get_data'); - late final _spine_transform_constraint_get_data = _spine_transform_constraint_get_dataPtr - .asFunction(); + 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_data Function( + spine_transform_constraint)>(); int spine_transform_constraint_get_num_bones( spine_transform_constraint constraint, @@ -6959,7 +7919,8 @@ class SpineFlutterBindings { _lookup>( '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, @@ -6969,11 +7930,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_bones = _spine_transform_constraint_get_bonesPtr - .asFunction Function(spine_transform_constraint)>(); + 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< + ffi.Pointer Function(spine_transform_constraint)>(); spine_bone spine_transform_constraint_get_target( spine_transform_constraint constraint, @@ -6983,11 +7946,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, @@ -6999,11 +7963,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, @@ -7013,11 +7979,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, @@ -7029,11 +7996,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, @@ -7043,11 +8012,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, @@ -7059,11 +8029,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, @@ -7073,11 +8045,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, @@ -7089,11 +8062,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, @@ -7103,11 +8078,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, @@ -7119,11 +8095,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, @@ -7133,11 +8111,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, @@ -7149,11 +8128,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, @@ -7163,11 +8144,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, @@ -7179,11 +8161,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, @@ -7193,11 +8177,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, @@ -7209,11 +8194,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.Int)>>('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, @@ -7227,7 +8214,8 @@ class SpineFlutterBindings { _lookup>( '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, @@ -7237,11 +8225,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_bones = _spine_path_constraint_data_get_bonesPtr - .asFunction Function(spine_path_constraint_data)>(); + 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< + ffi.Pointer Function(spine_path_constraint_data)>(); spine_slot_data spine_path_constraint_data_get_target( spine_path_constraint_data data, @@ -7251,11 +8242,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, @@ -7267,11 +8260,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_target = _spine_path_constraint_data_set_targetPtr - .asFunction(); + 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< + void Function(spine_path_constraint_data, spine_slot_data)>(); int spine_path_constraint_data_get_position_mode( spine_path_constraint_data data, @@ -7281,11 +8276,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, @@ -7297,11 +8293,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, @@ -7311,11 +8309,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, @@ -7327,11 +8326,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, @@ -7341,11 +8342,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, @@ -7357,11 +8359,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, @@ -7371,11 +8375,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, @@ -7387,11 +8392,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_rotation = _spine_path_constraint_data_set_offset_rotationPtr - .asFunction(); + 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(); double spine_path_constraint_data_get_position( spine_path_constraint_data data, @@ -7401,11 +8408,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, @@ -7417,11 +8425,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, @@ -7431,11 +8441,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, @@ -7447,11 +8458,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, @@ -7461,11 +8474,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, @@ -7477,11 +8491,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, @@ -7491,11 +8507,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, @@ -7507,11 +8524,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, @@ -7521,11 +8540,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, @@ -7537,11 +8557,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, @@ -7552,9 +8574,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, @@ -7565,9 +8588,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_orderPtr = - _lookup>('spine_path_constraint_get_order'); + _lookup>( + 'spine_path_constraint_get_order'); late final _spine_path_constraint_get_order = - _spine_path_constraint_get_orderPtr.asFunction(); + _spine_path_constraint_get_orderPtr + .asFunction(); spine_path_constraint_data spine_path_constraint_get_data( spine_path_constraint constraint, @@ -7577,11 +8602,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, @@ -7592,9 +8619,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, @@ -7604,11 +8633,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, @@ -7619,9 +8650,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, @@ -7633,11 +8666,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, @@ -7648,9 +8683,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, @@ -7662,11 +8699,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, @@ -7677,9 +8716,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, @@ -7691,11 +8732,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, @@ -7706,9 +8749,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, @@ -7720,11 +8765,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, @@ -7735,9 +8782,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_xPtr = - _lookup>('spine_path_constraint_get_mix_x'); + _lookup>( + 'spine_path_constraint_get_mix_x'); late final _spine_path_constraint_get_mix_x = - _spine_path_constraint_get_mix_xPtr.asFunction(); + _spine_path_constraint_get_mix_xPtr + .asFunction(); void spine_path_constraint_set_mix_x( spine_path_constraint constraint, @@ -7749,11 +8798,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, @@ -7764,9 +8815,11 @@ class SpineFlutterBindings { } late final _spine_path_constraint_get_mix_yPtr = - _lookup>('spine_path_constraint_get_mix_y'); + _lookup>( + 'spine_path_constraint_get_mix_y'); late final _spine_path_constraint_get_mix_y = - _spine_path_constraint_get_mix_yPtr.asFunction(); + _spine_path_constraint_get_mix_yPtr + .asFunction(); void spine_path_constraint_set_mix_y( spine_path_constraint constraint, @@ -7778,11 +8831,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, @@ -7793,9 +8848,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, @@ -7807,11 +8864,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.Int)>>('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( @@ -7826,11 +8885,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, @@ -7844,11 +8904,13 @@ class SpineFlutterBindings { ); } - late final _spine_sequence_get_pathPtr = - _lookup Function(spine_sequence, ffi.Pointer, ffi.Int)>>( - '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.Int)>>('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, @@ -7859,8 +8921,10 @@ class SpineFlutterBindings { } late final _spine_sequence_get_idPtr = - _lookup>('spine_sequence_get_id'); - late final _spine_sequence_get_id = _spine_sequence_get_idPtr.asFunction(); + _lookup>( + 'spine_sequence_get_id'); + late final _spine_sequence_get_id = + _spine_sequence_get_idPtr.asFunction(); void spine_sequence_set_id( spine_sequence sequence, @@ -7873,8 +8937,10 @@ class SpineFlutterBindings { } late final _spine_sequence_set_idPtr = - _lookup>('spine_sequence_set_id'); - late final _spine_sequence_set_id = _spine_sequence_set_idPtr.asFunction(); + _lookup>( + 'spine_sequence_set_id'); + late final _spine_sequence_set_id = _spine_sequence_set_idPtr + .asFunction(); int spine_sequence_get_start( spine_sequence sequence, @@ -7885,8 +8951,10 @@ class SpineFlutterBindings { } late final _spine_sequence_get_startPtr = - _lookup>('spine_sequence_get_start'); - late final _spine_sequence_get_start = _spine_sequence_get_startPtr.asFunction(); + _lookup>( + 'spine_sequence_get_start'); + late final _spine_sequence_get_start = + _spine_sequence_get_startPtr.asFunction(); void spine_sequence_set_start( spine_sequence sequence, @@ -7899,8 +8967,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, @@ -7911,8 +8981,10 @@ class SpineFlutterBindings { } late final _spine_sequence_get_digitsPtr = - _lookup>('spine_sequence_get_digits'); - late final _spine_sequence_get_digits = _spine_sequence_get_digitsPtr.asFunction(); + _lookup>( + 'spine_sequence_get_digits'); + late final _spine_sequence_get_digits = + _spine_sequence_get_digitsPtr.asFunction(); void spine_sequence_set_digits( spine_sequence sequence, @@ -7925,9 +8997,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, @@ -7938,9 +9011,11 @@ class SpineFlutterBindings { } late final _spine_sequence_get_setup_indexPtr = - _lookup>('spine_sequence_get_setup_index'); + _lookup>( + 'spine_sequence_get_setup_index'); late final _spine_sequence_get_setup_index = - _spine_sequence_get_setup_indexPtr.asFunction(); + _spine_sequence_get_setup_indexPtr + .asFunction(); void spine_sequence_set_setup_index( spine_sequence sequence, @@ -7953,9 +9028,11 @@ class SpineFlutterBindings { } late final _spine_sequence_set_setup_indexPtr = - _lookup>('spine_sequence_set_setup_index'); + _lookup>( + 'spine_sequence_set_setup_index'); late final _spine_sequence_set_setup_index = - _spine_sequence_set_setup_indexPtr.asFunction(); + _spine_sequence_set_setup_indexPtr + .asFunction(); int spine_sequence_get_num_regions( spine_sequence sequence, @@ -7966,9 +9043,11 @@ class SpineFlutterBindings { } late final _spine_sequence_get_num_regionsPtr = - _lookup>('spine_sequence_get_num_regions'); + _lookup>( + 'spine_sequence_get_num_regions'); late final _spine_sequence_get_num_regions = - _spine_sequence_get_num_regionsPtr.asFunction(); + _spine_sequence_get_num_regionsPtr + .asFunction(); ffi.Pointer spine_sequence_get_regions( spine_sequence sequence, @@ -7978,11 +9057,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, @@ -7992,11 +9072,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, @@ -8008,11 +9090,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, @@ -8023,9 +9107,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, @@ -8037,10 +9122,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, @@ -8051,9 +9138,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, @@ -8065,10 +9153,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, @@ -8079,9 +9169,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, @@ -8093,10 +9184,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, @@ -8107,9 +9200,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, @@ -8121,10 +9215,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, @@ -8135,9 +9231,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_degreesPtr = - _lookup>('spine_texture_region_get_degrees'); + _lookup>( + 'spine_texture_region_get_degrees'); late final _spine_texture_region_get_degrees = - _spine_texture_region_get_degreesPtr.asFunction(); + _spine_texture_region_get_degreesPtr + .asFunction(); void spine_texture_region_set_degrees( spine_texture_region textureRegion, @@ -8149,10 +9247,12 @@ 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>( + '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, @@ -8163,9 +9263,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_offset_xPtr = - _lookup>('spine_texture_region_get_offset_x'); + _lookup>( + 'spine_texture_region_get_offset_x'); late final _spine_texture_region_get_offset_x = - _spine_texture_region_get_offset_xPtr.asFunction(); + _spine_texture_region_get_offset_xPtr + .asFunction(); void spine_texture_region_set_offset_x( spine_texture_region textureRegion, @@ -8177,11 +9279,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, @@ -8192,9 +9296,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_offset_yPtr = - _lookup>('spine_texture_region_get_offset_y'); + _lookup>( + 'spine_texture_region_get_offset_y'); late final _spine_texture_region_get_offset_y = - _spine_texture_region_get_offset_yPtr.asFunction(); + _spine_texture_region_get_offset_yPtr + .asFunction(); void spine_texture_region_set_offset_y( spine_texture_region textureRegion, @@ -8206,11 +9312,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, @@ -8221,9 +9329,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_widthPtr = - _lookup>('spine_texture_region_get_width'); + _lookup>( + 'spine_texture_region_get_width'); late final _spine_texture_region_get_width = - _spine_texture_region_get_widthPtr.asFunction(); + _spine_texture_region_get_widthPtr + .asFunction(); void spine_texture_region_set_width( spine_texture_region textureRegion, @@ -8235,10 +9345,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_widthPtr = - _lookup>('spine_texture_region_set_width'); + late final _spine_texture_region_set_widthPtr = _lookup< + ffi.NativeFunction>( + 'spine_texture_region_set_width'); late final _spine_texture_region_set_width = - _spine_texture_region_set_widthPtr.asFunction(); + _spine_texture_region_set_widthPtr + .asFunction(); int spine_texture_region_get_height( spine_texture_region textureRegion, @@ -8249,9 +9361,11 @@ class SpineFlutterBindings { } late final _spine_texture_region_get_heightPtr = - _lookup>('spine_texture_region_get_height'); + _lookup>( + 'spine_texture_region_get_height'); late final _spine_texture_region_get_height = - _spine_texture_region_get_heightPtr.asFunction(); + _spine_texture_region_get_heightPtr + .asFunction(); void spine_texture_region_set_height( spine_texture_region textureRegion, @@ -8263,10 +9377,12 @@ class SpineFlutterBindings { ); } - late final _spine_texture_region_set_heightPtr = - _lookup>('spine_texture_region_set_height'); + late final _spine_texture_region_set_heightPtr = _lookup< + ffi.NativeFunction>( + 'spine_texture_region_set_height'); late final _spine_texture_region_set_height = - _spine_texture_region_set_heightPtr.asFunction(); + _spine_texture_region_set_heightPtr + .asFunction(); int spine_texture_region_get_original_width( spine_texture_region textureRegion, @@ -8277,9 +9393,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,11 +9409,12 @@ 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>( + '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, @@ -8306,9 +9425,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, @@ -8320,11 +9441,12 @@ 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>( + '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 {} @@ -8550,8 +9672,10 @@ class spine_skeleton_drawable extends ffi.Struct { 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; class spine_skin_entry extends ffi.Struct { @ffi.Int() @@ -8576,15 +9700,19 @@ 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_track_entry = ffi.Pointer; typedef spine_event = ffi.Pointer; typedef spine_bone = ffi.Pointer; typedef spine_slot = 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; @@ -8592,7 +9720,9 @@ 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_constraint_data = ffi.Pointer; diff --git a/spine-flutter/lib/spine_widget.dart b/spine-flutter/lib/spine_widget.dart index f453042cd..eb268cda1 100644 --- a/spine-flutter/lib/spine_widget.dart +++ b/spine-flutter/lib/spine_widget.dart @@ -38,6 +38,36 @@ class SpineWidgetController { AnimationState? get animationState => _drawable?.animationState; Skeleton? get skeleton => _drawable?.skeleton; + + void pause() { + _drawable?.animationState.setTimeScale(0); + } + + void play() { + _drawable?.animationState.setTimeScale(1); + } + + void togglePlay() { + _drawable?.animationState.setTimeScale(isPlaying ? 0 : 1); + } + + bool get isPlaying => _drawable?.animationState.getTimeScale() != 0; + + List get animationNames { + List names = []; + for (var anim in _drawable?.skeletonData.getAnimations() ?? []) { + names.add(anim.getName()); + } + return names; + } + + List get skinNames { + List names = []; + for (var skin in _drawable?.skeletonData.getSkins() ?? []) { + names.add(skin.getName()); + } + return names; + } } enum AssetType { Asset, File, Http, Raw } diff --git a/spine-flutter/src/spine_flutter.cpp b/spine-flutter/src/spine_flutter.cpp index a48689ce0..11e58e095 100644 --- a/spine-flutter/src/spine_flutter.cpp +++ b/spine-flutter/src/spine_flutter.cpp @@ -641,6 +641,12 @@ FFI_PLUGIN_EXPORT void spine_animation_state_clear_tracks(spine_animation_state _state->clearTracks(); } +FFI_PLUGIN_EXPORT int spine_animation_state_get_num_tracks(spine_animation_state state) { + if (state == nullptr) return 0; + AnimationState *_state = (AnimationState*)state; + return (int) _state->getTracks().size(); +} + FFI_PLUGIN_EXPORT void spine_animation_state_clear_track(spine_animation_state state, int trackIndex) { if (state == nullptr) return; AnimationState *_state = (AnimationState*)state; diff --git a/spine-flutter/src/spine_flutter.h b/spine-flutter/src/spine_flutter.h index e968e4a40..8a857984d 100644 --- a/spine-flutter/src/spine_flutter.h +++ b/spine-flutter/src/spine_flutter.h @@ -283,6 +283,7 @@ FFI_PLUGIN_EXPORT void spine_animation_state_update(spine_animation_state state, FFI_PLUGIN_EXPORT void spine_animation_state_apply(spine_animation_state state, spine_skeleton skeleton); FFI_PLUGIN_EXPORT void spine_animation_state_clear_tracks(spine_animation_state state); FFI_PLUGIN_EXPORT void spine_animation_state_clear_track(spine_animation_state state, int trackIndex); +FFI_PLUGIN_EXPORT int spine_animation_state_get_num_tracks(spine_animation_state state); FFI_PLUGIN_EXPORT spine_track_entry spine_animation_state_set_animation_by_name(spine_animation_state state, int trackIndex, const char* animationName, int loop); FFI_PLUGIN_EXPORT spine_track_entry spine_animation_state_set_animation(spine_animation_state state, int trackIndex, spine_animation animation, int loop); FFI_PLUGIN_EXPORT spine_track_entry spine_animation_state_add_animation_by_name(spine_animation_state state, int trackIndex, const char* animationName, int loop, float delay);