spine_flutter_bindings_generated.dart 390 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241
  1. // ignore_for_file: always_specify_types, constant_identifier_names
  2. // ignore_for_file: camel_case_types
  3. // ignore_for_file: non_constant_identifier_names
  4. // AUTO GENERATED FILE, DO NOT EDIT.
  5. //
  6. // Generated by `package:ffigen`.
  7. // ignore_for_file: type=lint
  8. import 'ffi_proxy.dart' as ffi;
  9. /// Bindings for `src/spine_flutter.h`.
  10. ///
  11. /// Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
  12. ///
  13. class SpineFlutterBindings {
  14. /// Holds the symbol lookup function.
  15. final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
  16. _lookup;
  17. /// The symbols are looked up in [dynamicLibrary].
  18. SpineFlutterBindings(ffi.DynamicLibrary dynamicLibrary)
  19. : _lookup = dynamicLibrary.lookup;
  20. /// The symbols are looked up with [lookup].
  21. SpineFlutterBindings.fromLookup(
  22. ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
  23. lookup)
  24. : _lookup = lookup;
  25. int spine_major_version() {
  26. return _spine_major_version();
  27. }
  28. late final _spine_major_versionPtr =
  29. _lookup<ffi.NativeFunction<ffi.Int32 Function()>>('spine_major_version');
  30. late final _spine_major_version =
  31. _spine_major_versionPtr.asFunction<int Function()>();
  32. int spine_minor_version() {
  33. return _spine_minor_version();
  34. }
  35. late final _spine_minor_versionPtr =
  36. _lookup<ffi.NativeFunction<ffi.Int32 Function()>>('spine_minor_version');
  37. late final _spine_minor_version =
  38. _spine_minor_versionPtr.asFunction<int Function()>();
  39. void spine_enable_debug_extension(
  40. int enable,
  41. ) {
  42. return _spine_enable_debug_extension(
  43. enable,
  44. );
  45. }
  46. late final _spine_enable_debug_extensionPtr =
  47. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bool)>>(
  48. 'spine_enable_debug_extension');
  49. late final _spine_enable_debug_extension =
  50. _spine_enable_debug_extensionPtr.asFunction<void Function(int)>();
  51. void spine_report_leaks() {
  52. return _spine_report_leaks();
  53. }
  54. late final _spine_report_leaksPtr =
  55. _lookup<ffi.NativeFunction<ffi.Void Function()>>('spine_report_leaks');
  56. late final _spine_report_leaks =
  57. _spine_report_leaksPtr.asFunction<void Function()>();
  58. double spine_color_get_r(
  59. spine_color color,
  60. ) {
  61. return _spine_color_get_r(
  62. color,
  63. );
  64. }
  65. late final _spine_color_get_rPtr =
  66. _lookup<ffi.NativeFunction<ffi.Float Function(spine_color)>>(
  67. 'spine_color_get_r');
  68. late final _spine_color_get_r =
  69. _spine_color_get_rPtr.asFunction<double Function(spine_color)>();
  70. double spine_color_get_g(
  71. spine_color color,
  72. ) {
  73. return _spine_color_get_g(
  74. color,
  75. );
  76. }
  77. late final _spine_color_get_gPtr =
  78. _lookup<ffi.NativeFunction<ffi.Float Function(spine_color)>>(
  79. 'spine_color_get_g');
  80. late final _spine_color_get_g =
  81. _spine_color_get_gPtr.asFunction<double Function(spine_color)>();
  82. double spine_color_get_b(
  83. spine_color color,
  84. ) {
  85. return _spine_color_get_b(
  86. color,
  87. );
  88. }
  89. late final _spine_color_get_bPtr =
  90. _lookup<ffi.NativeFunction<ffi.Float Function(spine_color)>>(
  91. 'spine_color_get_b');
  92. late final _spine_color_get_b =
  93. _spine_color_get_bPtr.asFunction<double Function(spine_color)>();
  94. double spine_color_get_a(
  95. spine_color color,
  96. ) {
  97. return _spine_color_get_a(
  98. color,
  99. );
  100. }
  101. late final _spine_color_get_aPtr =
  102. _lookup<ffi.NativeFunction<ffi.Float Function(spine_color)>>(
  103. 'spine_color_get_a');
  104. late final _spine_color_get_a =
  105. _spine_color_get_aPtr.asFunction<double Function(spine_color)>();
  106. double spine_bounds_get_x(
  107. spine_bounds bounds,
  108. ) {
  109. return _spine_bounds_get_x(
  110. bounds,
  111. );
  112. }
  113. late final _spine_bounds_get_xPtr =
  114. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bounds)>>(
  115. 'spine_bounds_get_x');
  116. late final _spine_bounds_get_x =
  117. _spine_bounds_get_xPtr.asFunction<double Function(spine_bounds)>();
  118. double spine_bounds_get_y(
  119. spine_bounds bounds,
  120. ) {
  121. return _spine_bounds_get_y(
  122. bounds,
  123. );
  124. }
  125. late final _spine_bounds_get_yPtr =
  126. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bounds)>>(
  127. 'spine_bounds_get_y');
  128. late final _spine_bounds_get_y =
  129. _spine_bounds_get_yPtr.asFunction<double Function(spine_bounds)>();
  130. double spine_bounds_get_width(
  131. spine_bounds bounds,
  132. ) {
  133. return _spine_bounds_get_width(
  134. bounds,
  135. );
  136. }
  137. late final _spine_bounds_get_widthPtr =
  138. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bounds)>>(
  139. 'spine_bounds_get_width');
  140. late final _spine_bounds_get_width =
  141. _spine_bounds_get_widthPtr.asFunction<double Function(spine_bounds)>();
  142. double spine_bounds_get_height(
  143. spine_bounds bounds,
  144. ) {
  145. return _spine_bounds_get_height(
  146. bounds,
  147. );
  148. }
  149. late final _spine_bounds_get_heightPtr =
  150. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bounds)>>(
  151. 'spine_bounds_get_height');
  152. late final _spine_bounds_get_height =
  153. _spine_bounds_get_heightPtr.asFunction<double Function(spine_bounds)>();
  154. double spine_vector_get_x(
  155. spine_vector vector,
  156. ) {
  157. return _spine_vector_get_x(
  158. vector,
  159. );
  160. }
  161. late final _spine_vector_get_xPtr =
  162. _lookup<ffi.NativeFunction<ffi.Float Function(spine_vector)>>(
  163. 'spine_vector_get_x');
  164. late final _spine_vector_get_x =
  165. _spine_vector_get_xPtr.asFunction<double Function(spine_vector)>();
  166. double spine_vector_get_y(
  167. spine_vector vector,
  168. ) {
  169. return _spine_vector_get_y(
  170. vector,
  171. );
  172. }
  173. late final _spine_vector_get_yPtr =
  174. _lookup<ffi.NativeFunction<ffi.Float Function(spine_vector)>>(
  175. 'spine_vector_get_y');
  176. late final _spine_vector_get_y =
  177. _spine_vector_get_yPtr.asFunction<double Function(spine_vector)>();
  178. spine_atlas spine_atlas_load(
  179. ffi.Pointer<utf8> atlasData,
  180. ) {
  181. return _spine_atlas_load(
  182. atlasData,
  183. );
  184. }
  185. late final _spine_atlas_loadPtr =
  186. _lookup<ffi.NativeFunction<spine_atlas Function(ffi.Pointer<utf8>)>>(
  187. 'spine_atlas_load');
  188. late final _spine_atlas_load = _spine_atlas_loadPtr
  189. .asFunction<spine_atlas Function(ffi.Pointer<utf8>)>();
  190. int spine_atlas_get_num_image_paths(
  191. spine_atlas atlas,
  192. ) {
  193. return _spine_atlas_get_num_image_paths(
  194. atlas,
  195. );
  196. }
  197. late final _spine_atlas_get_num_image_pathsPtr =
  198. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_atlas)>>(
  199. 'spine_atlas_get_num_image_paths');
  200. late final _spine_atlas_get_num_image_paths =
  201. _spine_atlas_get_num_image_pathsPtr
  202. .asFunction<int Function(spine_atlas)>();
  203. ffi.Pointer<utf8> spine_atlas_get_image_path(
  204. spine_atlas atlas,
  205. int index,
  206. ) {
  207. return _spine_atlas_get_image_path(
  208. atlas,
  209. index,
  210. );
  211. }
  212. late final _spine_atlas_get_image_pathPtr = _lookup<
  213. ffi
  214. .NativeFunction<ffi.Pointer<utf8> Function(spine_atlas, ffi.Int32)>>(
  215. 'spine_atlas_get_image_path');
  216. late final _spine_atlas_get_image_path = _spine_atlas_get_image_pathPtr
  217. .asFunction<ffi.Pointer<utf8> Function(spine_atlas, int)>();
  218. ffi.Pointer<utf8> spine_atlas_get_error(
  219. spine_atlas atlas,
  220. ) {
  221. return _spine_atlas_get_error(
  222. atlas,
  223. );
  224. }
  225. late final _spine_atlas_get_errorPtr =
  226. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_atlas)>>(
  227. 'spine_atlas_get_error');
  228. late final _spine_atlas_get_error = _spine_atlas_get_errorPtr
  229. .asFunction<ffi.Pointer<utf8> Function(spine_atlas)>();
  230. void spine_atlas_dispose(
  231. spine_atlas atlas,
  232. ) {
  233. return _spine_atlas_dispose(
  234. atlas,
  235. );
  236. }
  237. late final _spine_atlas_disposePtr =
  238. _lookup<ffi.NativeFunction<ffi.Void Function(spine_atlas)>>(
  239. 'spine_atlas_dispose');
  240. late final _spine_atlas_dispose =
  241. _spine_atlas_disposePtr.asFunction<void Function(spine_atlas)>();
  242. spine_skeleton_data_result spine_skeleton_data_load_json(
  243. spine_atlas atlas,
  244. ffi.Pointer<utf8> skeletonData,
  245. ) {
  246. return _spine_skeleton_data_load_json(
  247. atlas,
  248. skeletonData,
  249. );
  250. }
  251. late final _spine_skeleton_data_load_jsonPtr = _lookup<
  252. ffi.NativeFunction<
  253. spine_skeleton_data_result Function(spine_atlas,
  254. ffi.Pointer<utf8>)>>('spine_skeleton_data_load_json');
  255. late final _spine_skeleton_data_load_json =
  256. _spine_skeleton_data_load_jsonPtr.asFunction<
  257. spine_skeleton_data_result Function(
  258. spine_atlas, ffi.Pointer<utf8>)>();
  259. spine_skeleton_data_result spine_skeleton_data_load_binary(
  260. spine_atlas atlas,
  261. ffi.Pointer<ffi.Uint8> skeletonData,
  262. int length,
  263. ) {
  264. return _spine_skeleton_data_load_binary(
  265. atlas,
  266. skeletonData,
  267. length,
  268. );
  269. }
  270. late final _spine_skeleton_data_load_binaryPtr = _lookup<
  271. ffi.NativeFunction<
  272. spine_skeleton_data_result Function(
  273. spine_atlas,
  274. ffi.Pointer<ffi.Uint8>,
  275. ffi.Int32)>>('spine_skeleton_data_load_binary');
  276. late final _spine_skeleton_data_load_binary =
  277. _spine_skeleton_data_load_binaryPtr.asFunction<
  278. spine_skeleton_data_result Function(
  279. spine_atlas, ffi.Pointer<ffi.Uint8>, int)>();
  280. ffi.Pointer<utf8> spine_skeleton_data_result_get_error(
  281. spine_skeleton_data_result result,
  282. ) {
  283. return _spine_skeleton_data_result_get_error(
  284. result,
  285. );
  286. }
  287. late final _spine_skeleton_data_result_get_errorPtr = _lookup<
  288. ffi.NativeFunction<
  289. ffi.Pointer<utf8> Function(spine_skeleton_data_result)>>(
  290. 'spine_skeleton_data_result_get_error');
  291. late final _spine_skeleton_data_result_get_error =
  292. _spine_skeleton_data_result_get_errorPtr
  293. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data_result)>();
  294. spine_skeleton_data spine_skeleton_data_result_get_data(
  295. spine_skeleton_data_result result,
  296. ) {
  297. return _spine_skeleton_data_result_get_data(
  298. result,
  299. );
  300. }
  301. late final _spine_skeleton_data_result_get_dataPtr = _lookup<
  302. ffi.NativeFunction<
  303. spine_skeleton_data Function(spine_skeleton_data_result)>>(
  304. 'spine_skeleton_data_result_get_data');
  305. late final _spine_skeleton_data_result_get_data =
  306. _spine_skeleton_data_result_get_dataPtr.asFunction<
  307. spine_skeleton_data Function(spine_skeleton_data_result)>();
  308. void spine_skeleton_data_result_dispose(
  309. spine_skeleton_data_result result,
  310. ) {
  311. return _spine_skeleton_data_result_dispose(
  312. result,
  313. );
  314. }
  315. late final _spine_skeleton_data_result_disposePtr = _lookup<
  316. ffi.NativeFunction<ffi.Void Function(spine_skeleton_data_result)>>(
  317. 'spine_skeleton_data_result_dispose');
  318. late final _spine_skeleton_data_result_dispose =
  319. _spine_skeleton_data_result_disposePtr
  320. .asFunction<void Function(spine_skeleton_data_result)>();
  321. spine_bone_data spine_skeleton_data_find_bone(
  322. spine_skeleton_data data,
  323. ffi.Pointer<utf8> name,
  324. ) {
  325. return _spine_skeleton_data_find_bone(
  326. data,
  327. name,
  328. );
  329. }
  330. late final _spine_skeleton_data_find_bonePtr = _lookup<
  331. ffi.NativeFunction<
  332. spine_bone_data Function(spine_skeleton_data,
  333. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_bone');
  334. late final _spine_skeleton_data_find_bone =
  335. _spine_skeleton_data_find_bonePtr.asFunction<
  336. spine_bone_data Function(spine_skeleton_data, ffi.Pointer<utf8>)>();
  337. spine_slot_data spine_skeleton_data_find_slot(
  338. spine_skeleton_data data,
  339. ffi.Pointer<utf8> name,
  340. ) {
  341. return _spine_skeleton_data_find_slot(
  342. data,
  343. name,
  344. );
  345. }
  346. late final _spine_skeleton_data_find_slotPtr = _lookup<
  347. ffi.NativeFunction<
  348. spine_slot_data Function(spine_skeleton_data,
  349. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_slot');
  350. late final _spine_skeleton_data_find_slot =
  351. _spine_skeleton_data_find_slotPtr.asFunction<
  352. spine_slot_data Function(spine_skeleton_data, ffi.Pointer<utf8>)>();
  353. spine_skin spine_skeleton_data_find_skin(
  354. spine_skeleton_data data,
  355. ffi.Pointer<utf8> name,
  356. ) {
  357. return _spine_skeleton_data_find_skin(
  358. data,
  359. name,
  360. );
  361. }
  362. late final _spine_skeleton_data_find_skinPtr = _lookup<
  363. ffi.NativeFunction<
  364. spine_skin Function(spine_skeleton_data,
  365. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_skin');
  366. late final _spine_skeleton_data_find_skin =
  367. _spine_skeleton_data_find_skinPtr.asFunction<
  368. spine_skin Function(spine_skeleton_data, ffi.Pointer<utf8>)>();
  369. spine_event_data spine_skeleton_data_find_event(
  370. spine_skeleton_data data,
  371. ffi.Pointer<utf8> name,
  372. ) {
  373. return _spine_skeleton_data_find_event(
  374. data,
  375. name,
  376. );
  377. }
  378. late final _spine_skeleton_data_find_eventPtr = _lookup<
  379. ffi.NativeFunction<
  380. spine_event_data Function(spine_skeleton_data,
  381. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_event');
  382. late final _spine_skeleton_data_find_event =
  383. _spine_skeleton_data_find_eventPtr.asFunction<
  384. spine_event_data Function(spine_skeleton_data, ffi.Pointer<utf8>)>();
  385. spine_animation spine_skeleton_data_find_animation(
  386. spine_skeleton_data data,
  387. ffi.Pointer<utf8> name,
  388. ) {
  389. return _spine_skeleton_data_find_animation(
  390. data,
  391. name,
  392. );
  393. }
  394. late final _spine_skeleton_data_find_animationPtr = _lookup<
  395. ffi.NativeFunction<
  396. spine_animation Function(spine_skeleton_data,
  397. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_animation');
  398. late final _spine_skeleton_data_find_animation =
  399. _spine_skeleton_data_find_animationPtr.asFunction<
  400. spine_animation Function(spine_skeleton_data, ffi.Pointer<utf8>)>();
  401. spine_ik_constraint_data spine_skeleton_data_find_ik_constraint(
  402. spine_skeleton_data data,
  403. ffi.Pointer<utf8> name,
  404. ) {
  405. return _spine_skeleton_data_find_ik_constraint(
  406. data,
  407. name,
  408. );
  409. }
  410. late final _spine_skeleton_data_find_ik_constraintPtr = _lookup<
  411. ffi.NativeFunction<
  412. spine_ik_constraint_data Function(spine_skeleton_data,
  413. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_ik_constraint');
  414. late final _spine_skeleton_data_find_ik_constraint =
  415. _spine_skeleton_data_find_ik_constraintPtr.asFunction<
  416. spine_ik_constraint_data Function(
  417. spine_skeleton_data, ffi.Pointer<utf8>)>();
  418. spine_transform_constraint_data spine_skeleton_data_find_transform_constraint(
  419. spine_skeleton_data data,
  420. ffi.Pointer<utf8> name,
  421. ) {
  422. return _spine_skeleton_data_find_transform_constraint(
  423. data,
  424. name,
  425. );
  426. }
  427. late final _spine_skeleton_data_find_transform_constraintPtr = _lookup<
  428. ffi.NativeFunction<
  429. spine_transform_constraint_data Function(
  430. spine_skeleton_data, ffi.Pointer<utf8>)>>(
  431. 'spine_skeleton_data_find_transform_constraint');
  432. late final _spine_skeleton_data_find_transform_constraint =
  433. _spine_skeleton_data_find_transform_constraintPtr.asFunction<
  434. spine_transform_constraint_data Function(
  435. spine_skeleton_data, ffi.Pointer<utf8>)>();
  436. spine_path_constraint_data spine_skeleton_data_find_path_constraint(
  437. spine_skeleton_data data,
  438. ffi.Pointer<utf8> name,
  439. ) {
  440. return _spine_skeleton_data_find_path_constraint(
  441. data,
  442. name,
  443. );
  444. }
  445. late final _spine_skeleton_data_find_path_constraintPtr = _lookup<
  446. ffi.NativeFunction<
  447. spine_path_constraint_data Function(spine_skeleton_data,
  448. ffi.Pointer<utf8>)>>('spine_skeleton_data_find_path_constraint');
  449. late final _spine_skeleton_data_find_path_constraint =
  450. _spine_skeleton_data_find_path_constraintPtr.asFunction<
  451. spine_path_constraint_data Function(
  452. spine_skeleton_data, ffi.Pointer<utf8>)>();
  453. spine_physics_constraint_data spine_skeleton_data_find_physics_constraint(
  454. spine_skeleton_data data,
  455. ffi.Pointer<utf8> name,
  456. ) {
  457. return _spine_skeleton_data_find_physics_constraint(
  458. data,
  459. name,
  460. );
  461. }
  462. late final _spine_skeleton_data_find_physics_constraintPtr = _lookup<
  463. ffi.NativeFunction<
  464. spine_physics_constraint_data Function(
  465. spine_skeleton_data, ffi.Pointer<utf8>)>>(
  466. 'spine_skeleton_data_find_physics_constraint');
  467. late final _spine_skeleton_data_find_physics_constraint =
  468. _spine_skeleton_data_find_physics_constraintPtr.asFunction<
  469. spine_physics_constraint_data Function(
  470. spine_skeleton_data, ffi.Pointer<utf8>)>();
  471. ffi.Pointer<utf8> spine_skeleton_data_get_name(
  472. spine_skeleton_data data,
  473. ) {
  474. return _spine_skeleton_data_get_name(
  475. data,
  476. );
  477. }
  478. late final _spine_skeleton_data_get_namePtr = _lookup<
  479. ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>>(
  480. 'spine_skeleton_data_get_name');
  481. late final _spine_skeleton_data_get_name = _spine_skeleton_data_get_namePtr
  482. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>();
  483. /// OMITTED setName()
  484. int spine_skeleton_data_get_num_bones(
  485. spine_skeleton_data data,
  486. ) {
  487. return _spine_skeleton_data_get_num_bones(
  488. data,
  489. );
  490. }
  491. late final _spine_skeleton_data_get_num_bonesPtr =
  492. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  493. 'spine_skeleton_data_get_num_bones');
  494. late final _spine_skeleton_data_get_num_bones =
  495. _spine_skeleton_data_get_num_bonesPtr
  496. .asFunction<int Function(spine_skeleton_data)>();
  497. ffi.Pointer<spine_bone_data> spine_skeleton_data_get_bones(
  498. spine_skeleton_data data,
  499. ) {
  500. return _spine_skeleton_data_get_bones(
  501. data,
  502. );
  503. }
  504. late final _spine_skeleton_data_get_bonesPtr = _lookup<
  505. ffi.NativeFunction<
  506. ffi.Pointer<spine_bone_data> Function(
  507. spine_skeleton_data)>>('spine_skeleton_data_get_bones');
  508. late final _spine_skeleton_data_get_bones = _spine_skeleton_data_get_bonesPtr
  509. .asFunction<ffi.Pointer<spine_bone_data> Function(spine_skeleton_data)>();
  510. int spine_skeleton_data_get_num_slots(
  511. spine_skeleton_data data,
  512. ) {
  513. return _spine_skeleton_data_get_num_slots(
  514. data,
  515. );
  516. }
  517. late final _spine_skeleton_data_get_num_slotsPtr =
  518. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  519. 'spine_skeleton_data_get_num_slots');
  520. late final _spine_skeleton_data_get_num_slots =
  521. _spine_skeleton_data_get_num_slotsPtr
  522. .asFunction<int Function(spine_skeleton_data)>();
  523. ffi.Pointer<spine_slot_data> spine_skeleton_data_get_slots(
  524. spine_skeleton_data data,
  525. ) {
  526. return _spine_skeleton_data_get_slots(
  527. data,
  528. );
  529. }
  530. late final _spine_skeleton_data_get_slotsPtr = _lookup<
  531. ffi.NativeFunction<
  532. ffi.Pointer<spine_slot_data> Function(
  533. spine_skeleton_data)>>('spine_skeleton_data_get_slots');
  534. late final _spine_skeleton_data_get_slots = _spine_skeleton_data_get_slotsPtr
  535. .asFunction<ffi.Pointer<spine_slot_data> Function(spine_skeleton_data)>();
  536. int spine_skeleton_data_get_num_skins(
  537. spine_skeleton_data data,
  538. ) {
  539. return _spine_skeleton_data_get_num_skins(
  540. data,
  541. );
  542. }
  543. late final _spine_skeleton_data_get_num_skinsPtr =
  544. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  545. 'spine_skeleton_data_get_num_skins');
  546. late final _spine_skeleton_data_get_num_skins =
  547. _spine_skeleton_data_get_num_skinsPtr
  548. .asFunction<int Function(spine_skeleton_data)>();
  549. ffi.Pointer<spine_skin> spine_skeleton_data_get_skins(
  550. spine_skeleton_data data,
  551. ) {
  552. return _spine_skeleton_data_get_skins(
  553. data,
  554. );
  555. }
  556. late final _spine_skeleton_data_get_skinsPtr = _lookup<
  557. ffi.NativeFunction<
  558. ffi.Pointer<spine_skin> Function(
  559. spine_skeleton_data)>>('spine_skeleton_data_get_skins');
  560. late final _spine_skeleton_data_get_skins = _spine_skeleton_data_get_skinsPtr
  561. .asFunction<ffi.Pointer<spine_skin> Function(spine_skeleton_data)>();
  562. spine_skin spine_skeleton_data_get_default_skin(
  563. spine_skeleton_data data,
  564. ) {
  565. return _spine_skeleton_data_get_default_skin(
  566. data,
  567. );
  568. }
  569. late final _spine_skeleton_data_get_default_skinPtr =
  570. _lookup<ffi.NativeFunction<spine_skin Function(spine_skeleton_data)>>(
  571. 'spine_skeleton_data_get_default_skin');
  572. late final _spine_skeleton_data_get_default_skin =
  573. _spine_skeleton_data_get_default_skinPtr
  574. .asFunction<spine_skin Function(spine_skeleton_data)>();
  575. void spine_skeleton_data_set_default_skin(
  576. spine_skeleton_data data,
  577. spine_skin skin,
  578. ) {
  579. return _spine_skeleton_data_set_default_skin(
  580. data,
  581. skin,
  582. );
  583. }
  584. late final _spine_skeleton_data_set_default_skinPtr = _lookup<
  585. ffi
  586. .NativeFunction<ffi.Void Function(spine_skeleton_data, spine_skin)>>(
  587. 'spine_skeleton_data_set_default_skin');
  588. late final _spine_skeleton_data_set_default_skin =
  589. _spine_skeleton_data_set_default_skinPtr
  590. .asFunction<void Function(spine_skeleton_data, spine_skin)>();
  591. int spine_skeleton_data_get_num_events(
  592. spine_skeleton_data data,
  593. ) {
  594. return _spine_skeleton_data_get_num_events(
  595. data,
  596. );
  597. }
  598. late final _spine_skeleton_data_get_num_eventsPtr =
  599. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  600. 'spine_skeleton_data_get_num_events');
  601. late final _spine_skeleton_data_get_num_events =
  602. _spine_skeleton_data_get_num_eventsPtr
  603. .asFunction<int Function(spine_skeleton_data)>();
  604. ffi.Pointer<spine_event_data> spine_skeleton_data_get_events(
  605. spine_skeleton_data data,
  606. ) {
  607. return _spine_skeleton_data_get_events(
  608. data,
  609. );
  610. }
  611. late final _spine_skeleton_data_get_eventsPtr = _lookup<
  612. ffi.NativeFunction<
  613. ffi.Pointer<spine_event_data> Function(
  614. spine_skeleton_data)>>('spine_skeleton_data_get_events');
  615. late final _spine_skeleton_data_get_events =
  616. _spine_skeleton_data_get_eventsPtr.asFunction<
  617. ffi.Pointer<spine_event_data> Function(spine_skeleton_data)>();
  618. int spine_skeleton_data_get_num_animations(
  619. spine_skeleton_data data,
  620. ) {
  621. return _spine_skeleton_data_get_num_animations(
  622. data,
  623. );
  624. }
  625. late final _spine_skeleton_data_get_num_animationsPtr =
  626. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  627. 'spine_skeleton_data_get_num_animations');
  628. late final _spine_skeleton_data_get_num_animations =
  629. _spine_skeleton_data_get_num_animationsPtr
  630. .asFunction<int Function(spine_skeleton_data)>();
  631. ffi.Pointer<spine_animation> spine_skeleton_data_get_animations(
  632. spine_skeleton_data data,
  633. ) {
  634. return _spine_skeleton_data_get_animations(
  635. data,
  636. );
  637. }
  638. late final _spine_skeleton_data_get_animationsPtr = _lookup<
  639. ffi.NativeFunction<
  640. ffi.Pointer<spine_animation> Function(
  641. spine_skeleton_data)>>('spine_skeleton_data_get_animations');
  642. late final _spine_skeleton_data_get_animations =
  643. _spine_skeleton_data_get_animationsPtr.asFunction<
  644. ffi.Pointer<spine_animation> Function(spine_skeleton_data)>();
  645. int spine_skeleton_data_get_num_ik_constraints(
  646. spine_skeleton_data data,
  647. ) {
  648. return _spine_skeleton_data_get_num_ik_constraints(
  649. data,
  650. );
  651. }
  652. late final _spine_skeleton_data_get_num_ik_constraintsPtr =
  653. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  654. 'spine_skeleton_data_get_num_ik_constraints');
  655. late final _spine_skeleton_data_get_num_ik_constraints =
  656. _spine_skeleton_data_get_num_ik_constraintsPtr
  657. .asFunction<int Function(spine_skeleton_data)>();
  658. ffi.Pointer<spine_ik_constraint_data> spine_skeleton_data_get_ik_constraints(
  659. spine_skeleton_data data,
  660. ) {
  661. return _spine_skeleton_data_get_ik_constraints(
  662. data,
  663. );
  664. }
  665. late final _spine_skeleton_data_get_ik_constraintsPtr = _lookup<
  666. ffi.NativeFunction<
  667. ffi.Pointer<spine_ik_constraint_data> Function(
  668. spine_skeleton_data)>>('spine_skeleton_data_get_ik_constraints');
  669. late final _spine_skeleton_data_get_ik_constraints =
  670. _spine_skeleton_data_get_ik_constraintsPtr.asFunction<
  671. ffi.Pointer<spine_ik_constraint_data> Function(
  672. spine_skeleton_data)>();
  673. int spine_skeleton_data_get_num_transform_constraints(
  674. spine_skeleton_data data,
  675. ) {
  676. return _spine_skeleton_data_get_num_transform_constraints(
  677. data,
  678. );
  679. }
  680. late final _spine_skeleton_data_get_num_transform_constraintsPtr =
  681. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  682. 'spine_skeleton_data_get_num_transform_constraints');
  683. late final _spine_skeleton_data_get_num_transform_constraints =
  684. _spine_skeleton_data_get_num_transform_constraintsPtr
  685. .asFunction<int Function(spine_skeleton_data)>();
  686. ffi.Pointer<spine_transform_constraint_data>
  687. spine_skeleton_data_get_transform_constraints(
  688. spine_skeleton_data data,
  689. ) {
  690. return _spine_skeleton_data_get_transform_constraints(
  691. data,
  692. );
  693. }
  694. late final _spine_skeleton_data_get_transform_constraintsPtr = _lookup<
  695. ffi.NativeFunction<
  696. ffi.Pointer<spine_transform_constraint_data> Function(
  697. spine_skeleton_data)>>(
  698. 'spine_skeleton_data_get_transform_constraints');
  699. late final _spine_skeleton_data_get_transform_constraints =
  700. _spine_skeleton_data_get_transform_constraintsPtr.asFunction<
  701. ffi.Pointer<spine_transform_constraint_data> Function(
  702. spine_skeleton_data)>();
  703. int spine_skeleton_data_get_num_path_constraints(
  704. spine_skeleton_data data,
  705. ) {
  706. return _spine_skeleton_data_get_num_path_constraints(
  707. data,
  708. );
  709. }
  710. late final _spine_skeleton_data_get_num_path_constraintsPtr =
  711. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  712. 'spine_skeleton_data_get_num_path_constraints');
  713. late final _spine_skeleton_data_get_num_path_constraints =
  714. _spine_skeleton_data_get_num_path_constraintsPtr
  715. .asFunction<int Function(spine_skeleton_data)>();
  716. ffi.Pointer<spine_path_constraint_data>
  717. spine_skeleton_data_get_path_constraints(
  718. spine_skeleton_data data,
  719. ) {
  720. return _spine_skeleton_data_get_path_constraints(
  721. data,
  722. );
  723. }
  724. late final _spine_skeleton_data_get_path_constraintsPtr = _lookup<
  725. ffi.NativeFunction<
  726. ffi.Pointer<spine_path_constraint_data> Function(
  727. spine_skeleton_data)>>(
  728. 'spine_skeleton_data_get_path_constraints');
  729. late final _spine_skeleton_data_get_path_constraints =
  730. _spine_skeleton_data_get_path_constraintsPtr.asFunction<
  731. ffi.Pointer<spine_path_constraint_data> Function(
  732. spine_skeleton_data)>();
  733. int spine_skeleton_data_get_num_physics_constraints(
  734. spine_skeleton_data data,
  735. ) {
  736. return _spine_skeleton_data_get_num_physics_constraints(
  737. data,
  738. );
  739. }
  740. late final _spine_skeleton_data_get_num_physics_constraintsPtr =
  741. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton_data)>>(
  742. 'spine_skeleton_data_get_num_physics_constraints');
  743. late final _spine_skeleton_data_get_num_physics_constraints =
  744. _spine_skeleton_data_get_num_physics_constraintsPtr
  745. .asFunction<int Function(spine_skeleton_data)>();
  746. ffi.Pointer<spine_physics_constraint_data>
  747. spine_skeleton_data_get_physics_constraints(
  748. spine_skeleton_data data,
  749. ) {
  750. return _spine_skeleton_data_get_physics_constraints(
  751. data,
  752. );
  753. }
  754. late final _spine_skeleton_data_get_physics_constraintsPtr = _lookup<
  755. ffi.NativeFunction<
  756. ffi.Pointer<spine_physics_constraint_data> Function(
  757. spine_skeleton_data)>>(
  758. 'spine_skeleton_data_get_physics_constraints');
  759. late final _spine_skeleton_data_get_physics_constraints =
  760. _spine_skeleton_data_get_physics_constraintsPtr.asFunction<
  761. ffi.Pointer<spine_physics_constraint_data> Function(
  762. spine_skeleton_data)>();
  763. double spine_skeleton_data_get_x(
  764. spine_skeleton_data data,
  765. ) {
  766. return _spine_skeleton_data_get_x(
  767. data,
  768. );
  769. }
  770. late final _spine_skeleton_data_get_xPtr =
  771. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  772. 'spine_skeleton_data_get_x');
  773. late final _spine_skeleton_data_get_x = _spine_skeleton_data_get_xPtr
  774. .asFunction<double Function(spine_skeleton_data)>();
  775. void spine_skeleton_data_set_x(
  776. spine_skeleton_data data,
  777. double x,
  778. ) {
  779. return _spine_skeleton_data_set_x(
  780. data,
  781. x,
  782. );
  783. }
  784. late final _spine_skeleton_data_set_xPtr = _lookup<
  785. ffi
  786. .NativeFunction<ffi.Void Function(spine_skeleton_data, ffi.Float)>>(
  787. 'spine_skeleton_data_set_x');
  788. late final _spine_skeleton_data_set_x = _spine_skeleton_data_set_xPtr
  789. .asFunction<void Function(spine_skeleton_data, double)>();
  790. double spine_skeleton_data_get_y(
  791. spine_skeleton_data data,
  792. ) {
  793. return _spine_skeleton_data_get_y(
  794. data,
  795. );
  796. }
  797. late final _spine_skeleton_data_get_yPtr =
  798. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  799. 'spine_skeleton_data_get_y');
  800. late final _spine_skeleton_data_get_y = _spine_skeleton_data_get_yPtr
  801. .asFunction<double Function(spine_skeleton_data)>();
  802. void spine_skeleton_data_set_y(
  803. spine_skeleton_data data,
  804. double y,
  805. ) {
  806. return _spine_skeleton_data_set_y(
  807. data,
  808. y,
  809. );
  810. }
  811. late final _spine_skeleton_data_set_yPtr = _lookup<
  812. ffi
  813. .NativeFunction<ffi.Void Function(spine_skeleton_data, ffi.Float)>>(
  814. 'spine_skeleton_data_set_y');
  815. late final _spine_skeleton_data_set_y = _spine_skeleton_data_set_yPtr
  816. .asFunction<void Function(spine_skeleton_data, double)>();
  817. double spine_skeleton_data_get_width(
  818. spine_skeleton_data data,
  819. ) {
  820. return _spine_skeleton_data_get_width(
  821. data,
  822. );
  823. }
  824. late final _spine_skeleton_data_get_widthPtr =
  825. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  826. 'spine_skeleton_data_get_width');
  827. late final _spine_skeleton_data_get_width = _spine_skeleton_data_get_widthPtr
  828. .asFunction<double Function(spine_skeleton_data)>();
  829. void spine_skeleton_data_set_width(
  830. spine_skeleton_data data,
  831. double width,
  832. ) {
  833. return _spine_skeleton_data_set_width(
  834. data,
  835. width,
  836. );
  837. }
  838. late final _spine_skeleton_data_set_widthPtr = _lookup<
  839. ffi
  840. .NativeFunction<ffi.Void Function(spine_skeleton_data, ffi.Float)>>(
  841. 'spine_skeleton_data_set_width');
  842. late final _spine_skeleton_data_set_width = _spine_skeleton_data_set_widthPtr
  843. .asFunction<void Function(spine_skeleton_data, double)>();
  844. double spine_skeleton_data_get_height(
  845. spine_skeleton_data data,
  846. ) {
  847. return _spine_skeleton_data_get_height(
  848. data,
  849. );
  850. }
  851. late final _spine_skeleton_data_get_heightPtr =
  852. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  853. 'spine_skeleton_data_get_height');
  854. late final _spine_skeleton_data_get_height =
  855. _spine_skeleton_data_get_heightPtr
  856. .asFunction<double Function(spine_skeleton_data)>();
  857. void spine_skeleton_data_set_height(
  858. spine_skeleton_data data,
  859. double height,
  860. ) {
  861. return _spine_skeleton_data_set_height(
  862. data,
  863. height,
  864. );
  865. }
  866. late final _spine_skeleton_data_set_heightPtr = _lookup<
  867. ffi
  868. .NativeFunction<ffi.Void Function(spine_skeleton_data, ffi.Float)>>(
  869. 'spine_skeleton_data_set_height');
  870. late final _spine_skeleton_data_set_height =
  871. _spine_skeleton_data_set_heightPtr
  872. .asFunction<void Function(spine_skeleton_data, double)>();
  873. ffi.Pointer<utf8> spine_skeleton_data_get_version(
  874. spine_skeleton_data data,
  875. ) {
  876. return _spine_skeleton_data_get_version(
  877. data,
  878. );
  879. }
  880. late final _spine_skeleton_data_get_versionPtr = _lookup<
  881. ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>>(
  882. 'spine_skeleton_data_get_version');
  883. late final _spine_skeleton_data_get_version =
  884. _spine_skeleton_data_get_versionPtr
  885. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>();
  886. /// OMITTED setVersion()
  887. ffi.Pointer<utf8> spine_skeleton_data_get_hash(
  888. spine_skeleton_data data,
  889. ) {
  890. return _spine_skeleton_data_get_hash(
  891. data,
  892. );
  893. }
  894. late final _spine_skeleton_data_get_hashPtr = _lookup<
  895. ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>>(
  896. 'spine_skeleton_data_get_hash');
  897. late final _spine_skeleton_data_get_hash = _spine_skeleton_data_get_hashPtr
  898. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>();
  899. /// OMITTED setHash()
  900. ffi.Pointer<utf8> spine_skeleton_data_get_images_path(
  901. spine_skeleton_data data,
  902. ) {
  903. return _spine_skeleton_data_get_images_path(
  904. data,
  905. );
  906. }
  907. late final _spine_skeleton_data_get_images_pathPtr = _lookup<
  908. ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>>(
  909. 'spine_skeleton_data_get_images_path');
  910. late final _spine_skeleton_data_get_images_path =
  911. _spine_skeleton_data_get_images_pathPtr
  912. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>();
  913. /// OMITTED setImagesPath()
  914. ffi.Pointer<utf8> spine_skeleton_data_get_audio_path(
  915. spine_skeleton_data data,
  916. ) {
  917. return _spine_skeleton_data_get_audio_path(
  918. data,
  919. );
  920. }
  921. late final _spine_skeleton_data_get_audio_pathPtr = _lookup<
  922. ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>>(
  923. 'spine_skeleton_data_get_audio_path');
  924. late final _spine_skeleton_data_get_audio_path =
  925. _spine_skeleton_data_get_audio_pathPtr
  926. .asFunction<ffi.Pointer<utf8> Function(spine_skeleton_data)>();
  927. /// OMITTED setAudioPath()
  928. double spine_skeleton_data_get_fps(
  929. spine_skeleton_data data,
  930. ) {
  931. return _spine_skeleton_data_get_fps(
  932. data,
  933. );
  934. }
  935. late final _spine_skeleton_data_get_fpsPtr =
  936. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  937. 'spine_skeleton_data_get_fps');
  938. late final _spine_skeleton_data_get_fps = _spine_skeleton_data_get_fpsPtr
  939. .asFunction<double Function(spine_skeleton_data)>();
  940. /// OMITTED setFps()
  941. double spine_skeleton_data_get_reference_scale(
  942. spine_skeleton_data data,
  943. ) {
  944. return _spine_skeleton_data_get_reference_scale(
  945. data,
  946. );
  947. }
  948. late final _spine_skeleton_data_get_reference_scalePtr =
  949. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton_data)>>(
  950. 'spine_skeleton_data_get_reference_scale');
  951. late final _spine_skeleton_data_get_reference_scale =
  952. _spine_skeleton_data_get_reference_scalePtr
  953. .asFunction<double Function(spine_skeleton_data)>();
  954. void spine_skeleton_data_dispose(
  955. spine_skeleton_data data,
  956. ) {
  957. return _spine_skeleton_data_dispose(
  958. data,
  959. );
  960. }
  961. late final _spine_skeleton_data_disposePtr =
  962. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton_data)>>(
  963. 'spine_skeleton_data_dispose');
  964. late final _spine_skeleton_data_dispose = _spine_skeleton_data_disposePtr
  965. .asFunction<void Function(spine_skeleton_data)>();
  966. spine_skeleton_drawable spine_skeleton_drawable_create(
  967. spine_skeleton_data skeletonData,
  968. ) {
  969. return _spine_skeleton_drawable_create(
  970. skeletonData,
  971. );
  972. }
  973. late final _spine_skeleton_drawable_createPtr = _lookup<
  974. ffi.NativeFunction<
  975. spine_skeleton_drawable Function(
  976. spine_skeleton_data)>>('spine_skeleton_drawable_create');
  977. late final _spine_skeleton_drawable_create =
  978. _spine_skeleton_drawable_createPtr
  979. .asFunction<spine_skeleton_drawable Function(spine_skeleton_data)>();
  980. spine_render_command spine_skeleton_drawable_render(
  981. spine_skeleton_drawable drawable,
  982. ) {
  983. return _spine_skeleton_drawable_render(
  984. drawable,
  985. );
  986. }
  987. late final _spine_skeleton_drawable_renderPtr = _lookup<
  988. ffi.NativeFunction<
  989. spine_render_command Function(
  990. spine_skeleton_drawable)>>('spine_skeleton_drawable_render');
  991. late final _spine_skeleton_drawable_render =
  992. _spine_skeleton_drawable_renderPtr
  993. .asFunction<spine_render_command Function(spine_skeleton_drawable)>();
  994. void spine_skeleton_drawable_dispose(
  995. spine_skeleton_drawable drawable,
  996. ) {
  997. return _spine_skeleton_drawable_dispose(
  998. drawable,
  999. );
  1000. }
  1001. late final _spine_skeleton_drawable_disposePtr =
  1002. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton_drawable)>>(
  1003. 'spine_skeleton_drawable_dispose');
  1004. late final _spine_skeleton_drawable_dispose =
  1005. _spine_skeleton_drawable_disposePtr
  1006. .asFunction<void Function(spine_skeleton_drawable)>();
  1007. spine_skeleton spine_skeleton_drawable_get_skeleton(
  1008. spine_skeleton_drawable drawable,
  1009. ) {
  1010. return _spine_skeleton_drawable_get_skeleton(
  1011. drawable,
  1012. );
  1013. }
  1014. late final _spine_skeleton_drawable_get_skeletonPtr = _lookup<
  1015. ffi.NativeFunction<spine_skeleton Function(spine_skeleton_drawable)>>(
  1016. 'spine_skeleton_drawable_get_skeleton');
  1017. late final _spine_skeleton_drawable_get_skeleton =
  1018. _spine_skeleton_drawable_get_skeletonPtr
  1019. .asFunction<spine_skeleton Function(spine_skeleton_drawable)>();
  1020. spine_animation_state spine_skeleton_drawable_get_animation_state(
  1021. spine_skeleton_drawable drawable,
  1022. ) {
  1023. return _spine_skeleton_drawable_get_animation_state(
  1024. drawable,
  1025. );
  1026. }
  1027. late final _spine_skeleton_drawable_get_animation_statePtr = _lookup<
  1028. ffi.NativeFunction<
  1029. spine_animation_state Function(spine_skeleton_drawable)>>(
  1030. 'spine_skeleton_drawable_get_animation_state');
  1031. late final _spine_skeleton_drawable_get_animation_state =
  1032. _spine_skeleton_drawable_get_animation_statePtr.asFunction<
  1033. spine_animation_state Function(spine_skeleton_drawable)>();
  1034. spine_animation_state_data spine_skeleton_drawable_get_animation_state_data(
  1035. spine_skeleton_drawable drawable,
  1036. ) {
  1037. return _spine_skeleton_drawable_get_animation_state_data(
  1038. drawable,
  1039. );
  1040. }
  1041. late final _spine_skeleton_drawable_get_animation_state_dataPtr = _lookup<
  1042. ffi.NativeFunction<
  1043. spine_animation_state_data Function(spine_skeleton_drawable)>>(
  1044. 'spine_skeleton_drawable_get_animation_state_data');
  1045. late final _spine_skeleton_drawable_get_animation_state_data =
  1046. _spine_skeleton_drawable_get_animation_state_dataPtr.asFunction<
  1047. spine_animation_state_data Function(spine_skeleton_drawable)>();
  1048. spine_animation_state_events
  1049. spine_skeleton_drawable_get_animation_state_events(
  1050. spine_skeleton_drawable drawable,
  1051. ) {
  1052. return _spine_skeleton_drawable_get_animation_state_events(
  1053. drawable,
  1054. );
  1055. }
  1056. late final _spine_skeleton_drawable_get_animation_state_eventsPtr = _lookup<
  1057. ffi.NativeFunction<
  1058. spine_animation_state_events Function(spine_skeleton_drawable)>>(
  1059. 'spine_skeleton_drawable_get_animation_state_events');
  1060. late final _spine_skeleton_drawable_get_animation_state_events =
  1061. _spine_skeleton_drawable_get_animation_state_eventsPtr.asFunction<
  1062. spine_animation_state_events Function(spine_skeleton_drawable)>();
  1063. ffi.Pointer<ffi.Float> spine_render_command_get_positions(
  1064. spine_render_command command,
  1065. ) {
  1066. return _spine_render_command_get_positions(
  1067. command,
  1068. );
  1069. }
  1070. late final _spine_render_command_get_positionsPtr = _lookup<
  1071. ffi.NativeFunction<
  1072. ffi.Pointer<ffi.Float> Function(
  1073. spine_render_command)>>('spine_render_command_get_positions');
  1074. late final _spine_render_command_get_positions =
  1075. _spine_render_command_get_positionsPtr
  1076. .asFunction<ffi.Pointer<ffi.Float> Function(spine_render_command)>();
  1077. ffi.Pointer<ffi.Float> spine_render_command_get_uvs(
  1078. spine_render_command command,
  1079. ) {
  1080. return _spine_render_command_get_uvs(
  1081. command,
  1082. );
  1083. }
  1084. late final _spine_render_command_get_uvsPtr = _lookup<
  1085. ffi.NativeFunction<
  1086. ffi.Pointer<ffi.Float> Function(
  1087. spine_render_command)>>('spine_render_command_get_uvs');
  1088. late final _spine_render_command_get_uvs = _spine_render_command_get_uvsPtr
  1089. .asFunction<ffi.Pointer<ffi.Float> Function(spine_render_command)>();
  1090. ffi.Pointer<ffi.Int32> spine_render_command_get_colors(
  1091. spine_render_command command,
  1092. ) {
  1093. return _spine_render_command_get_colors(
  1094. command,
  1095. );
  1096. }
  1097. late final _spine_render_command_get_colorsPtr = _lookup<
  1098. ffi.NativeFunction<
  1099. ffi.Pointer<ffi.Int32> Function(
  1100. spine_render_command)>>('spine_render_command_get_colors');
  1101. late final _spine_render_command_get_colors =
  1102. _spine_render_command_get_colorsPtr
  1103. .asFunction<ffi.Pointer<ffi.Int32> Function(spine_render_command)>();
  1104. int spine_render_command_get_num_vertices(
  1105. spine_render_command command,
  1106. ) {
  1107. return _spine_render_command_get_num_vertices(
  1108. command,
  1109. );
  1110. }
  1111. late final _spine_render_command_get_num_verticesPtr =
  1112. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_render_command)>>(
  1113. 'spine_render_command_get_num_vertices');
  1114. late final _spine_render_command_get_num_vertices =
  1115. _spine_render_command_get_num_verticesPtr
  1116. .asFunction<int Function(spine_render_command)>();
  1117. ffi.Pointer<ffi.Uint16> spine_render_command_get_indices(
  1118. spine_render_command command,
  1119. ) {
  1120. return _spine_render_command_get_indices(
  1121. command,
  1122. );
  1123. }
  1124. late final _spine_render_command_get_indicesPtr = _lookup<
  1125. ffi.NativeFunction<
  1126. ffi.Pointer<ffi.Uint16> Function(
  1127. spine_render_command)>>('spine_render_command_get_indices');
  1128. late final _spine_render_command_get_indices =
  1129. _spine_render_command_get_indicesPtr
  1130. .asFunction<ffi.Pointer<ffi.Uint16> Function(spine_render_command)>();
  1131. int spine_render_command_get_num_indices(
  1132. spine_render_command command,
  1133. ) {
  1134. return _spine_render_command_get_num_indices(
  1135. command,
  1136. );
  1137. }
  1138. late final _spine_render_command_get_num_indicesPtr =
  1139. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_render_command)>>(
  1140. 'spine_render_command_get_num_indices');
  1141. late final _spine_render_command_get_num_indices =
  1142. _spine_render_command_get_num_indicesPtr
  1143. .asFunction<int Function(spine_render_command)>();
  1144. int spine_render_command_get_atlas_page(
  1145. spine_render_command command,
  1146. ) {
  1147. return _spine_render_command_get_atlas_page(
  1148. command,
  1149. );
  1150. }
  1151. late final _spine_render_command_get_atlas_pagePtr =
  1152. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_render_command)>>(
  1153. 'spine_render_command_get_atlas_page');
  1154. late final _spine_render_command_get_atlas_page =
  1155. _spine_render_command_get_atlas_pagePtr
  1156. .asFunction<int Function(spine_render_command)>();
  1157. int spine_render_command_get_blend_mode(
  1158. spine_render_command command,
  1159. ) {
  1160. return _spine_render_command_get_blend_mode(
  1161. command,
  1162. );
  1163. }
  1164. late final _spine_render_command_get_blend_modePtr =
  1165. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_render_command)>>(
  1166. 'spine_render_command_get_blend_mode');
  1167. late final _spine_render_command_get_blend_mode =
  1168. _spine_render_command_get_blend_modePtr
  1169. .asFunction<int Function(spine_render_command)>();
  1170. spine_render_command spine_render_command_get_next(
  1171. spine_render_command command,
  1172. ) {
  1173. return _spine_render_command_get_next(
  1174. command,
  1175. );
  1176. }
  1177. late final _spine_render_command_get_nextPtr = _lookup<
  1178. ffi
  1179. .NativeFunction<spine_render_command Function(spine_render_command)>>(
  1180. 'spine_render_command_get_next');
  1181. late final _spine_render_command_get_next = _spine_render_command_get_nextPtr
  1182. .asFunction<spine_render_command Function(spine_render_command)>();
  1183. ffi.Pointer<utf8> spine_animation_get_name(
  1184. spine_animation animation,
  1185. ) {
  1186. return _spine_animation_get_name(
  1187. animation,
  1188. );
  1189. }
  1190. late final _spine_animation_get_namePtr =
  1191. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_animation)>>(
  1192. 'spine_animation_get_name');
  1193. late final _spine_animation_get_name = _spine_animation_get_namePtr
  1194. .asFunction<ffi.Pointer<utf8> Function(spine_animation)>();
  1195. /// OMITTED getTimelines()
  1196. /// OMITTED hasTimeline()
  1197. double spine_animation_get_duration(
  1198. spine_animation animation,
  1199. ) {
  1200. return _spine_animation_get_duration(
  1201. animation,
  1202. );
  1203. }
  1204. late final _spine_animation_get_durationPtr =
  1205. _lookup<ffi.NativeFunction<ffi.Float Function(spine_animation)>>(
  1206. 'spine_animation_get_duration');
  1207. late final _spine_animation_get_duration = _spine_animation_get_durationPtr
  1208. .asFunction<double Function(spine_animation)>();
  1209. /// OMITTED setDuration()
  1210. spine_skeleton_data spine_animation_state_data_get_skeleton_data(
  1211. spine_animation_state_data stateData,
  1212. ) {
  1213. return _spine_animation_state_data_get_skeleton_data(
  1214. stateData,
  1215. );
  1216. }
  1217. late final _spine_animation_state_data_get_skeleton_dataPtr = _lookup<
  1218. ffi.NativeFunction<
  1219. spine_skeleton_data Function(spine_animation_state_data)>>(
  1220. 'spine_animation_state_data_get_skeleton_data');
  1221. late final _spine_animation_state_data_get_skeleton_data =
  1222. _spine_animation_state_data_get_skeleton_dataPtr.asFunction<
  1223. spine_skeleton_data Function(spine_animation_state_data)>();
  1224. double spine_animation_state_data_get_default_mix(
  1225. spine_animation_state_data stateData,
  1226. ) {
  1227. return _spine_animation_state_data_get_default_mix(
  1228. stateData,
  1229. );
  1230. }
  1231. late final _spine_animation_state_data_get_default_mixPtr = _lookup<
  1232. ffi.NativeFunction<ffi.Float Function(spine_animation_state_data)>>(
  1233. 'spine_animation_state_data_get_default_mix');
  1234. late final _spine_animation_state_data_get_default_mix =
  1235. _spine_animation_state_data_get_default_mixPtr
  1236. .asFunction<double Function(spine_animation_state_data)>();
  1237. void spine_animation_state_data_set_default_mix(
  1238. spine_animation_state_data stateData,
  1239. double defaultMix,
  1240. ) {
  1241. return _spine_animation_state_data_set_default_mix(
  1242. stateData,
  1243. defaultMix,
  1244. );
  1245. }
  1246. late final _spine_animation_state_data_set_default_mixPtr = _lookup<
  1247. ffi.NativeFunction<
  1248. ffi.Void Function(spine_animation_state_data,
  1249. ffi.Float)>>('spine_animation_state_data_set_default_mix');
  1250. late final _spine_animation_state_data_set_default_mix =
  1251. _spine_animation_state_data_set_default_mixPtr
  1252. .asFunction<void Function(spine_animation_state_data, double)>();
  1253. void spine_animation_state_data_set_mix(
  1254. spine_animation_state_data stateData,
  1255. spine_animation from,
  1256. spine_animation to,
  1257. double duration,
  1258. ) {
  1259. return _spine_animation_state_data_set_mix(
  1260. stateData,
  1261. from,
  1262. to,
  1263. duration,
  1264. );
  1265. }
  1266. late final _spine_animation_state_data_set_mixPtr = _lookup<
  1267. ffi.NativeFunction<
  1268. ffi.Void Function(
  1269. spine_animation_state_data,
  1270. spine_animation,
  1271. spine_animation,
  1272. ffi.Float)>>('spine_animation_state_data_set_mix');
  1273. late final _spine_animation_state_data_set_mix =
  1274. _spine_animation_state_data_set_mixPtr.asFunction<
  1275. void Function(spine_animation_state_data, spine_animation,
  1276. spine_animation, double)>();
  1277. double spine_animation_state_data_get_mix(
  1278. spine_animation_state_data stateData,
  1279. spine_animation from,
  1280. spine_animation to,
  1281. ) {
  1282. return _spine_animation_state_data_get_mix(
  1283. stateData,
  1284. from,
  1285. to,
  1286. );
  1287. }
  1288. late final _spine_animation_state_data_get_mixPtr = _lookup<
  1289. ffi.NativeFunction<
  1290. ffi.Float Function(spine_animation_state_data, spine_animation,
  1291. spine_animation)>>('spine_animation_state_data_get_mix');
  1292. late final _spine_animation_state_data_get_mix =
  1293. _spine_animation_state_data_get_mixPtr.asFunction<
  1294. double Function(
  1295. spine_animation_state_data, spine_animation, spine_animation)>();
  1296. void spine_animation_state_data_set_mix_by_name(
  1297. spine_animation_state_data stateData,
  1298. ffi.Pointer<utf8> fromName,
  1299. ffi.Pointer<utf8> toName,
  1300. double duration,
  1301. ) {
  1302. return _spine_animation_state_data_set_mix_by_name(
  1303. stateData,
  1304. fromName,
  1305. toName,
  1306. duration,
  1307. );
  1308. }
  1309. late final _spine_animation_state_data_set_mix_by_namePtr = _lookup<
  1310. ffi.NativeFunction<
  1311. ffi.Void Function(
  1312. spine_animation_state_data,
  1313. ffi.Pointer<utf8>,
  1314. ffi.Pointer<utf8>,
  1315. ffi.Float)>>('spine_animation_state_data_set_mix_by_name');
  1316. late final _spine_animation_state_data_set_mix_by_name =
  1317. _spine_animation_state_data_set_mix_by_namePtr.asFunction<
  1318. void Function(spine_animation_state_data, ffi.Pointer<utf8>,
  1319. ffi.Pointer<utf8>, double)>();
  1320. double spine_animation_state_data_get_mix_by_name(
  1321. spine_animation_state_data stateData,
  1322. ffi.Pointer<utf8> fromName,
  1323. ffi.Pointer<utf8> toName,
  1324. ) {
  1325. return _spine_animation_state_data_get_mix_by_name(
  1326. stateData,
  1327. fromName,
  1328. toName,
  1329. );
  1330. }
  1331. late final _spine_animation_state_data_get_mix_by_namePtr = _lookup<
  1332. ffi.NativeFunction<
  1333. ffi.Float Function(spine_animation_state_data, ffi.Pointer<utf8>,
  1334. ffi.Pointer<utf8>)>>(
  1335. 'spine_animation_state_data_get_mix_by_name');
  1336. late final _spine_animation_state_data_get_mix_by_name =
  1337. _spine_animation_state_data_get_mix_by_namePtr.asFunction<
  1338. double Function(spine_animation_state_data, ffi.Pointer<utf8>,
  1339. ffi.Pointer<utf8>)>();
  1340. void spine_animation_state_data_clear(
  1341. spine_animation_state_data stateData,
  1342. ) {
  1343. return _spine_animation_state_data_clear(
  1344. stateData,
  1345. );
  1346. }
  1347. late final _spine_animation_state_data_clearPtr = _lookup<
  1348. ffi.NativeFunction<ffi.Void Function(spine_animation_state_data)>>(
  1349. 'spine_animation_state_data_clear');
  1350. late final _spine_animation_state_data_clear =
  1351. _spine_animation_state_data_clearPtr
  1352. .asFunction<void Function(spine_animation_state_data)>();
  1353. void spine_animation_state_update(
  1354. spine_animation_state state,
  1355. double delta,
  1356. ) {
  1357. return _spine_animation_state_update(
  1358. state,
  1359. delta,
  1360. );
  1361. }
  1362. late final _spine_animation_state_updatePtr = _lookup<
  1363. ffi
  1364. .NativeFunction<ffi.Void Function(spine_animation_state, ffi.Float)>>(
  1365. 'spine_animation_state_update');
  1366. late final _spine_animation_state_update = _spine_animation_state_updatePtr
  1367. .asFunction<void Function(spine_animation_state, double)>();
  1368. void spine_animation_state_apply(
  1369. spine_animation_state state,
  1370. spine_skeleton skeleton,
  1371. ) {
  1372. return _spine_animation_state_apply(
  1373. state,
  1374. skeleton,
  1375. );
  1376. }
  1377. late final _spine_animation_state_applyPtr = _lookup<
  1378. ffi.NativeFunction<
  1379. ffi.Void Function(spine_animation_state,
  1380. spine_skeleton)>>('spine_animation_state_apply');
  1381. late final _spine_animation_state_apply = _spine_animation_state_applyPtr
  1382. .asFunction<void Function(spine_animation_state, spine_skeleton)>();
  1383. void spine_animation_state_clear_tracks(
  1384. spine_animation_state state,
  1385. ) {
  1386. return _spine_animation_state_clear_tracks(
  1387. state,
  1388. );
  1389. }
  1390. late final _spine_animation_state_clear_tracksPtr =
  1391. _lookup<ffi.NativeFunction<ffi.Void Function(spine_animation_state)>>(
  1392. 'spine_animation_state_clear_tracks');
  1393. late final _spine_animation_state_clear_tracks =
  1394. _spine_animation_state_clear_tracksPtr
  1395. .asFunction<void Function(spine_animation_state)>();
  1396. void spine_animation_state_clear_track(
  1397. spine_animation_state state,
  1398. int trackIndex,
  1399. ) {
  1400. return _spine_animation_state_clear_track(
  1401. state,
  1402. trackIndex,
  1403. );
  1404. }
  1405. late final _spine_animation_state_clear_trackPtr = _lookup<
  1406. ffi
  1407. .NativeFunction<ffi.Void Function(spine_animation_state, ffi.Int32)>>(
  1408. 'spine_animation_state_clear_track');
  1409. late final _spine_animation_state_clear_track =
  1410. _spine_animation_state_clear_trackPtr
  1411. .asFunction<void Function(spine_animation_state, int)>();
  1412. int spine_animation_state_get_num_tracks(
  1413. spine_animation_state state,
  1414. ) {
  1415. return _spine_animation_state_get_num_tracks(
  1416. state,
  1417. );
  1418. }
  1419. late final _spine_animation_state_get_num_tracksPtr =
  1420. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_animation_state)>>(
  1421. 'spine_animation_state_get_num_tracks');
  1422. late final _spine_animation_state_get_num_tracks =
  1423. _spine_animation_state_get_num_tracksPtr
  1424. .asFunction<int Function(spine_animation_state)>();
  1425. spine_track_entry spine_animation_state_set_animation_by_name(
  1426. spine_animation_state state,
  1427. int trackIndex,
  1428. ffi.Pointer<utf8> animationName,
  1429. int loop,
  1430. ) {
  1431. return _spine_animation_state_set_animation_by_name(
  1432. state,
  1433. trackIndex,
  1434. animationName,
  1435. loop,
  1436. );
  1437. }
  1438. late final _spine_animation_state_set_animation_by_namePtr = _lookup<
  1439. ffi.NativeFunction<
  1440. spine_track_entry Function(
  1441. spine_animation_state,
  1442. ffi.Int32,
  1443. ffi.Pointer<utf8>,
  1444. spine_bool)>>('spine_animation_state_set_animation_by_name');
  1445. late final _spine_animation_state_set_animation_by_name =
  1446. _spine_animation_state_set_animation_by_namePtr.asFunction<
  1447. spine_track_entry Function(
  1448. spine_animation_state, int, ffi.Pointer<utf8>, int)>();
  1449. spine_track_entry spine_animation_state_set_animation(
  1450. spine_animation_state state,
  1451. int trackIndex,
  1452. spine_animation animation,
  1453. int loop,
  1454. ) {
  1455. return _spine_animation_state_set_animation(
  1456. state,
  1457. trackIndex,
  1458. animation,
  1459. loop,
  1460. );
  1461. }
  1462. late final _spine_animation_state_set_animationPtr = _lookup<
  1463. ffi.NativeFunction<
  1464. spine_track_entry Function(
  1465. spine_animation_state,
  1466. ffi.Int32,
  1467. spine_animation,
  1468. spine_bool)>>('spine_animation_state_set_animation');
  1469. late final _spine_animation_state_set_animation =
  1470. _spine_animation_state_set_animationPtr.asFunction<
  1471. spine_track_entry Function(
  1472. spine_animation_state, int, spine_animation, int)>();
  1473. spine_track_entry spine_animation_state_add_animation_by_name(
  1474. spine_animation_state state,
  1475. int trackIndex,
  1476. ffi.Pointer<utf8> animationName,
  1477. int loop,
  1478. double delay,
  1479. ) {
  1480. return _spine_animation_state_add_animation_by_name(
  1481. state,
  1482. trackIndex,
  1483. animationName,
  1484. loop,
  1485. delay,
  1486. );
  1487. }
  1488. late final _spine_animation_state_add_animation_by_namePtr = _lookup<
  1489. ffi.NativeFunction<
  1490. spine_track_entry Function(
  1491. spine_animation_state,
  1492. ffi.Int32,
  1493. ffi.Pointer<utf8>,
  1494. spine_bool,
  1495. ffi.Float)>>('spine_animation_state_add_animation_by_name');
  1496. late final _spine_animation_state_add_animation_by_name =
  1497. _spine_animation_state_add_animation_by_namePtr.asFunction<
  1498. spine_track_entry Function(
  1499. spine_animation_state, int, ffi.Pointer<utf8>, int, double)>();
  1500. spine_track_entry spine_animation_state_add_animation(
  1501. spine_animation_state state,
  1502. int trackIndex,
  1503. spine_animation animation,
  1504. int loop,
  1505. double delay,
  1506. ) {
  1507. return _spine_animation_state_add_animation(
  1508. state,
  1509. trackIndex,
  1510. animation,
  1511. loop,
  1512. delay,
  1513. );
  1514. }
  1515. late final _spine_animation_state_add_animationPtr = _lookup<
  1516. ffi.NativeFunction<
  1517. spine_track_entry Function(
  1518. spine_animation_state,
  1519. ffi.Int32,
  1520. spine_animation,
  1521. spine_bool,
  1522. ffi.Float)>>('spine_animation_state_add_animation');
  1523. late final _spine_animation_state_add_animation =
  1524. _spine_animation_state_add_animationPtr.asFunction<
  1525. spine_track_entry Function(
  1526. spine_animation_state, int, spine_animation, int, double)>();
  1527. spine_track_entry spine_animation_state_set_empty_animation(
  1528. spine_animation_state state,
  1529. int trackIndex,
  1530. double mixDuration,
  1531. ) {
  1532. return _spine_animation_state_set_empty_animation(
  1533. state,
  1534. trackIndex,
  1535. mixDuration,
  1536. );
  1537. }
  1538. late final _spine_animation_state_set_empty_animationPtr = _lookup<
  1539. ffi.NativeFunction<
  1540. spine_track_entry Function(spine_animation_state, ffi.Int32,
  1541. ffi.Float)>>('spine_animation_state_set_empty_animation');
  1542. late final _spine_animation_state_set_empty_animation =
  1543. _spine_animation_state_set_empty_animationPtr.asFunction<
  1544. spine_track_entry Function(spine_animation_state, int, double)>();
  1545. spine_track_entry spine_animation_state_add_empty_animation(
  1546. spine_animation_state state,
  1547. int trackIndex,
  1548. double mixDuration,
  1549. double delay,
  1550. ) {
  1551. return _spine_animation_state_add_empty_animation(
  1552. state,
  1553. trackIndex,
  1554. mixDuration,
  1555. delay,
  1556. );
  1557. }
  1558. late final _spine_animation_state_add_empty_animationPtr = _lookup<
  1559. ffi.NativeFunction<
  1560. spine_track_entry Function(
  1561. spine_animation_state,
  1562. ffi.Int32,
  1563. ffi.Float,
  1564. ffi.Float)>>('spine_animation_state_add_empty_animation');
  1565. late final _spine_animation_state_add_empty_animation =
  1566. _spine_animation_state_add_empty_animationPtr.asFunction<
  1567. spine_track_entry Function(
  1568. spine_animation_state, int, double, double)>();
  1569. void spine_animation_state_set_empty_animations(
  1570. spine_animation_state state,
  1571. double mixDuration,
  1572. ) {
  1573. return _spine_animation_state_set_empty_animations(
  1574. state,
  1575. mixDuration,
  1576. );
  1577. }
  1578. late final _spine_animation_state_set_empty_animationsPtr = _lookup<
  1579. ffi
  1580. .NativeFunction<ffi.Void Function(spine_animation_state, ffi.Float)>>(
  1581. 'spine_animation_state_set_empty_animations');
  1582. late final _spine_animation_state_set_empty_animations =
  1583. _spine_animation_state_set_empty_animationsPtr
  1584. .asFunction<void Function(spine_animation_state, double)>();
  1585. spine_track_entry spine_animation_state_get_current(
  1586. spine_animation_state state,
  1587. int trackIndex,
  1588. ) {
  1589. return _spine_animation_state_get_current(
  1590. state,
  1591. trackIndex,
  1592. );
  1593. }
  1594. late final _spine_animation_state_get_currentPtr = _lookup<
  1595. ffi.NativeFunction<
  1596. spine_track_entry Function(spine_animation_state,
  1597. ffi.Int32)>>('spine_animation_state_get_current');
  1598. late final _spine_animation_state_get_current =
  1599. _spine_animation_state_get_currentPtr
  1600. .asFunction<spine_track_entry Function(spine_animation_state, int)>();
  1601. spine_animation_state_data spine_animation_state_get_data(
  1602. spine_animation_state state,
  1603. ) {
  1604. return _spine_animation_state_get_data(
  1605. state,
  1606. );
  1607. }
  1608. late final _spine_animation_state_get_dataPtr = _lookup<
  1609. ffi.NativeFunction<
  1610. spine_animation_state_data Function(
  1611. spine_animation_state)>>('spine_animation_state_get_data');
  1612. late final _spine_animation_state_get_data =
  1613. _spine_animation_state_get_dataPtr.asFunction<
  1614. spine_animation_state_data Function(spine_animation_state)>();
  1615. double spine_animation_state_get_time_scale(
  1616. spine_animation_state state,
  1617. ) {
  1618. return _spine_animation_state_get_time_scale(
  1619. state,
  1620. );
  1621. }
  1622. late final _spine_animation_state_get_time_scalePtr =
  1623. _lookup<ffi.NativeFunction<ffi.Float Function(spine_animation_state)>>(
  1624. 'spine_animation_state_get_time_scale');
  1625. late final _spine_animation_state_get_time_scale =
  1626. _spine_animation_state_get_time_scalePtr
  1627. .asFunction<double Function(spine_animation_state)>();
  1628. void spine_animation_state_set_time_scale(
  1629. spine_animation_state state,
  1630. double timeScale,
  1631. ) {
  1632. return _spine_animation_state_set_time_scale(
  1633. state,
  1634. timeScale,
  1635. );
  1636. }
  1637. late final _spine_animation_state_set_time_scalePtr = _lookup<
  1638. ffi
  1639. .NativeFunction<ffi.Void Function(spine_animation_state, ffi.Float)>>(
  1640. 'spine_animation_state_set_time_scale');
  1641. late final _spine_animation_state_set_time_scale =
  1642. _spine_animation_state_set_time_scalePtr
  1643. .asFunction<void Function(spine_animation_state, double)>();
  1644. /// OMITTED setListener()
  1645. /// OMITTED setListener()
  1646. /// OMITTED disableQueue()
  1647. /// OMITTED enableQueue()
  1648. /// OMITTED setManualTrackEntryDisposal()
  1649. /// OMITTED getManualTrackEntryDisposal()
  1650. void spine_animation_state_dispose_track_entry(
  1651. spine_animation_state state,
  1652. spine_track_entry entry,
  1653. ) {
  1654. return _spine_animation_state_dispose_track_entry(
  1655. state,
  1656. entry,
  1657. );
  1658. }
  1659. late final _spine_animation_state_dispose_track_entryPtr = _lookup<
  1660. ffi.NativeFunction<
  1661. ffi.Void Function(spine_animation_state,
  1662. spine_track_entry)>>('spine_animation_state_dispose_track_entry');
  1663. late final _spine_animation_state_dispose_track_entry =
  1664. _spine_animation_state_dispose_track_entryPtr.asFunction<
  1665. void Function(spine_animation_state, spine_track_entry)>();
  1666. int spine_animation_state_events_get_num_events(
  1667. spine_animation_state_events events,
  1668. ) {
  1669. return _spine_animation_state_events_get_num_events(
  1670. events,
  1671. );
  1672. }
  1673. late final _spine_animation_state_events_get_num_eventsPtr = _lookup<
  1674. ffi.NativeFunction<ffi.Int32 Function(spine_animation_state_events)>>(
  1675. 'spine_animation_state_events_get_num_events');
  1676. late final _spine_animation_state_events_get_num_events =
  1677. _spine_animation_state_events_get_num_eventsPtr
  1678. .asFunction<int Function(spine_animation_state_events)>();
  1679. int spine_animation_state_events_get_event_type(
  1680. spine_animation_state_events events,
  1681. int index,
  1682. ) {
  1683. return _spine_animation_state_events_get_event_type(
  1684. events,
  1685. index,
  1686. );
  1687. }
  1688. late final _spine_animation_state_events_get_event_typePtr = _lookup<
  1689. ffi.NativeFunction<
  1690. ffi.Int32 Function(spine_animation_state_events,
  1691. ffi.Int32)>>('spine_animation_state_events_get_event_type');
  1692. late final _spine_animation_state_events_get_event_type =
  1693. _spine_animation_state_events_get_event_typePtr
  1694. .asFunction<int Function(spine_animation_state_events, int)>();
  1695. spine_track_entry spine_animation_state_events_get_track_entry(
  1696. spine_animation_state_events events,
  1697. int index,
  1698. ) {
  1699. return _spine_animation_state_events_get_track_entry(
  1700. events,
  1701. index,
  1702. );
  1703. }
  1704. late final _spine_animation_state_events_get_track_entryPtr = _lookup<
  1705. ffi.NativeFunction<
  1706. spine_track_entry Function(spine_animation_state_events,
  1707. ffi.Int32)>>('spine_animation_state_events_get_track_entry');
  1708. late final _spine_animation_state_events_get_track_entry =
  1709. _spine_animation_state_events_get_track_entryPtr.asFunction<
  1710. spine_track_entry Function(spine_animation_state_events, int)>();
  1711. spine_event spine_animation_state_events_get_event(
  1712. spine_animation_state_events events,
  1713. int index,
  1714. ) {
  1715. return _spine_animation_state_events_get_event(
  1716. events,
  1717. index,
  1718. );
  1719. }
  1720. late final _spine_animation_state_events_get_eventPtr = _lookup<
  1721. ffi.NativeFunction<
  1722. spine_event Function(spine_animation_state_events,
  1723. ffi.Int32)>>('spine_animation_state_events_get_event');
  1724. late final _spine_animation_state_events_get_event =
  1725. _spine_animation_state_events_get_eventPtr.asFunction<
  1726. spine_event Function(spine_animation_state_events, int)>();
  1727. void spine_animation_state_events_reset(
  1728. spine_animation_state_events events,
  1729. ) {
  1730. return _spine_animation_state_events_reset(
  1731. events,
  1732. );
  1733. }
  1734. late final _spine_animation_state_events_resetPtr = _lookup<
  1735. ffi.NativeFunction<ffi.Void Function(spine_animation_state_events)>>(
  1736. 'spine_animation_state_events_reset');
  1737. late final _spine_animation_state_events_reset =
  1738. _spine_animation_state_events_resetPtr
  1739. .asFunction<void Function(spine_animation_state_events)>();
  1740. int spine_track_entry_get_track_index(
  1741. spine_track_entry entry,
  1742. ) {
  1743. return _spine_track_entry_get_track_index(
  1744. entry,
  1745. );
  1746. }
  1747. late final _spine_track_entry_get_track_indexPtr =
  1748. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_track_entry)>>(
  1749. 'spine_track_entry_get_track_index');
  1750. late final _spine_track_entry_get_track_index =
  1751. _spine_track_entry_get_track_indexPtr
  1752. .asFunction<int Function(spine_track_entry)>();
  1753. spine_animation spine_track_entry_get_animation(
  1754. spine_track_entry entry,
  1755. ) {
  1756. return _spine_track_entry_get_animation(
  1757. entry,
  1758. );
  1759. }
  1760. late final _spine_track_entry_get_animationPtr =
  1761. _lookup<ffi.NativeFunction<spine_animation Function(spine_track_entry)>>(
  1762. 'spine_track_entry_get_animation');
  1763. late final _spine_track_entry_get_animation =
  1764. _spine_track_entry_get_animationPtr
  1765. .asFunction<spine_animation Function(spine_track_entry)>();
  1766. spine_track_entry spine_track_entry_get_previous(
  1767. spine_track_entry entry,
  1768. ) {
  1769. return _spine_track_entry_get_previous(
  1770. entry,
  1771. );
  1772. }
  1773. late final _spine_track_entry_get_previousPtr = _lookup<
  1774. ffi.NativeFunction<spine_track_entry Function(spine_track_entry)>>(
  1775. 'spine_track_entry_get_previous');
  1776. late final _spine_track_entry_get_previous =
  1777. _spine_track_entry_get_previousPtr
  1778. .asFunction<spine_track_entry Function(spine_track_entry)>();
  1779. int spine_track_entry_get_loop(
  1780. spine_track_entry entry,
  1781. ) {
  1782. return _spine_track_entry_get_loop(
  1783. entry,
  1784. );
  1785. }
  1786. late final _spine_track_entry_get_loopPtr =
  1787. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  1788. 'spine_track_entry_get_loop');
  1789. late final _spine_track_entry_get_loop = _spine_track_entry_get_loopPtr
  1790. .asFunction<int Function(spine_track_entry)>();
  1791. void spine_track_entry_set_loop(
  1792. spine_track_entry entry,
  1793. int loop,
  1794. ) {
  1795. return _spine_track_entry_set_loop(
  1796. entry,
  1797. loop,
  1798. );
  1799. }
  1800. late final _spine_track_entry_set_loopPtr = _lookup<
  1801. ffi.NativeFunction<ffi.Void Function(spine_track_entry, spine_bool)>>(
  1802. 'spine_track_entry_set_loop');
  1803. late final _spine_track_entry_set_loop = _spine_track_entry_set_loopPtr
  1804. .asFunction<void Function(spine_track_entry, int)>();
  1805. int spine_track_entry_get_hold_previous(
  1806. spine_track_entry entry,
  1807. ) {
  1808. return _spine_track_entry_get_hold_previous(
  1809. entry,
  1810. );
  1811. }
  1812. late final _spine_track_entry_get_hold_previousPtr =
  1813. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  1814. 'spine_track_entry_get_hold_previous');
  1815. late final _spine_track_entry_get_hold_previous =
  1816. _spine_track_entry_get_hold_previousPtr
  1817. .asFunction<int Function(spine_track_entry)>();
  1818. void spine_track_entry_set_hold_previous(
  1819. spine_track_entry entry,
  1820. int holdPrevious,
  1821. ) {
  1822. return _spine_track_entry_set_hold_previous(
  1823. entry,
  1824. holdPrevious,
  1825. );
  1826. }
  1827. late final _spine_track_entry_set_hold_previousPtr = _lookup<
  1828. ffi.NativeFunction<ffi.Void Function(spine_track_entry, spine_bool)>>(
  1829. 'spine_track_entry_set_hold_previous');
  1830. late final _spine_track_entry_set_hold_previous =
  1831. _spine_track_entry_set_hold_previousPtr
  1832. .asFunction<void Function(spine_track_entry, int)>();
  1833. int spine_track_entry_get_reverse(
  1834. spine_track_entry entry,
  1835. ) {
  1836. return _spine_track_entry_get_reverse(
  1837. entry,
  1838. );
  1839. }
  1840. late final _spine_track_entry_get_reversePtr =
  1841. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  1842. 'spine_track_entry_get_reverse');
  1843. late final _spine_track_entry_get_reverse = _spine_track_entry_get_reversePtr
  1844. .asFunction<int Function(spine_track_entry)>();
  1845. void spine_track_entry_set_reverse(
  1846. spine_track_entry entry,
  1847. int reverse,
  1848. ) {
  1849. return _spine_track_entry_set_reverse(
  1850. entry,
  1851. reverse,
  1852. );
  1853. }
  1854. late final _spine_track_entry_set_reversePtr = _lookup<
  1855. ffi.NativeFunction<ffi.Void Function(spine_track_entry, spine_bool)>>(
  1856. 'spine_track_entry_set_reverse');
  1857. late final _spine_track_entry_set_reverse = _spine_track_entry_set_reversePtr
  1858. .asFunction<void Function(spine_track_entry, int)>();
  1859. int spine_track_entry_get_shortest_rotation(
  1860. spine_track_entry entry,
  1861. ) {
  1862. return _spine_track_entry_get_shortest_rotation(
  1863. entry,
  1864. );
  1865. }
  1866. late final _spine_track_entry_get_shortest_rotationPtr =
  1867. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  1868. 'spine_track_entry_get_shortest_rotation');
  1869. late final _spine_track_entry_get_shortest_rotation =
  1870. _spine_track_entry_get_shortest_rotationPtr
  1871. .asFunction<int Function(spine_track_entry)>();
  1872. void spine_track_entry_set_shortest_rotation(
  1873. spine_track_entry entry,
  1874. int shortestRotation,
  1875. ) {
  1876. return _spine_track_entry_set_shortest_rotation(
  1877. entry,
  1878. shortestRotation,
  1879. );
  1880. }
  1881. late final _spine_track_entry_set_shortest_rotationPtr = _lookup<
  1882. ffi.NativeFunction<ffi.Void Function(spine_track_entry, spine_bool)>>(
  1883. 'spine_track_entry_set_shortest_rotation');
  1884. late final _spine_track_entry_set_shortest_rotation =
  1885. _spine_track_entry_set_shortest_rotationPtr
  1886. .asFunction<void Function(spine_track_entry, int)>();
  1887. double spine_track_entry_get_delay(
  1888. spine_track_entry entry,
  1889. ) {
  1890. return _spine_track_entry_get_delay(
  1891. entry,
  1892. );
  1893. }
  1894. late final _spine_track_entry_get_delayPtr =
  1895. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  1896. 'spine_track_entry_get_delay');
  1897. late final _spine_track_entry_get_delay = _spine_track_entry_get_delayPtr
  1898. .asFunction<double Function(spine_track_entry)>();
  1899. void spine_track_entry_set_delay(
  1900. spine_track_entry entry,
  1901. double delay,
  1902. ) {
  1903. return _spine_track_entry_set_delay(
  1904. entry,
  1905. delay,
  1906. );
  1907. }
  1908. late final _spine_track_entry_set_delayPtr = _lookup<
  1909. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  1910. 'spine_track_entry_set_delay');
  1911. late final _spine_track_entry_set_delay = _spine_track_entry_set_delayPtr
  1912. .asFunction<void Function(spine_track_entry, double)>();
  1913. double spine_track_entry_get_track_time(
  1914. spine_track_entry entry,
  1915. ) {
  1916. return _spine_track_entry_get_track_time(
  1917. entry,
  1918. );
  1919. }
  1920. late final _spine_track_entry_get_track_timePtr =
  1921. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  1922. 'spine_track_entry_get_track_time');
  1923. late final _spine_track_entry_get_track_time =
  1924. _spine_track_entry_get_track_timePtr
  1925. .asFunction<double Function(spine_track_entry)>();
  1926. void spine_track_entry_set_track_time(
  1927. spine_track_entry entry,
  1928. double trackTime,
  1929. ) {
  1930. return _spine_track_entry_set_track_time(
  1931. entry,
  1932. trackTime,
  1933. );
  1934. }
  1935. late final _spine_track_entry_set_track_timePtr = _lookup<
  1936. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  1937. 'spine_track_entry_set_track_time');
  1938. late final _spine_track_entry_set_track_time =
  1939. _spine_track_entry_set_track_timePtr
  1940. .asFunction<void Function(spine_track_entry, double)>();
  1941. double spine_track_entry_get_track_end(
  1942. spine_track_entry entry,
  1943. ) {
  1944. return _spine_track_entry_get_track_end(
  1945. entry,
  1946. );
  1947. }
  1948. late final _spine_track_entry_get_track_endPtr =
  1949. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  1950. 'spine_track_entry_get_track_end');
  1951. late final _spine_track_entry_get_track_end =
  1952. _spine_track_entry_get_track_endPtr
  1953. .asFunction<double Function(spine_track_entry)>();
  1954. void spine_track_entry_set_track_end(
  1955. spine_track_entry entry,
  1956. double trackEnd,
  1957. ) {
  1958. return _spine_track_entry_set_track_end(
  1959. entry,
  1960. trackEnd,
  1961. );
  1962. }
  1963. late final _spine_track_entry_set_track_endPtr = _lookup<
  1964. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  1965. 'spine_track_entry_set_track_end');
  1966. late final _spine_track_entry_set_track_end =
  1967. _spine_track_entry_set_track_endPtr
  1968. .asFunction<void Function(spine_track_entry, double)>();
  1969. double spine_track_entry_get_animation_start(
  1970. spine_track_entry entry,
  1971. ) {
  1972. return _spine_track_entry_get_animation_start(
  1973. entry,
  1974. );
  1975. }
  1976. late final _spine_track_entry_get_animation_startPtr =
  1977. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  1978. 'spine_track_entry_get_animation_start');
  1979. late final _spine_track_entry_get_animation_start =
  1980. _spine_track_entry_get_animation_startPtr
  1981. .asFunction<double Function(spine_track_entry)>();
  1982. void spine_track_entry_set_animation_start(
  1983. spine_track_entry entry,
  1984. double animationStart,
  1985. ) {
  1986. return _spine_track_entry_set_animation_start(
  1987. entry,
  1988. animationStart,
  1989. );
  1990. }
  1991. late final _spine_track_entry_set_animation_startPtr = _lookup<
  1992. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  1993. 'spine_track_entry_set_animation_start');
  1994. late final _spine_track_entry_set_animation_start =
  1995. _spine_track_entry_set_animation_startPtr
  1996. .asFunction<void Function(spine_track_entry, double)>();
  1997. double spine_track_entry_get_animation_end(
  1998. spine_track_entry entry,
  1999. ) {
  2000. return _spine_track_entry_get_animation_end(
  2001. entry,
  2002. );
  2003. }
  2004. late final _spine_track_entry_get_animation_endPtr =
  2005. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2006. 'spine_track_entry_get_animation_end');
  2007. late final _spine_track_entry_get_animation_end =
  2008. _spine_track_entry_get_animation_endPtr
  2009. .asFunction<double Function(spine_track_entry)>();
  2010. void spine_track_entry_set_animation_end(
  2011. spine_track_entry entry,
  2012. double animationEnd,
  2013. ) {
  2014. return _spine_track_entry_set_animation_end(
  2015. entry,
  2016. animationEnd,
  2017. );
  2018. }
  2019. late final _spine_track_entry_set_animation_endPtr = _lookup<
  2020. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2021. 'spine_track_entry_set_animation_end');
  2022. late final _spine_track_entry_set_animation_end =
  2023. _spine_track_entry_set_animation_endPtr
  2024. .asFunction<void Function(spine_track_entry, double)>();
  2025. double spine_track_entry_get_animation_last(
  2026. spine_track_entry entry,
  2027. ) {
  2028. return _spine_track_entry_get_animation_last(
  2029. entry,
  2030. );
  2031. }
  2032. late final _spine_track_entry_get_animation_lastPtr =
  2033. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2034. 'spine_track_entry_get_animation_last');
  2035. late final _spine_track_entry_get_animation_last =
  2036. _spine_track_entry_get_animation_lastPtr
  2037. .asFunction<double Function(spine_track_entry)>();
  2038. void spine_track_entry_set_animation_last(
  2039. spine_track_entry entry,
  2040. double animationLast,
  2041. ) {
  2042. return _spine_track_entry_set_animation_last(
  2043. entry,
  2044. animationLast,
  2045. );
  2046. }
  2047. late final _spine_track_entry_set_animation_lastPtr = _lookup<
  2048. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2049. 'spine_track_entry_set_animation_last');
  2050. late final _spine_track_entry_set_animation_last =
  2051. _spine_track_entry_set_animation_lastPtr
  2052. .asFunction<void Function(spine_track_entry, double)>();
  2053. double spine_track_entry_get_animation_time(
  2054. spine_track_entry entry,
  2055. ) {
  2056. return _spine_track_entry_get_animation_time(
  2057. entry,
  2058. );
  2059. }
  2060. late final _spine_track_entry_get_animation_timePtr =
  2061. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2062. 'spine_track_entry_get_animation_time');
  2063. late final _spine_track_entry_get_animation_time =
  2064. _spine_track_entry_get_animation_timePtr
  2065. .asFunction<double Function(spine_track_entry)>();
  2066. double spine_track_entry_get_time_scale(
  2067. spine_track_entry entry,
  2068. ) {
  2069. return _spine_track_entry_get_time_scale(
  2070. entry,
  2071. );
  2072. }
  2073. late final _spine_track_entry_get_time_scalePtr =
  2074. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2075. 'spine_track_entry_get_time_scale');
  2076. late final _spine_track_entry_get_time_scale =
  2077. _spine_track_entry_get_time_scalePtr
  2078. .asFunction<double Function(spine_track_entry)>();
  2079. void spine_track_entry_set_time_scale(
  2080. spine_track_entry entry,
  2081. double timeScale,
  2082. ) {
  2083. return _spine_track_entry_set_time_scale(
  2084. entry,
  2085. timeScale,
  2086. );
  2087. }
  2088. late final _spine_track_entry_set_time_scalePtr = _lookup<
  2089. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2090. 'spine_track_entry_set_time_scale');
  2091. late final _spine_track_entry_set_time_scale =
  2092. _spine_track_entry_set_time_scalePtr
  2093. .asFunction<void Function(spine_track_entry, double)>();
  2094. double spine_track_entry_get_alpha(
  2095. spine_track_entry entry,
  2096. ) {
  2097. return _spine_track_entry_get_alpha(
  2098. entry,
  2099. );
  2100. }
  2101. late final _spine_track_entry_get_alphaPtr =
  2102. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2103. 'spine_track_entry_get_alpha');
  2104. late final _spine_track_entry_get_alpha = _spine_track_entry_get_alphaPtr
  2105. .asFunction<double Function(spine_track_entry)>();
  2106. void spine_track_entry_set_alpha(
  2107. spine_track_entry entry,
  2108. double alpha,
  2109. ) {
  2110. return _spine_track_entry_set_alpha(
  2111. entry,
  2112. alpha,
  2113. );
  2114. }
  2115. late final _spine_track_entry_set_alphaPtr = _lookup<
  2116. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2117. 'spine_track_entry_set_alpha');
  2118. late final _spine_track_entry_set_alpha = _spine_track_entry_set_alphaPtr
  2119. .asFunction<void Function(spine_track_entry, double)>();
  2120. double spine_track_entry_get_event_threshold(
  2121. spine_track_entry entry,
  2122. ) {
  2123. return _spine_track_entry_get_event_threshold(
  2124. entry,
  2125. );
  2126. }
  2127. late final _spine_track_entry_get_event_thresholdPtr =
  2128. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2129. 'spine_track_entry_get_event_threshold');
  2130. late final _spine_track_entry_get_event_threshold =
  2131. _spine_track_entry_get_event_thresholdPtr
  2132. .asFunction<double Function(spine_track_entry)>();
  2133. void spine_track_entry_set_event_threshold(
  2134. spine_track_entry entry,
  2135. double eventThreshold,
  2136. ) {
  2137. return _spine_track_entry_set_event_threshold(
  2138. entry,
  2139. eventThreshold,
  2140. );
  2141. }
  2142. late final _spine_track_entry_set_event_thresholdPtr = _lookup<
  2143. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2144. 'spine_track_entry_set_event_threshold');
  2145. late final _spine_track_entry_set_event_threshold =
  2146. _spine_track_entry_set_event_thresholdPtr
  2147. .asFunction<void Function(spine_track_entry, double)>();
  2148. double spine_track_entry_get_alpha_attachment_threshold(
  2149. spine_track_entry entry,
  2150. ) {
  2151. return _spine_track_entry_get_alpha_attachment_threshold(
  2152. entry,
  2153. );
  2154. }
  2155. late final _spine_track_entry_get_alpha_attachment_thresholdPtr =
  2156. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2157. 'spine_track_entry_get_alpha_attachment_threshold');
  2158. late final _spine_track_entry_get_alpha_attachment_threshold =
  2159. _spine_track_entry_get_alpha_attachment_thresholdPtr
  2160. .asFunction<double Function(spine_track_entry)>();
  2161. void spine_track_entry_set_alpha_attachment_threshold(
  2162. spine_track_entry entry,
  2163. double attachmentThreshold,
  2164. ) {
  2165. return _spine_track_entry_set_alpha_attachment_threshold(
  2166. entry,
  2167. attachmentThreshold,
  2168. );
  2169. }
  2170. late final _spine_track_entry_set_alpha_attachment_thresholdPtr = _lookup<
  2171. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2172. 'spine_track_entry_set_alpha_attachment_threshold');
  2173. late final _spine_track_entry_set_alpha_attachment_threshold =
  2174. _spine_track_entry_set_alpha_attachment_thresholdPtr
  2175. .asFunction<void Function(spine_track_entry, double)>();
  2176. double spine_track_entry_get_mix_attachment_threshold(
  2177. spine_track_entry entry,
  2178. ) {
  2179. return _spine_track_entry_get_mix_attachment_threshold(
  2180. entry,
  2181. );
  2182. }
  2183. late final _spine_track_entry_get_mix_attachment_thresholdPtr =
  2184. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2185. 'spine_track_entry_get_mix_attachment_threshold');
  2186. late final _spine_track_entry_get_mix_attachment_threshold =
  2187. _spine_track_entry_get_mix_attachment_thresholdPtr
  2188. .asFunction<double Function(spine_track_entry)>();
  2189. void spine_track_entry_set_mix_attachment_threshold(
  2190. spine_track_entry entry,
  2191. double attachmentThreshold,
  2192. ) {
  2193. return _spine_track_entry_set_mix_attachment_threshold(
  2194. entry,
  2195. attachmentThreshold,
  2196. );
  2197. }
  2198. late final _spine_track_entry_set_mix_attachment_thresholdPtr = _lookup<
  2199. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2200. 'spine_track_entry_set_mix_attachment_threshold');
  2201. late final _spine_track_entry_set_mix_attachment_threshold =
  2202. _spine_track_entry_set_mix_attachment_thresholdPtr
  2203. .asFunction<void Function(spine_track_entry, double)>();
  2204. double spine_track_entry_get_mix_draw_order_threshold(
  2205. spine_track_entry entry,
  2206. ) {
  2207. return _spine_track_entry_get_mix_draw_order_threshold(
  2208. entry,
  2209. );
  2210. }
  2211. late final _spine_track_entry_get_mix_draw_order_thresholdPtr =
  2212. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2213. 'spine_track_entry_get_mix_draw_order_threshold');
  2214. late final _spine_track_entry_get_mix_draw_order_threshold =
  2215. _spine_track_entry_get_mix_draw_order_thresholdPtr
  2216. .asFunction<double Function(spine_track_entry)>();
  2217. void spine_track_entry_set_mix_draw_order_threshold(
  2218. spine_track_entry entry,
  2219. double drawOrderThreshold,
  2220. ) {
  2221. return _spine_track_entry_set_mix_draw_order_threshold(
  2222. entry,
  2223. drawOrderThreshold,
  2224. );
  2225. }
  2226. late final _spine_track_entry_set_mix_draw_order_thresholdPtr = _lookup<
  2227. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2228. 'spine_track_entry_set_mix_draw_order_threshold');
  2229. late final _spine_track_entry_set_mix_draw_order_threshold =
  2230. _spine_track_entry_set_mix_draw_order_thresholdPtr
  2231. .asFunction<void Function(spine_track_entry, double)>();
  2232. spine_track_entry spine_track_entry_get_next(
  2233. spine_track_entry entry,
  2234. ) {
  2235. return _spine_track_entry_get_next(
  2236. entry,
  2237. );
  2238. }
  2239. late final _spine_track_entry_get_nextPtr = _lookup<
  2240. ffi.NativeFunction<spine_track_entry Function(spine_track_entry)>>(
  2241. 'spine_track_entry_get_next');
  2242. late final _spine_track_entry_get_next = _spine_track_entry_get_nextPtr
  2243. .asFunction<spine_track_entry Function(spine_track_entry)>();
  2244. int spine_track_entry_is_complete(
  2245. spine_track_entry entry,
  2246. ) {
  2247. return _spine_track_entry_is_complete(
  2248. entry,
  2249. );
  2250. }
  2251. late final _spine_track_entry_is_completePtr =
  2252. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  2253. 'spine_track_entry_is_complete');
  2254. late final _spine_track_entry_is_complete = _spine_track_entry_is_completePtr
  2255. .asFunction<int Function(spine_track_entry)>();
  2256. double spine_track_entry_get_mix_time(
  2257. spine_track_entry entry,
  2258. ) {
  2259. return _spine_track_entry_get_mix_time(
  2260. entry,
  2261. );
  2262. }
  2263. late final _spine_track_entry_get_mix_timePtr =
  2264. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2265. 'spine_track_entry_get_mix_time');
  2266. late final _spine_track_entry_get_mix_time =
  2267. _spine_track_entry_get_mix_timePtr
  2268. .asFunction<double Function(spine_track_entry)>();
  2269. void spine_track_entry_set_mix_time(
  2270. spine_track_entry entry,
  2271. double mixTime,
  2272. ) {
  2273. return _spine_track_entry_set_mix_time(
  2274. entry,
  2275. mixTime,
  2276. );
  2277. }
  2278. late final _spine_track_entry_set_mix_timePtr = _lookup<
  2279. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2280. 'spine_track_entry_set_mix_time');
  2281. late final _spine_track_entry_set_mix_time =
  2282. _spine_track_entry_set_mix_timePtr
  2283. .asFunction<void Function(spine_track_entry, double)>();
  2284. double spine_track_entry_get_mix_duration(
  2285. spine_track_entry entry,
  2286. ) {
  2287. return _spine_track_entry_get_mix_duration(
  2288. entry,
  2289. );
  2290. }
  2291. late final _spine_track_entry_get_mix_durationPtr =
  2292. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2293. 'spine_track_entry_get_mix_duration');
  2294. late final _spine_track_entry_get_mix_duration =
  2295. _spine_track_entry_get_mix_durationPtr
  2296. .asFunction<double Function(spine_track_entry)>();
  2297. void spine_track_entry_set_mix_duration(
  2298. spine_track_entry entry,
  2299. double mixDuration,
  2300. ) {
  2301. return _spine_track_entry_set_mix_duration(
  2302. entry,
  2303. mixDuration,
  2304. );
  2305. }
  2306. late final _spine_track_entry_set_mix_durationPtr = _lookup<
  2307. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Float)>>(
  2308. 'spine_track_entry_set_mix_duration');
  2309. late final _spine_track_entry_set_mix_duration =
  2310. _spine_track_entry_set_mix_durationPtr
  2311. .asFunction<void Function(spine_track_entry, double)>();
  2312. int spine_track_entry_get_mix_blend(
  2313. spine_track_entry entry,
  2314. ) {
  2315. return _spine_track_entry_get_mix_blend(
  2316. entry,
  2317. );
  2318. }
  2319. late final _spine_track_entry_get_mix_blendPtr =
  2320. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_track_entry)>>(
  2321. 'spine_track_entry_get_mix_blend');
  2322. late final _spine_track_entry_get_mix_blend =
  2323. _spine_track_entry_get_mix_blendPtr
  2324. .asFunction<int Function(spine_track_entry)>();
  2325. void spine_track_entry_set_mix_blend(
  2326. spine_track_entry entry,
  2327. int mixBlend,
  2328. ) {
  2329. return _spine_track_entry_set_mix_blend(
  2330. entry,
  2331. mixBlend,
  2332. );
  2333. }
  2334. late final _spine_track_entry_set_mix_blendPtr = _lookup<
  2335. ffi.NativeFunction<ffi.Void Function(spine_track_entry, ffi.Int32)>>(
  2336. 'spine_track_entry_set_mix_blend');
  2337. late final _spine_track_entry_set_mix_blend =
  2338. _spine_track_entry_set_mix_blendPtr
  2339. .asFunction<void Function(spine_track_entry, int)>();
  2340. spine_track_entry spine_track_entry_get_mixing_from(
  2341. spine_track_entry entry,
  2342. ) {
  2343. return _spine_track_entry_get_mixing_from(
  2344. entry,
  2345. );
  2346. }
  2347. late final _spine_track_entry_get_mixing_fromPtr = _lookup<
  2348. ffi.NativeFunction<spine_track_entry Function(spine_track_entry)>>(
  2349. 'spine_track_entry_get_mixing_from');
  2350. late final _spine_track_entry_get_mixing_from =
  2351. _spine_track_entry_get_mixing_fromPtr
  2352. .asFunction<spine_track_entry Function(spine_track_entry)>();
  2353. spine_track_entry spine_track_entry_get_mixing_to(
  2354. spine_track_entry entry,
  2355. ) {
  2356. return _spine_track_entry_get_mixing_to(
  2357. entry,
  2358. );
  2359. }
  2360. late final _spine_track_entry_get_mixing_toPtr = _lookup<
  2361. ffi.NativeFunction<spine_track_entry Function(spine_track_entry)>>(
  2362. 'spine_track_entry_get_mixing_to');
  2363. late final _spine_track_entry_get_mixing_to =
  2364. _spine_track_entry_get_mixing_toPtr
  2365. .asFunction<spine_track_entry Function(spine_track_entry)>();
  2366. void spine_track_entry_reset_rotation_directions(
  2367. spine_track_entry entry,
  2368. ) {
  2369. return _spine_track_entry_reset_rotation_directions(
  2370. entry,
  2371. );
  2372. }
  2373. late final _spine_track_entry_reset_rotation_directionsPtr =
  2374. _lookup<ffi.NativeFunction<ffi.Void Function(spine_track_entry)>>(
  2375. 'spine_track_entry_reset_rotation_directions');
  2376. late final _spine_track_entry_reset_rotation_directions =
  2377. _spine_track_entry_reset_rotation_directionsPtr
  2378. .asFunction<void Function(spine_track_entry)>();
  2379. double spine_track_entry_get_track_complete(
  2380. spine_track_entry entry,
  2381. ) {
  2382. return _spine_track_entry_get_track_complete(
  2383. entry,
  2384. );
  2385. }
  2386. late final _spine_track_entry_get_track_completePtr =
  2387. _lookup<ffi.NativeFunction<ffi.Float Function(spine_track_entry)>>(
  2388. 'spine_track_entry_get_track_complete');
  2389. late final _spine_track_entry_get_track_complete =
  2390. _spine_track_entry_get_track_completePtr
  2391. .asFunction<double Function(spine_track_entry)>();
  2392. int spine_track_entry_was_applied(
  2393. spine_track_entry entry,
  2394. ) {
  2395. return _spine_track_entry_was_applied(
  2396. entry,
  2397. );
  2398. }
  2399. late final _spine_track_entry_was_appliedPtr =
  2400. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  2401. 'spine_track_entry_was_applied');
  2402. late final _spine_track_entry_was_applied = _spine_track_entry_was_appliedPtr
  2403. .asFunction<int Function(spine_track_entry)>();
  2404. int spine_track_entry_is_next_ready(
  2405. spine_track_entry entry,
  2406. ) {
  2407. return _spine_track_entry_is_next_ready(
  2408. entry,
  2409. );
  2410. }
  2411. late final _spine_track_entry_is_next_readyPtr =
  2412. _lookup<ffi.NativeFunction<spine_bool Function(spine_track_entry)>>(
  2413. 'spine_track_entry_is_next_ready');
  2414. late final _spine_track_entry_is_next_ready =
  2415. _spine_track_entry_is_next_readyPtr
  2416. .asFunction<int Function(spine_track_entry)>();
  2417. /// OMITTED setListener()
  2418. /// OMITTED setListener()
  2419. void spine_skeleton_update_cache(
  2420. spine_skeleton skeleton,
  2421. ) {
  2422. return _spine_skeleton_update_cache(
  2423. skeleton,
  2424. );
  2425. }
  2426. late final _spine_skeleton_update_cachePtr =
  2427. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton)>>(
  2428. 'spine_skeleton_update_cache');
  2429. late final _spine_skeleton_update_cache = _spine_skeleton_update_cachePtr
  2430. .asFunction<void Function(spine_skeleton)>();
  2431. /// OMITTED printUpdateCache()
  2432. void spine_skeleton_update_world_transform(
  2433. spine_skeleton skeleton,
  2434. int physics,
  2435. ) {
  2436. return _spine_skeleton_update_world_transform(
  2437. skeleton,
  2438. physics,
  2439. );
  2440. }
  2441. late final _spine_skeleton_update_world_transformPtr =
  2442. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Int32)>>(
  2443. 'spine_skeleton_update_world_transform');
  2444. late final _spine_skeleton_update_world_transform =
  2445. _spine_skeleton_update_world_transformPtr
  2446. .asFunction<void Function(spine_skeleton, int)>();
  2447. void spine_skeleton_update_world_transform_bone(
  2448. spine_skeleton skeleton,
  2449. int physics,
  2450. spine_bone parent,
  2451. ) {
  2452. return _spine_skeleton_update_world_transform_bone(
  2453. skeleton,
  2454. physics,
  2455. parent,
  2456. );
  2457. }
  2458. late final _spine_skeleton_update_world_transform_bonePtr = _lookup<
  2459. ffi.NativeFunction<
  2460. ffi.Void Function(spine_skeleton, ffi.Int32,
  2461. spine_bone)>>('spine_skeleton_update_world_transform_bone');
  2462. late final _spine_skeleton_update_world_transform_bone =
  2463. _spine_skeleton_update_world_transform_bonePtr
  2464. .asFunction<void Function(spine_skeleton, int, spine_bone)>();
  2465. void spine_skeleton_set_to_setup_pose(
  2466. spine_skeleton skeleton,
  2467. ) {
  2468. return _spine_skeleton_set_to_setup_pose(
  2469. skeleton,
  2470. );
  2471. }
  2472. late final _spine_skeleton_set_to_setup_posePtr =
  2473. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton)>>(
  2474. 'spine_skeleton_set_to_setup_pose');
  2475. late final _spine_skeleton_set_to_setup_pose =
  2476. _spine_skeleton_set_to_setup_posePtr
  2477. .asFunction<void Function(spine_skeleton)>();
  2478. void spine_skeleton_set_bones_to_setup_pose(
  2479. spine_skeleton skeleton,
  2480. ) {
  2481. return _spine_skeleton_set_bones_to_setup_pose(
  2482. skeleton,
  2483. );
  2484. }
  2485. late final _spine_skeleton_set_bones_to_setup_posePtr =
  2486. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton)>>(
  2487. 'spine_skeleton_set_bones_to_setup_pose');
  2488. late final _spine_skeleton_set_bones_to_setup_pose =
  2489. _spine_skeleton_set_bones_to_setup_posePtr
  2490. .asFunction<void Function(spine_skeleton)>();
  2491. void spine_skeleton_set_slots_to_setup_pose(
  2492. spine_skeleton skeleton,
  2493. ) {
  2494. return _spine_skeleton_set_slots_to_setup_pose(
  2495. skeleton,
  2496. );
  2497. }
  2498. late final _spine_skeleton_set_slots_to_setup_posePtr =
  2499. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton)>>(
  2500. 'spine_skeleton_set_slots_to_setup_pose');
  2501. late final _spine_skeleton_set_slots_to_setup_pose =
  2502. _spine_skeleton_set_slots_to_setup_posePtr
  2503. .asFunction<void Function(spine_skeleton)>();
  2504. spine_bone spine_skeleton_find_bone(
  2505. spine_skeleton skeleton,
  2506. ffi.Pointer<utf8> boneName,
  2507. ) {
  2508. return _spine_skeleton_find_bone(
  2509. skeleton,
  2510. boneName,
  2511. );
  2512. }
  2513. late final _spine_skeleton_find_bonePtr = _lookup<
  2514. ffi.NativeFunction<
  2515. spine_bone Function(
  2516. spine_skeleton, ffi.Pointer<utf8>)>>('spine_skeleton_find_bone');
  2517. late final _spine_skeleton_find_bone = _spine_skeleton_find_bonePtr
  2518. .asFunction<spine_bone Function(spine_skeleton, ffi.Pointer<utf8>)>();
  2519. spine_slot spine_skeleton_find_slot(
  2520. spine_skeleton skeleton,
  2521. ffi.Pointer<utf8> slotName,
  2522. ) {
  2523. return _spine_skeleton_find_slot(
  2524. skeleton,
  2525. slotName,
  2526. );
  2527. }
  2528. late final _spine_skeleton_find_slotPtr = _lookup<
  2529. ffi.NativeFunction<
  2530. spine_slot Function(
  2531. spine_skeleton, ffi.Pointer<utf8>)>>('spine_skeleton_find_slot');
  2532. late final _spine_skeleton_find_slot = _spine_skeleton_find_slotPtr
  2533. .asFunction<spine_slot Function(spine_skeleton, ffi.Pointer<utf8>)>();
  2534. void spine_skeleton_set_skin_by_name(
  2535. spine_skeleton skeleton,
  2536. ffi.Pointer<utf8> skinName,
  2537. ) {
  2538. return _spine_skeleton_set_skin_by_name(
  2539. skeleton,
  2540. skinName,
  2541. );
  2542. }
  2543. late final _spine_skeleton_set_skin_by_namePtr = _lookup<
  2544. ffi.NativeFunction<
  2545. ffi.Void Function(spine_skeleton,
  2546. ffi.Pointer<utf8>)>>('spine_skeleton_set_skin_by_name');
  2547. late final _spine_skeleton_set_skin_by_name =
  2548. _spine_skeleton_set_skin_by_namePtr
  2549. .asFunction<void Function(spine_skeleton, ffi.Pointer<utf8>)>();
  2550. void spine_skeleton_set_skin(
  2551. spine_skeleton skeleton,
  2552. spine_skin skin,
  2553. ) {
  2554. return _spine_skeleton_set_skin(
  2555. skeleton,
  2556. skin,
  2557. );
  2558. }
  2559. late final _spine_skeleton_set_skinPtr = _lookup<
  2560. ffi.NativeFunction<ffi.Void Function(spine_skeleton, spine_skin)>>(
  2561. 'spine_skeleton_set_skin');
  2562. late final _spine_skeleton_set_skin = _spine_skeleton_set_skinPtr
  2563. .asFunction<void Function(spine_skeleton, spine_skin)>();
  2564. spine_attachment spine_skeleton_get_attachment_by_name(
  2565. spine_skeleton skeleton,
  2566. ffi.Pointer<utf8> slotName,
  2567. ffi.Pointer<utf8> attachmentName,
  2568. ) {
  2569. return _spine_skeleton_get_attachment_by_name(
  2570. skeleton,
  2571. slotName,
  2572. attachmentName,
  2573. );
  2574. }
  2575. late final _spine_skeleton_get_attachment_by_namePtr = _lookup<
  2576. ffi.NativeFunction<
  2577. spine_attachment Function(spine_skeleton, ffi.Pointer<utf8>,
  2578. ffi.Pointer<utf8>)>>('spine_skeleton_get_attachment_by_name');
  2579. late final _spine_skeleton_get_attachment_by_name =
  2580. _spine_skeleton_get_attachment_by_namePtr.asFunction<
  2581. spine_attachment Function(
  2582. spine_skeleton, ffi.Pointer<utf8>, ffi.Pointer<utf8>)>();
  2583. spine_attachment spine_skeleton_get_attachment(
  2584. spine_skeleton skeleton,
  2585. int slotIndex,
  2586. ffi.Pointer<utf8> attachmentName,
  2587. ) {
  2588. return _spine_skeleton_get_attachment(
  2589. skeleton,
  2590. slotIndex,
  2591. attachmentName,
  2592. );
  2593. }
  2594. late final _spine_skeleton_get_attachmentPtr = _lookup<
  2595. ffi.NativeFunction<
  2596. spine_attachment Function(spine_skeleton, ffi.Int32,
  2597. ffi.Pointer<utf8>)>>('spine_skeleton_get_attachment');
  2598. late final _spine_skeleton_get_attachment =
  2599. _spine_skeleton_get_attachmentPtr.asFunction<
  2600. spine_attachment Function(spine_skeleton, int, ffi.Pointer<utf8>)>();
  2601. void spine_skeleton_set_attachment(
  2602. spine_skeleton skeleton,
  2603. ffi.Pointer<utf8> slotName,
  2604. ffi.Pointer<utf8> attachmentName,
  2605. ) {
  2606. return _spine_skeleton_set_attachment(
  2607. skeleton,
  2608. slotName,
  2609. attachmentName,
  2610. );
  2611. }
  2612. late final _spine_skeleton_set_attachmentPtr = _lookup<
  2613. ffi.NativeFunction<
  2614. ffi.Void Function(spine_skeleton, ffi.Pointer<utf8>,
  2615. ffi.Pointer<utf8>)>>('spine_skeleton_set_attachment');
  2616. late final _spine_skeleton_set_attachment =
  2617. _spine_skeleton_set_attachmentPtr.asFunction<
  2618. void Function(
  2619. spine_skeleton, ffi.Pointer<utf8>, ffi.Pointer<utf8>)>();
  2620. spine_ik_constraint spine_skeleton_find_ik_constraint(
  2621. spine_skeleton skeleton,
  2622. ffi.Pointer<utf8> constraintName,
  2623. ) {
  2624. return _spine_skeleton_find_ik_constraint(
  2625. skeleton,
  2626. constraintName,
  2627. );
  2628. }
  2629. late final _spine_skeleton_find_ik_constraintPtr = _lookup<
  2630. ffi.NativeFunction<
  2631. spine_ik_constraint Function(spine_skeleton,
  2632. ffi.Pointer<utf8>)>>('spine_skeleton_find_ik_constraint');
  2633. late final _spine_skeleton_find_ik_constraint =
  2634. _spine_skeleton_find_ik_constraintPtr.asFunction<
  2635. spine_ik_constraint Function(spine_skeleton, ffi.Pointer<utf8>)>();
  2636. spine_transform_constraint spine_skeleton_find_transform_constraint(
  2637. spine_skeleton skeleton,
  2638. ffi.Pointer<utf8> constraintName,
  2639. ) {
  2640. return _spine_skeleton_find_transform_constraint(
  2641. skeleton,
  2642. constraintName,
  2643. );
  2644. }
  2645. late final _spine_skeleton_find_transform_constraintPtr = _lookup<
  2646. ffi.NativeFunction<
  2647. spine_transform_constraint Function(spine_skeleton,
  2648. ffi.Pointer<utf8>)>>('spine_skeleton_find_transform_constraint');
  2649. late final _spine_skeleton_find_transform_constraint =
  2650. _spine_skeleton_find_transform_constraintPtr.asFunction<
  2651. spine_transform_constraint Function(
  2652. spine_skeleton, ffi.Pointer<utf8>)>();
  2653. spine_path_constraint spine_skeleton_find_path_constraint(
  2654. spine_skeleton skeleton,
  2655. ffi.Pointer<utf8> constraintName,
  2656. ) {
  2657. return _spine_skeleton_find_path_constraint(
  2658. skeleton,
  2659. constraintName,
  2660. );
  2661. }
  2662. late final _spine_skeleton_find_path_constraintPtr = _lookup<
  2663. ffi.NativeFunction<
  2664. spine_path_constraint Function(spine_skeleton,
  2665. ffi.Pointer<utf8>)>>('spine_skeleton_find_path_constraint');
  2666. late final _spine_skeleton_find_path_constraint =
  2667. _spine_skeleton_find_path_constraintPtr.asFunction<
  2668. spine_path_constraint Function(spine_skeleton, ffi.Pointer<utf8>)>();
  2669. spine_physics_constraint spine_skeleton_find_physics_constraint(
  2670. spine_skeleton skeleton,
  2671. ffi.Pointer<utf8> constraintName,
  2672. ) {
  2673. return _spine_skeleton_find_physics_constraint(
  2674. skeleton,
  2675. constraintName,
  2676. );
  2677. }
  2678. late final _spine_skeleton_find_physics_constraintPtr = _lookup<
  2679. ffi.NativeFunction<
  2680. spine_physics_constraint Function(spine_skeleton,
  2681. ffi.Pointer<utf8>)>>('spine_skeleton_find_physics_constraint');
  2682. late final _spine_skeleton_find_physics_constraint =
  2683. _spine_skeleton_find_physics_constraintPtr.asFunction<
  2684. spine_physics_constraint Function(
  2685. spine_skeleton, ffi.Pointer<utf8>)>();
  2686. spine_bounds spine_skeleton_get_bounds(
  2687. spine_skeleton skeleton,
  2688. ) {
  2689. return _spine_skeleton_get_bounds(
  2690. skeleton,
  2691. );
  2692. }
  2693. late final _spine_skeleton_get_boundsPtr =
  2694. _lookup<ffi.NativeFunction<spine_bounds Function(spine_skeleton)>>(
  2695. 'spine_skeleton_get_bounds');
  2696. late final _spine_skeleton_get_bounds = _spine_skeleton_get_boundsPtr
  2697. .asFunction<spine_bounds Function(spine_skeleton)>();
  2698. spine_bone spine_skeleton_get_root_bone(
  2699. spine_skeleton skeleton,
  2700. ) {
  2701. return _spine_skeleton_get_root_bone(
  2702. skeleton,
  2703. );
  2704. }
  2705. late final _spine_skeleton_get_root_bonePtr =
  2706. _lookup<ffi.NativeFunction<spine_bone Function(spine_skeleton)>>(
  2707. 'spine_skeleton_get_root_bone');
  2708. late final _spine_skeleton_get_root_bone = _spine_skeleton_get_root_bonePtr
  2709. .asFunction<spine_bone Function(spine_skeleton)>();
  2710. spine_skeleton_data spine_skeleton_get_data(
  2711. spine_skeleton skeleton,
  2712. ) {
  2713. return _spine_skeleton_get_data(
  2714. skeleton,
  2715. );
  2716. }
  2717. late final _spine_skeleton_get_dataPtr =
  2718. _lookup<ffi.NativeFunction<spine_skeleton_data Function(spine_skeleton)>>(
  2719. 'spine_skeleton_get_data');
  2720. late final _spine_skeleton_get_data = _spine_skeleton_get_dataPtr
  2721. .asFunction<spine_skeleton_data Function(spine_skeleton)>();
  2722. int spine_skeleton_get_num_bones(
  2723. spine_skeleton skeleton,
  2724. ) {
  2725. return _spine_skeleton_get_num_bones(
  2726. skeleton,
  2727. );
  2728. }
  2729. late final _spine_skeleton_get_num_bonesPtr =
  2730. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2731. 'spine_skeleton_get_num_bones');
  2732. late final _spine_skeleton_get_num_bones = _spine_skeleton_get_num_bonesPtr
  2733. .asFunction<int Function(spine_skeleton)>();
  2734. ffi.Pointer<spine_bone> spine_skeleton_get_bones(
  2735. spine_skeleton skeleton,
  2736. ) {
  2737. return _spine_skeleton_get_bones(
  2738. skeleton,
  2739. );
  2740. }
  2741. late final _spine_skeleton_get_bonesPtr = _lookup<
  2742. ffi.NativeFunction<ffi.Pointer<spine_bone> Function(spine_skeleton)>>(
  2743. 'spine_skeleton_get_bones');
  2744. late final _spine_skeleton_get_bones = _spine_skeleton_get_bonesPtr
  2745. .asFunction<ffi.Pointer<spine_bone> Function(spine_skeleton)>();
  2746. /// OMITTED getUpdateCacheList()
  2747. int spine_skeleton_get_num_slots(
  2748. spine_skeleton skeleton,
  2749. ) {
  2750. return _spine_skeleton_get_num_slots(
  2751. skeleton,
  2752. );
  2753. }
  2754. late final _spine_skeleton_get_num_slotsPtr =
  2755. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2756. 'spine_skeleton_get_num_slots');
  2757. late final _spine_skeleton_get_num_slots = _spine_skeleton_get_num_slotsPtr
  2758. .asFunction<int Function(spine_skeleton)>();
  2759. ffi.Pointer<spine_slot> spine_skeleton_get_slots(
  2760. spine_skeleton skeleton,
  2761. ) {
  2762. return _spine_skeleton_get_slots(
  2763. skeleton,
  2764. );
  2765. }
  2766. late final _spine_skeleton_get_slotsPtr = _lookup<
  2767. ffi.NativeFunction<ffi.Pointer<spine_slot> Function(spine_skeleton)>>(
  2768. 'spine_skeleton_get_slots');
  2769. late final _spine_skeleton_get_slots = _spine_skeleton_get_slotsPtr
  2770. .asFunction<ffi.Pointer<spine_slot> Function(spine_skeleton)>();
  2771. int spine_skeleton_get_num_draw_order(
  2772. spine_skeleton skeleton,
  2773. ) {
  2774. return _spine_skeleton_get_num_draw_order(
  2775. skeleton,
  2776. );
  2777. }
  2778. late final _spine_skeleton_get_num_draw_orderPtr =
  2779. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2780. 'spine_skeleton_get_num_draw_order');
  2781. late final _spine_skeleton_get_num_draw_order =
  2782. _spine_skeleton_get_num_draw_orderPtr
  2783. .asFunction<int Function(spine_skeleton)>();
  2784. ffi.Pointer<spine_slot> spine_skeleton_get_draw_order(
  2785. spine_skeleton skeleton,
  2786. ) {
  2787. return _spine_skeleton_get_draw_order(
  2788. skeleton,
  2789. );
  2790. }
  2791. late final _spine_skeleton_get_draw_orderPtr = _lookup<
  2792. ffi.NativeFunction<ffi.Pointer<spine_slot> Function(spine_skeleton)>>(
  2793. 'spine_skeleton_get_draw_order');
  2794. late final _spine_skeleton_get_draw_order = _spine_skeleton_get_draw_orderPtr
  2795. .asFunction<ffi.Pointer<spine_slot> Function(spine_skeleton)>();
  2796. int spine_skeleton_get_num_ik_constraints(
  2797. spine_skeleton skeleton,
  2798. ) {
  2799. return _spine_skeleton_get_num_ik_constraints(
  2800. skeleton,
  2801. );
  2802. }
  2803. late final _spine_skeleton_get_num_ik_constraintsPtr =
  2804. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2805. 'spine_skeleton_get_num_ik_constraints');
  2806. late final _spine_skeleton_get_num_ik_constraints =
  2807. _spine_skeleton_get_num_ik_constraintsPtr
  2808. .asFunction<int Function(spine_skeleton)>();
  2809. ffi.Pointer<spine_ik_constraint> spine_skeleton_get_ik_constraints(
  2810. spine_skeleton skeleton,
  2811. ) {
  2812. return _spine_skeleton_get_ik_constraints(
  2813. skeleton,
  2814. );
  2815. }
  2816. late final _spine_skeleton_get_ik_constraintsPtr = _lookup<
  2817. ffi.NativeFunction<
  2818. ffi.Pointer<spine_ik_constraint> Function(
  2819. spine_skeleton)>>('spine_skeleton_get_ik_constraints');
  2820. late final _spine_skeleton_get_ik_constraints =
  2821. _spine_skeleton_get_ik_constraintsPtr.asFunction<
  2822. ffi.Pointer<spine_ik_constraint> Function(spine_skeleton)>();
  2823. int spine_skeleton_get_num_transform_constraints(
  2824. spine_skeleton skeleton,
  2825. ) {
  2826. return _spine_skeleton_get_num_transform_constraints(
  2827. skeleton,
  2828. );
  2829. }
  2830. late final _spine_skeleton_get_num_transform_constraintsPtr =
  2831. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2832. 'spine_skeleton_get_num_transform_constraints');
  2833. late final _spine_skeleton_get_num_transform_constraints =
  2834. _spine_skeleton_get_num_transform_constraintsPtr
  2835. .asFunction<int Function(spine_skeleton)>();
  2836. ffi.Pointer<spine_transform_constraint>
  2837. spine_skeleton_get_transform_constraints(
  2838. spine_skeleton skeleton,
  2839. ) {
  2840. return _spine_skeleton_get_transform_constraints(
  2841. skeleton,
  2842. );
  2843. }
  2844. late final _spine_skeleton_get_transform_constraintsPtr = _lookup<
  2845. ffi.NativeFunction<
  2846. ffi.Pointer<spine_transform_constraint> Function(
  2847. spine_skeleton)>>('spine_skeleton_get_transform_constraints');
  2848. late final _spine_skeleton_get_transform_constraints =
  2849. _spine_skeleton_get_transform_constraintsPtr.asFunction<
  2850. ffi.Pointer<spine_transform_constraint> Function(spine_skeleton)>();
  2851. int spine_skeleton_get_num_path_constraints(
  2852. spine_skeleton skeleton,
  2853. ) {
  2854. return _spine_skeleton_get_num_path_constraints(
  2855. skeleton,
  2856. );
  2857. }
  2858. late final _spine_skeleton_get_num_path_constraintsPtr =
  2859. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2860. 'spine_skeleton_get_num_path_constraints');
  2861. late final _spine_skeleton_get_num_path_constraints =
  2862. _spine_skeleton_get_num_path_constraintsPtr
  2863. .asFunction<int Function(spine_skeleton)>();
  2864. ffi.Pointer<spine_path_constraint> spine_skeleton_get_path_constraints(
  2865. spine_skeleton skeleton,
  2866. ) {
  2867. return _spine_skeleton_get_path_constraints(
  2868. skeleton,
  2869. );
  2870. }
  2871. late final _spine_skeleton_get_path_constraintsPtr = _lookup<
  2872. ffi.NativeFunction<
  2873. ffi.Pointer<spine_path_constraint> Function(
  2874. spine_skeleton)>>('spine_skeleton_get_path_constraints');
  2875. late final _spine_skeleton_get_path_constraints =
  2876. _spine_skeleton_get_path_constraintsPtr.asFunction<
  2877. ffi.Pointer<spine_path_constraint> Function(spine_skeleton)>();
  2878. int spine_skeleton_get_num_physics_constraints(
  2879. spine_skeleton skeleton,
  2880. ) {
  2881. return _spine_skeleton_get_num_physics_constraints(
  2882. skeleton,
  2883. );
  2884. }
  2885. late final _spine_skeleton_get_num_physics_constraintsPtr =
  2886. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skeleton)>>(
  2887. 'spine_skeleton_get_num_physics_constraints');
  2888. late final _spine_skeleton_get_num_physics_constraints =
  2889. _spine_skeleton_get_num_physics_constraintsPtr
  2890. .asFunction<int Function(spine_skeleton)>();
  2891. ffi.Pointer<spine_physics_constraint> spine_skeleton_get_physics_constraints(
  2892. spine_skeleton skeleton,
  2893. ) {
  2894. return _spine_skeleton_get_physics_constraints(
  2895. skeleton,
  2896. );
  2897. }
  2898. late final _spine_skeleton_get_physics_constraintsPtr = _lookup<
  2899. ffi.NativeFunction<
  2900. ffi.Pointer<spine_physics_constraint> Function(
  2901. spine_skeleton)>>('spine_skeleton_get_physics_constraints');
  2902. late final _spine_skeleton_get_physics_constraints =
  2903. _spine_skeleton_get_physics_constraintsPtr.asFunction<
  2904. ffi.Pointer<spine_physics_constraint> Function(spine_skeleton)>();
  2905. spine_skin spine_skeleton_get_skin(
  2906. spine_skeleton skeleton,
  2907. ) {
  2908. return _spine_skeleton_get_skin(
  2909. skeleton,
  2910. );
  2911. }
  2912. late final _spine_skeleton_get_skinPtr =
  2913. _lookup<ffi.NativeFunction<spine_skin Function(spine_skeleton)>>(
  2914. 'spine_skeleton_get_skin');
  2915. late final _spine_skeleton_get_skin = _spine_skeleton_get_skinPtr
  2916. .asFunction<spine_skin Function(spine_skeleton)>();
  2917. spine_color spine_skeleton_get_color(
  2918. spine_skeleton skeleton,
  2919. ) {
  2920. return _spine_skeleton_get_color(
  2921. skeleton,
  2922. );
  2923. }
  2924. late final _spine_skeleton_get_colorPtr =
  2925. _lookup<ffi.NativeFunction<spine_color Function(spine_skeleton)>>(
  2926. 'spine_skeleton_get_color');
  2927. late final _spine_skeleton_get_color = _spine_skeleton_get_colorPtr
  2928. .asFunction<spine_color Function(spine_skeleton)>();
  2929. void spine_skeleton_set_color(
  2930. spine_skeleton skeleton,
  2931. double r,
  2932. double g,
  2933. double b,
  2934. double a,
  2935. ) {
  2936. return _spine_skeleton_set_color(
  2937. skeleton,
  2938. r,
  2939. g,
  2940. b,
  2941. a,
  2942. );
  2943. }
  2944. late final _spine_skeleton_set_colorPtr = _lookup<
  2945. ffi.NativeFunction<
  2946. ffi.Void Function(spine_skeleton, ffi.Float, ffi.Float, ffi.Float,
  2947. ffi.Float)>>('spine_skeleton_set_color');
  2948. late final _spine_skeleton_set_color =
  2949. _spine_skeleton_set_colorPtr.asFunction<
  2950. void Function(spine_skeleton, double, double, double, double)>();
  2951. void spine_skeleton_set_position(
  2952. spine_skeleton skeleton,
  2953. double x,
  2954. double y,
  2955. ) {
  2956. return _spine_skeleton_set_position(
  2957. skeleton,
  2958. x,
  2959. y,
  2960. );
  2961. }
  2962. late final _spine_skeleton_set_positionPtr = _lookup<
  2963. ffi.NativeFunction<
  2964. ffi.Void Function(spine_skeleton, ffi.Float,
  2965. ffi.Float)>>('spine_skeleton_set_position');
  2966. late final _spine_skeleton_set_position = _spine_skeleton_set_positionPtr
  2967. .asFunction<void Function(spine_skeleton, double, double)>();
  2968. double spine_skeleton_get_x(
  2969. spine_skeleton skeleton,
  2970. ) {
  2971. return _spine_skeleton_get_x(
  2972. skeleton,
  2973. );
  2974. }
  2975. late final _spine_skeleton_get_xPtr =
  2976. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton)>>(
  2977. 'spine_skeleton_get_x');
  2978. late final _spine_skeleton_get_x =
  2979. _spine_skeleton_get_xPtr.asFunction<double Function(spine_skeleton)>();
  2980. void spine_skeleton_set_x(
  2981. spine_skeleton skeleton,
  2982. double x,
  2983. ) {
  2984. return _spine_skeleton_set_x(
  2985. skeleton,
  2986. x,
  2987. );
  2988. }
  2989. late final _spine_skeleton_set_xPtr =
  2990. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  2991. 'spine_skeleton_set_x');
  2992. late final _spine_skeleton_set_x = _spine_skeleton_set_xPtr
  2993. .asFunction<void Function(spine_skeleton, double)>();
  2994. double spine_skeleton_get_y(
  2995. spine_skeleton skeleton,
  2996. ) {
  2997. return _spine_skeleton_get_y(
  2998. skeleton,
  2999. );
  3000. }
  3001. late final _spine_skeleton_get_yPtr =
  3002. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton)>>(
  3003. 'spine_skeleton_get_y');
  3004. late final _spine_skeleton_get_y =
  3005. _spine_skeleton_get_yPtr.asFunction<double Function(spine_skeleton)>();
  3006. void spine_skeleton_set_y(
  3007. spine_skeleton skeleton,
  3008. double y,
  3009. ) {
  3010. return _spine_skeleton_set_y(
  3011. skeleton,
  3012. y,
  3013. );
  3014. }
  3015. late final _spine_skeleton_set_yPtr =
  3016. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  3017. 'spine_skeleton_set_y');
  3018. late final _spine_skeleton_set_y = _spine_skeleton_set_yPtr
  3019. .asFunction<void Function(spine_skeleton, double)>();
  3020. double spine_skeleton_get_scale_x(
  3021. spine_skeleton skeleton,
  3022. ) {
  3023. return _spine_skeleton_get_scale_x(
  3024. skeleton,
  3025. );
  3026. }
  3027. late final _spine_skeleton_get_scale_xPtr =
  3028. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton)>>(
  3029. 'spine_skeleton_get_scale_x');
  3030. late final _spine_skeleton_get_scale_x = _spine_skeleton_get_scale_xPtr
  3031. .asFunction<double Function(spine_skeleton)>();
  3032. void spine_skeleton_set_scale_x(
  3033. spine_skeleton skeleton,
  3034. double scaleX,
  3035. ) {
  3036. return _spine_skeleton_set_scale_x(
  3037. skeleton,
  3038. scaleX,
  3039. );
  3040. }
  3041. late final _spine_skeleton_set_scale_xPtr =
  3042. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  3043. 'spine_skeleton_set_scale_x');
  3044. late final _spine_skeleton_set_scale_x = _spine_skeleton_set_scale_xPtr
  3045. .asFunction<void Function(spine_skeleton, double)>();
  3046. double spine_skeleton_get_scale_y(
  3047. spine_skeleton skeleton,
  3048. ) {
  3049. return _spine_skeleton_get_scale_y(
  3050. skeleton,
  3051. );
  3052. }
  3053. late final _spine_skeleton_get_scale_yPtr =
  3054. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton)>>(
  3055. 'spine_skeleton_get_scale_y');
  3056. late final _spine_skeleton_get_scale_y = _spine_skeleton_get_scale_yPtr
  3057. .asFunction<double Function(spine_skeleton)>();
  3058. void spine_skeleton_set_scale_y(
  3059. spine_skeleton skeleton,
  3060. double scaleY,
  3061. ) {
  3062. return _spine_skeleton_set_scale_y(
  3063. skeleton,
  3064. scaleY,
  3065. );
  3066. }
  3067. late final _spine_skeleton_set_scale_yPtr =
  3068. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  3069. 'spine_skeleton_set_scale_y');
  3070. late final _spine_skeleton_set_scale_y = _spine_skeleton_set_scale_yPtr
  3071. .asFunction<void Function(spine_skeleton, double)>();
  3072. double spine_skeleton_get_time(
  3073. spine_skeleton skeleton,
  3074. ) {
  3075. return _spine_skeleton_get_time(
  3076. skeleton,
  3077. );
  3078. }
  3079. late final _spine_skeleton_get_timePtr =
  3080. _lookup<ffi.NativeFunction<ffi.Float Function(spine_skeleton)>>(
  3081. 'spine_skeleton_get_time');
  3082. late final _spine_skeleton_get_time =
  3083. _spine_skeleton_get_timePtr.asFunction<double Function(spine_skeleton)>();
  3084. void spine_skeleton_set_time(
  3085. spine_skeleton skeleton,
  3086. double time,
  3087. ) {
  3088. return _spine_skeleton_set_time(
  3089. skeleton,
  3090. time,
  3091. );
  3092. }
  3093. late final _spine_skeleton_set_timePtr =
  3094. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  3095. 'spine_skeleton_set_time');
  3096. late final _spine_skeleton_set_time = _spine_skeleton_set_timePtr
  3097. .asFunction<void Function(spine_skeleton, double)>();
  3098. void spine_skeleton_update(
  3099. spine_skeleton skeleton,
  3100. double delta,
  3101. ) {
  3102. return _spine_skeleton_update(
  3103. skeleton,
  3104. delta,
  3105. );
  3106. }
  3107. late final _spine_skeleton_updatePtr =
  3108. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skeleton, ffi.Float)>>(
  3109. 'spine_skeleton_update');
  3110. late final _spine_skeleton_update = _spine_skeleton_updatePtr
  3111. .asFunction<void Function(spine_skeleton, double)>();
  3112. ffi.Pointer<utf8> spine_event_data_get_name(
  3113. spine_event_data event,
  3114. ) {
  3115. return _spine_event_data_get_name(
  3116. event,
  3117. );
  3118. }
  3119. late final _spine_event_data_get_namePtr =
  3120. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_event_data)>>(
  3121. 'spine_event_data_get_name');
  3122. late final _spine_event_data_get_name = _spine_event_data_get_namePtr
  3123. .asFunction<ffi.Pointer<utf8> Function(spine_event_data)>();
  3124. int spine_event_data_get_int_value(
  3125. spine_event_data event,
  3126. ) {
  3127. return _spine_event_data_get_int_value(
  3128. event,
  3129. );
  3130. }
  3131. late final _spine_event_data_get_int_valuePtr =
  3132. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_event_data)>>(
  3133. 'spine_event_data_get_int_value');
  3134. late final _spine_event_data_get_int_value =
  3135. _spine_event_data_get_int_valuePtr
  3136. .asFunction<int Function(spine_event_data)>();
  3137. void spine_event_data_set_int_value(
  3138. spine_event_data event,
  3139. int value,
  3140. ) {
  3141. return _spine_event_data_set_int_value(
  3142. event,
  3143. value,
  3144. );
  3145. }
  3146. late final _spine_event_data_set_int_valuePtr = _lookup<
  3147. ffi.NativeFunction<ffi.Void Function(spine_event_data, ffi.Int32)>>(
  3148. 'spine_event_data_set_int_value');
  3149. late final _spine_event_data_set_int_value =
  3150. _spine_event_data_set_int_valuePtr
  3151. .asFunction<void Function(spine_event_data, int)>();
  3152. double spine_event_data_get_float_value(
  3153. spine_event_data event,
  3154. ) {
  3155. return _spine_event_data_get_float_value(
  3156. event,
  3157. );
  3158. }
  3159. late final _spine_event_data_get_float_valuePtr =
  3160. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event_data)>>(
  3161. 'spine_event_data_get_float_value');
  3162. late final _spine_event_data_get_float_value =
  3163. _spine_event_data_get_float_valuePtr
  3164. .asFunction<double Function(spine_event_data)>();
  3165. void spine_event_data_set_float_value(
  3166. spine_event_data event,
  3167. double value,
  3168. ) {
  3169. return _spine_event_data_set_float_value(
  3170. event,
  3171. value,
  3172. );
  3173. }
  3174. late final _spine_event_data_set_float_valuePtr = _lookup<
  3175. ffi.NativeFunction<ffi.Void Function(spine_event_data, ffi.Float)>>(
  3176. 'spine_event_data_set_float_value');
  3177. late final _spine_event_data_set_float_value =
  3178. _spine_event_data_set_float_valuePtr
  3179. .asFunction<void Function(spine_event_data, double)>();
  3180. ffi.Pointer<utf8> spine_event_data_get_string_value(
  3181. spine_event_data event,
  3182. ) {
  3183. return _spine_event_data_get_string_value(
  3184. event,
  3185. );
  3186. }
  3187. late final _spine_event_data_get_string_valuePtr =
  3188. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_event_data)>>(
  3189. 'spine_event_data_get_string_value');
  3190. late final _spine_event_data_get_string_value =
  3191. _spine_event_data_get_string_valuePtr
  3192. .asFunction<ffi.Pointer<utf8> Function(spine_event_data)>();
  3193. void spine_event_data_set_string_value(
  3194. spine_event_data event,
  3195. ffi.Pointer<utf8> value,
  3196. ) {
  3197. return _spine_event_data_set_string_value(
  3198. event,
  3199. value,
  3200. );
  3201. }
  3202. late final _spine_event_data_set_string_valuePtr = _lookup<
  3203. ffi.NativeFunction<
  3204. ffi.Void Function(spine_event_data,
  3205. ffi.Pointer<utf8>)>>('spine_event_data_set_string_value');
  3206. late final _spine_event_data_set_string_value =
  3207. _spine_event_data_set_string_valuePtr
  3208. .asFunction<void Function(spine_event_data, ffi.Pointer<utf8>)>();
  3209. ffi.Pointer<utf8> spine_event_data_get_audio_path(
  3210. spine_event_data event,
  3211. ) {
  3212. return _spine_event_data_get_audio_path(
  3213. event,
  3214. );
  3215. }
  3216. late final _spine_event_data_get_audio_pathPtr =
  3217. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_event_data)>>(
  3218. 'spine_event_data_get_audio_path');
  3219. late final _spine_event_data_get_audio_path =
  3220. _spine_event_data_get_audio_pathPtr
  3221. .asFunction<ffi.Pointer<utf8> Function(spine_event_data)>();
  3222. /// OMITTED setAudioPath()
  3223. double spine_event_data_get_volume(
  3224. spine_event_data event,
  3225. ) {
  3226. return _spine_event_data_get_volume(
  3227. event,
  3228. );
  3229. }
  3230. late final _spine_event_data_get_volumePtr =
  3231. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event_data)>>(
  3232. 'spine_event_data_get_volume');
  3233. late final _spine_event_data_get_volume = _spine_event_data_get_volumePtr
  3234. .asFunction<double Function(spine_event_data)>();
  3235. void spine_event_data_set_volume(
  3236. spine_event_data event,
  3237. double volume,
  3238. ) {
  3239. return _spine_event_data_set_volume(
  3240. event,
  3241. volume,
  3242. );
  3243. }
  3244. late final _spine_event_data_set_volumePtr = _lookup<
  3245. ffi.NativeFunction<ffi.Void Function(spine_event_data, ffi.Float)>>(
  3246. 'spine_event_data_set_volume');
  3247. late final _spine_event_data_set_volume = _spine_event_data_set_volumePtr
  3248. .asFunction<void Function(spine_event_data, double)>();
  3249. double spine_event_data_get_balance(
  3250. spine_event_data event,
  3251. ) {
  3252. return _spine_event_data_get_balance(
  3253. event,
  3254. );
  3255. }
  3256. late final _spine_event_data_get_balancePtr =
  3257. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event_data)>>(
  3258. 'spine_event_data_get_balance');
  3259. late final _spine_event_data_get_balance = _spine_event_data_get_balancePtr
  3260. .asFunction<double Function(spine_event_data)>();
  3261. void spine_event_data_set_balance(
  3262. spine_event_data event,
  3263. double balance,
  3264. ) {
  3265. return _spine_event_data_set_balance(
  3266. event,
  3267. balance,
  3268. );
  3269. }
  3270. late final _spine_event_data_set_balancePtr = _lookup<
  3271. ffi.NativeFunction<ffi.Void Function(spine_event_data, ffi.Float)>>(
  3272. 'spine_event_data_set_balance');
  3273. late final _spine_event_data_set_balance = _spine_event_data_set_balancePtr
  3274. .asFunction<void Function(spine_event_data, double)>();
  3275. spine_event_data spine_event_get_data(
  3276. spine_event event,
  3277. ) {
  3278. return _spine_event_get_data(
  3279. event,
  3280. );
  3281. }
  3282. late final _spine_event_get_dataPtr =
  3283. _lookup<ffi.NativeFunction<spine_event_data Function(spine_event)>>(
  3284. 'spine_event_get_data');
  3285. late final _spine_event_get_data = _spine_event_get_dataPtr
  3286. .asFunction<spine_event_data Function(spine_event)>();
  3287. double spine_event_get_time(
  3288. spine_event event,
  3289. ) {
  3290. return _spine_event_get_time(
  3291. event,
  3292. );
  3293. }
  3294. late final _spine_event_get_timePtr =
  3295. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event)>>(
  3296. 'spine_event_get_time');
  3297. late final _spine_event_get_time =
  3298. _spine_event_get_timePtr.asFunction<double Function(spine_event)>();
  3299. int spine_event_get_int_value(
  3300. spine_event event,
  3301. ) {
  3302. return _spine_event_get_int_value(
  3303. event,
  3304. );
  3305. }
  3306. late final _spine_event_get_int_valuePtr =
  3307. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_event)>>(
  3308. 'spine_event_get_int_value');
  3309. late final _spine_event_get_int_value =
  3310. _spine_event_get_int_valuePtr.asFunction<int Function(spine_event)>();
  3311. void spine_event_set_int_value(
  3312. spine_event event,
  3313. int value,
  3314. ) {
  3315. return _spine_event_set_int_value(
  3316. event,
  3317. value,
  3318. );
  3319. }
  3320. late final _spine_event_set_int_valuePtr =
  3321. _lookup<ffi.NativeFunction<ffi.Void Function(spine_event, ffi.Int32)>>(
  3322. 'spine_event_set_int_value');
  3323. late final _spine_event_set_int_value = _spine_event_set_int_valuePtr
  3324. .asFunction<void Function(spine_event, int)>();
  3325. double spine_event_get_float_value(
  3326. spine_event event,
  3327. ) {
  3328. return _spine_event_get_float_value(
  3329. event,
  3330. );
  3331. }
  3332. late final _spine_event_get_float_valuePtr =
  3333. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event)>>(
  3334. 'spine_event_get_float_value');
  3335. late final _spine_event_get_float_value = _spine_event_get_float_valuePtr
  3336. .asFunction<double Function(spine_event)>();
  3337. void spine_event_set_float_value(
  3338. spine_event event,
  3339. double value,
  3340. ) {
  3341. return _spine_event_set_float_value(
  3342. event,
  3343. value,
  3344. );
  3345. }
  3346. late final _spine_event_set_float_valuePtr =
  3347. _lookup<ffi.NativeFunction<ffi.Void Function(spine_event, ffi.Float)>>(
  3348. 'spine_event_set_float_value');
  3349. late final _spine_event_set_float_value = _spine_event_set_float_valuePtr
  3350. .asFunction<void Function(spine_event, double)>();
  3351. ffi.Pointer<utf8> spine_event_get_string_value(
  3352. spine_event event,
  3353. ) {
  3354. return _spine_event_get_string_value(
  3355. event,
  3356. );
  3357. }
  3358. late final _spine_event_get_string_valuePtr =
  3359. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_event)>>(
  3360. 'spine_event_get_string_value');
  3361. late final _spine_event_get_string_value = _spine_event_get_string_valuePtr
  3362. .asFunction<ffi.Pointer<utf8> Function(spine_event)>();
  3363. void spine_event_set_string_value(
  3364. spine_event event,
  3365. ffi.Pointer<utf8> value,
  3366. ) {
  3367. return _spine_event_set_string_value(
  3368. event,
  3369. value,
  3370. );
  3371. }
  3372. late final _spine_event_set_string_valuePtr = _lookup<
  3373. ffi
  3374. .NativeFunction<ffi.Void Function(spine_event, ffi.Pointer<utf8>)>>(
  3375. 'spine_event_set_string_value');
  3376. late final _spine_event_set_string_value = _spine_event_set_string_valuePtr
  3377. .asFunction<void Function(spine_event, ffi.Pointer<utf8>)>();
  3378. double spine_event_get_volume(
  3379. spine_event event,
  3380. ) {
  3381. return _spine_event_get_volume(
  3382. event,
  3383. );
  3384. }
  3385. late final _spine_event_get_volumePtr =
  3386. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event)>>(
  3387. 'spine_event_get_volume');
  3388. late final _spine_event_get_volume =
  3389. _spine_event_get_volumePtr.asFunction<double Function(spine_event)>();
  3390. void spine_event_set_volume(
  3391. spine_event event,
  3392. double volume,
  3393. ) {
  3394. return _spine_event_set_volume(
  3395. event,
  3396. volume,
  3397. );
  3398. }
  3399. late final _spine_event_set_volumePtr =
  3400. _lookup<ffi.NativeFunction<ffi.Void Function(spine_event, ffi.Float)>>(
  3401. 'spine_event_set_volume');
  3402. late final _spine_event_set_volume = _spine_event_set_volumePtr
  3403. .asFunction<void Function(spine_event, double)>();
  3404. double spine_event_get_balance(
  3405. spine_event event,
  3406. ) {
  3407. return _spine_event_get_balance(
  3408. event,
  3409. );
  3410. }
  3411. late final _spine_event_get_balancePtr =
  3412. _lookup<ffi.NativeFunction<ffi.Float Function(spine_event)>>(
  3413. 'spine_event_get_balance');
  3414. late final _spine_event_get_balance =
  3415. _spine_event_get_balancePtr.asFunction<double Function(spine_event)>();
  3416. void spine_event_set_balance(
  3417. spine_event event,
  3418. double balance,
  3419. ) {
  3420. return _spine_event_set_balance(
  3421. event,
  3422. balance,
  3423. );
  3424. }
  3425. late final _spine_event_set_balancePtr =
  3426. _lookup<ffi.NativeFunction<ffi.Void Function(spine_event, ffi.Float)>>(
  3427. 'spine_event_set_balance');
  3428. late final _spine_event_set_balance = _spine_event_set_balancePtr
  3429. .asFunction<void Function(spine_event, double)>();
  3430. int spine_slot_data_get_index(
  3431. spine_slot_data slot,
  3432. ) {
  3433. return _spine_slot_data_get_index(
  3434. slot,
  3435. );
  3436. }
  3437. late final _spine_slot_data_get_indexPtr =
  3438. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_slot_data)>>(
  3439. 'spine_slot_data_get_index');
  3440. late final _spine_slot_data_get_index =
  3441. _spine_slot_data_get_indexPtr.asFunction<int Function(spine_slot_data)>();
  3442. ffi.Pointer<utf8> spine_slot_data_get_name(
  3443. spine_slot_data slot,
  3444. ) {
  3445. return _spine_slot_data_get_name(
  3446. slot,
  3447. );
  3448. }
  3449. late final _spine_slot_data_get_namePtr =
  3450. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_slot_data)>>(
  3451. 'spine_slot_data_get_name');
  3452. late final _spine_slot_data_get_name = _spine_slot_data_get_namePtr
  3453. .asFunction<ffi.Pointer<utf8> Function(spine_slot_data)>();
  3454. spine_bone_data spine_slot_data_get_bone_data(
  3455. spine_slot_data slot,
  3456. ) {
  3457. return _spine_slot_data_get_bone_data(
  3458. slot,
  3459. );
  3460. }
  3461. late final _spine_slot_data_get_bone_dataPtr =
  3462. _lookup<ffi.NativeFunction<spine_bone_data Function(spine_slot_data)>>(
  3463. 'spine_slot_data_get_bone_data');
  3464. late final _spine_slot_data_get_bone_data = _spine_slot_data_get_bone_dataPtr
  3465. .asFunction<spine_bone_data Function(spine_slot_data)>();
  3466. spine_color spine_slot_data_get_color(
  3467. spine_slot_data slot,
  3468. ) {
  3469. return _spine_slot_data_get_color(
  3470. slot,
  3471. );
  3472. }
  3473. late final _spine_slot_data_get_colorPtr =
  3474. _lookup<ffi.NativeFunction<spine_color Function(spine_slot_data)>>(
  3475. 'spine_slot_data_get_color');
  3476. late final _spine_slot_data_get_color = _spine_slot_data_get_colorPtr
  3477. .asFunction<spine_color Function(spine_slot_data)>();
  3478. void spine_slot_data_set_color(
  3479. spine_slot_data slot,
  3480. double r,
  3481. double g,
  3482. double b,
  3483. double a,
  3484. ) {
  3485. return _spine_slot_data_set_color(
  3486. slot,
  3487. r,
  3488. g,
  3489. b,
  3490. a,
  3491. );
  3492. }
  3493. late final _spine_slot_data_set_colorPtr = _lookup<
  3494. ffi.NativeFunction<
  3495. ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float,
  3496. ffi.Float)>>('spine_slot_data_set_color');
  3497. late final _spine_slot_data_set_color =
  3498. _spine_slot_data_set_colorPtr.asFunction<
  3499. void Function(spine_slot_data, double, double, double, double)>();
  3500. spine_color spine_slot_data_get_dark_color(
  3501. spine_slot_data slot,
  3502. ) {
  3503. return _spine_slot_data_get_dark_color(
  3504. slot,
  3505. );
  3506. }
  3507. late final _spine_slot_data_get_dark_colorPtr =
  3508. _lookup<ffi.NativeFunction<spine_color Function(spine_slot_data)>>(
  3509. 'spine_slot_data_get_dark_color');
  3510. late final _spine_slot_data_get_dark_color =
  3511. _spine_slot_data_get_dark_colorPtr
  3512. .asFunction<spine_color Function(spine_slot_data)>();
  3513. void spine_slot_data_set_dark_color(
  3514. spine_slot_data slot,
  3515. double r,
  3516. double g,
  3517. double b,
  3518. double a,
  3519. ) {
  3520. return _spine_slot_data_set_dark_color(
  3521. slot,
  3522. r,
  3523. g,
  3524. b,
  3525. a,
  3526. );
  3527. }
  3528. late final _spine_slot_data_set_dark_colorPtr = _lookup<
  3529. ffi.NativeFunction<
  3530. ffi.Void Function(spine_slot_data, ffi.Float, ffi.Float, ffi.Float,
  3531. ffi.Float)>>('spine_slot_data_set_dark_color');
  3532. late final _spine_slot_data_set_dark_color =
  3533. _spine_slot_data_set_dark_colorPtr.asFunction<
  3534. void Function(spine_slot_data, double, double, double, double)>();
  3535. int spine_slot_data_has_dark_color(
  3536. spine_slot_data slot,
  3537. ) {
  3538. return _spine_slot_data_has_dark_color(
  3539. slot,
  3540. );
  3541. }
  3542. late final _spine_slot_data_has_dark_colorPtr =
  3543. _lookup<ffi.NativeFunction<spine_bool Function(spine_slot_data)>>(
  3544. 'spine_slot_data_has_dark_color');
  3545. late final _spine_slot_data_has_dark_color =
  3546. _spine_slot_data_has_dark_colorPtr
  3547. .asFunction<int Function(spine_slot_data)>();
  3548. void spine_slot_data_set_has_dark_color(
  3549. spine_slot_data slot,
  3550. int hasDarkColor,
  3551. ) {
  3552. return _spine_slot_data_set_has_dark_color(
  3553. slot,
  3554. hasDarkColor,
  3555. );
  3556. }
  3557. late final _spine_slot_data_set_has_dark_colorPtr = _lookup<
  3558. ffi.NativeFunction<ffi.Void Function(spine_slot_data, spine_bool)>>(
  3559. 'spine_slot_data_set_has_dark_color');
  3560. late final _spine_slot_data_set_has_dark_color =
  3561. _spine_slot_data_set_has_dark_colorPtr
  3562. .asFunction<void Function(spine_slot_data, int)>();
  3563. ffi.Pointer<utf8> spine_slot_data_get_attachment_name(
  3564. spine_slot_data slot,
  3565. ) {
  3566. return _spine_slot_data_get_attachment_name(
  3567. slot,
  3568. );
  3569. }
  3570. late final _spine_slot_data_get_attachment_namePtr =
  3571. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_slot_data)>>(
  3572. 'spine_slot_data_get_attachment_name');
  3573. late final _spine_slot_data_get_attachment_name =
  3574. _spine_slot_data_get_attachment_namePtr
  3575. .asFunction<ffi.Pointer<utf8> Function(spine_slot_data)>();
  3576. void spine_slot_data_set_attachment_name(
  3577. spine_slot_data slot,
  3578. ffi.Pointer<utf8> attachmentName,
  3579. ) {
  3580. return _spine_slot_data_set_attachment_name(
  3581. slot,
  3582. attachmentName,
  3583. );
  3584. }
  3585. late final _spine_slot_data_set_attachment_namePtr = _lookup<
  3586. ffi.NativeFunction<
  3587. ffi.Void Function(spine_slot_data,
  3588. ffi.Pointer<utf8>)>>('spine_slot_data_set_attachment_name');
  3589. late final _spine_slot_data_set_attachment_name =
  3590. _spine_slot_data_set_attachment_namePtr
  3591. .asFunction<void Function(spine_slot_data, ffi.Pointer<utf8>)>();
  3592. int spine_slot_data_get_blend_mode(
  3593. spine_slot_data slot,
  3594. ) {
  3595. return _spine_slot_data_get_blend_mode(
  3596. slot,
  3597. );
  3598. }
  3599. late final _spine_slot_data_get_blend_modePtr =
  3600. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_slot_data)>>(
  3601. 'spine_slot_data_get_blend_mode');
  3602. late final _spine_slot_data_get_blend_mode =
  3603. _spine_slot_data_get_blend_modePtr
  3604. .asFunction<int Function(spine_slot_data)>();
  3605. void spine_slot_data_set_blend_mode(
  3606. spine_slot_data slot,
  3607. int blendMode,
  3608. ) {
  3609. return _spine_slot_data_set_blend_mode(
  3610. slot,
  3611. blendMode,
  3612. );
  3613. }
  3614. late final _spine_slot_data_set_blend_modePtr = _lookup<
  3615. ffi.NativeFunction<ffi.Void Function(spine_slot_data, ffi.Int32)>>(
  3616. 'spine_slot_data_set_blend_mode');
  3617. late final _spine_slot_data_set_blend_mode =
  3618. _spine_slot_data_set_blend_modePtr
  3619. .asFunction<void Function(spine_slot_data, int)>();
  3620. int spine_slot_data_is_visible(
  3621. spine_slot_data slot,
  3622. ) {
  3623. return _spine_slot_data_is_visible(
  3624. slot,
  3625. );
  3626. }
  3627. late final _spine_slot_data_is_visiblePtr =
  3628. _lookup<ffi.NativeFunction<spine_bool Function(spine_slot_data)>>(
  3629. 'spine_slot_data_is_visible');
  3630. late final _spine_slot_data_is_visible = _spine_slot_data_is_visiblePtr
  3631. .asFunction<int Function(spine_slot_data)>();
  3632. void spine_slot_data_set_visible(
  3633. spine_slot_data slot,
  3634. int visible,
  3635. ) {
  3636. return _spine_slot_data_set_visible(
  3637. slot,
  3638. visible,
  3639. );
  3640. }
  3641. late final _spine_slot_data_set_visiblePtr = _lookup<
  3642. ffi.NativeFunction<ffi.Void Function(spine_slot_data, spine_bool)>>(
  3643. 'spine_slot_data_set_visible');
  3644. late final _spine_slot_data_set_visible = _spine_slot_data_set_visiblePtr
  3645. .asFunction<void Function(spine_slot_data, int)>();
  3646. /// OMITTED getPath()/setPath()
  3647. void spine_slot_set_to_setup_pose(
  3648. spine_slot slot,
  3649. ) {
  3650. return _spine_slot_set_to_setup_pose(
  3651. slot,
  3652. );
  3653. }
  3654. late final _spine_slot_set_to_setup_posePtr =
  3655. _lookup<ffi.NativeFunction<ffi.Void Function(spine_slot)>>(
  3656. 'spine_slot_set_to_setup_pose');
  3657. late final _spine_slot_set_to_setup_pose =
  3658. _spine_slot_set_to_setup_posePtr.asFunction<void Function(spine_slot)>();
  3659. spine_slot_data spine_slot_get_data(
  3660. spine_slot slot,
  3661. ) {
  3662. return _spine_slot_get_data(
  3663. slot,
  3664. );
  3665. }
  3666. late final _spine_slot_get_dataPtr =
  3667. _lookup<ffi.NativeFunction<spine_slot_data Function(spine_slot)>>(
  3668. 'spine_slot_get_data');
  3669. late final _spine_slot_get_data = _spine_slot_get_dataPtr
  3670. .asFunction<spine_slot_data Function(spine_slot)>();
  3671. spine_bone spine_slot_get_bone(
  3672. spine_slot slot,
  3673. ) {
  3674. return _spine_slot_get_bone(
  3675. slot,
  3676. );
  3677. }
  3678. late final _spine_slot_get_bonePtr =
  3679. _lookup<ffi.NativeFunction<spine_bone Function(spine_slot)>>(
  3680. 'spine_slot_get_bone');
  3681. late final _spine_slot_get_bone =
  3682. _spine_slot_get_bonePtr.asFunction<spine_bone Function(spine_slot)>();
  3683. spine_skeleton spine_slot_get_skeleton(
  3684. spine_slot slot,
  3685. ) {
  3686. return _spine_slot_get_skeleton(
  3687. slot,
  3688. );
  3689. }
  3690. late final _spine_slot_get_skeletonPtr =
  3691. _lookup<ffi.NativeFunction<spine_skeleton Function(spine_slot)>>(
  3692. 'spine_slot_get_skeleton');
  3693. late final _spine_slot_get_skeleton = _spine_slot_get_skeletonPtr
  3694. .asFunction<spine_skeleton Function(spine_slot)>();
  3695. spine_color spine_slot_get_color(
  3696. spine_slot slot,
  3697. ) {
  3698. return _spine_slot_get_color(
  3699. slot,
  3700. );
  3701. }
  3702. late final _spine_slot_get_colorPtr =
  3703. _lookup<ffi.NativeFunction<spine_color Function(spine_slot)>>(
  3704. 'spine_slot_get_color');
  3705. late final _spine_slot_get_color =
  3706. _spine_slot_get_colorPtr.asFunction<spine_color Function(spine_slot)>();
  3707. void spine_slot_set_color(
  3708. spine_slot slot,
  3709. double r,
  3710. double g,
  3711. double b,
  3712. double a,
  3713. ) {
  3714. return _spine_slot_set_color(
  3715. slot,
  3716. r,
  3717. g,
  3718. b,
  3719. a,
  3720. );
  3721. }
  3722. late final _spine_slot_set_colorPtr = _lookup<
  3723. ffi.NativeFunction<
  3724. ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float,
  3725. ffi.Float)>>('spine_slot_set_color');
  3726. late final _spine_slot_set_color = _spine_slot_set_colorPtr
  3727. .asFunction<void Function(spine_slot, double, double, double, double)>();
  3728. spine_color spine_slot_get_dark_color(
  3729. spine_slot slot,
  3730. ) {
  3731. return _spine_slot_get_dark_color(
  3732. slot,
  3733. );
  3734. }
  3735. late final _spine_slot_get_dark_colorPtr =
  3736. _lookup<ffi.NativeFunction<spine_color Function(spine_slot)>>(
  3737. 'spine_slot_get_dark_color');
  3738. late final _spine_slot_get_dark_color = _spine_slot_get_dark_colorPtr
  3739. .asFunction<spine_color Function(spine_slot)>();
  3740. void spine_slot_set_dark_color(
  3741. spine_slot slot,
  3742. double r,
  3743. double g,
  3744. double b,
  3745. double a,
  3746. ) {
  3747. return _spine_slot_set_dark_color(
  3748. slot,
  3749. r,
  3750. g,
  3751. b,
  3752. a,
  3753. );
  3754. }
  3755. late final _spine_slot_set_dark_colorPtr = _lookup<
  3756. ffi.NativeFunction<
  3757. ffi.Void Function(spine_slot, ffi.Float, ffi.Float, ffi.Float,
  3758. ffi.Float)>>('spine_slot_set_dark_color');
  3759. late final _spine_slot_set_dark_color = _spine_slot_set_dark_colorPtr
  3760. .asFunction<void Function(spine_slot, double, double, double, double)>();
  3761. int spine_slot_has_dark_color(
  3762. spine_slot slot,
  3763. ) {
  3764. return _spine_slot_has_dark_color(
  3765. slot,
  3766. );
  3767. }
  3768. late final _spine_slot_has_dark_colorPtr =
  3769. _lookup<ffi.NativeFunction<spine_bool Function(spine_slot)>>(
  3770. 'spine_slot_has_dark_color');
  3771. late final _spine_slot_has_dark_color =
  3772. _spine_slot_has_dark_colorPtr.asFunction<int Function(spine_slot)>();
  3773. spine_attachment spine_slot_get_attachment(
  3774. spine_slot slot,
  3775. ) {
  3776. return _spine_slot_get_attachment(
  3777. slot,
  3778. );
  3779. }
  3780. late final _spine_slot_get_attachmentPtr =
  3781. _lookup<ffi.NativeFunction<spine_attachment Function(spine_slot)>>(
  3782. 'spine_slot_get_attachment');
  3783. late final _spine_slot_get_attachment = _spine_slot_get_attachmentPtr
  3784. .asFunction<spine_attachment Function(spine_slot)>();
  3785. void spine_slot_set_attachment(
  3786. spine_slot slot,
  3787. spine_attachment attachment,
  3788. ) {
  3789. return _spine_slot_set_attachment(
  3790. slot,
  3791. attachment,
  3792. );
  3793. }
  3794. late final _spine_slot_set_attachmentPtr = _lookup<
  3795. ffi.NativeFunction<ffi.Void Function(spine_slot, spine_attachment)>>(
  3796. 'spine_slot_set_attachment');
  3797. late final _spine_slot_set_attachment = _spine_slot_set_attachmentPtr
  3798. .asFunction<void Function(spine_slot, spine_attachment)>();
  3799. /// OMITTED getDeform()
  3800. int spine_slot_get_sequence_index(
  3801. spine_slot slot,
  3802. ) {
  3803. return _spine_slot_get_sequence_index(
  3804. slot,
  3805. );
  3806. }
  3807. late final _spine_slot_get_sequence_indexPtr =
  3808. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_slot)>>(
  3809. 'spine_slot_get_sequence_index');
  3810. late final _spine_slot_get_sequence_index =
  3811. _spine_slot_get_sequence_indexPtr.asFunction<int Function(spine_slot)>();
  3812. void spine_slot_set_sequence_index(
  3813. spine_slot slot,
  3814. int sequenceIndex,
  3815. ) {
  3816. return _spine_slot_set_sequence_index(
  3817. slot,
  3818. sequenceIndex,
  3819. );
  3820. }
  3821. late final _spine_slot_set_sequence_indexPtr =
  3822. _lookup<ffi.NativeFunction<ffi.Void Function(spine_slot, ffi.Int32)>>(
  3823. 'spine_slot_set_sequence_index');
  3824. late final _spine_slot_set_sequence_index = _spine_slot_set_sequence_indexPtr
  3825. .asFunction<void Function(spine_slot, int)>();
  3826. int spine_bone_data_get_index(
  3827. spine_bone_data data,
  3828. ) {
  3829. return _spine_bone_data_get_index(
  3830. data,
  3831. );
  3832. }
  3833. late final _spine_bone_data_get_indexPtr =
  3834. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_bone_data)>>(
  3835. 'spine_bone_data_get_index');
  3836. late final _spine_bone_data_get_index =
  3837. _spine_bone_data_get_indexPtr.asFunction<int Function(spine_bone_data)>();
  3838. ffi.Pointer<utf8> spine_bone_data_get_name(
  3839. spine_bone_data data,
  3840. ) {
  3841. return _spine_bone_data_get_name(
  3842. data,
  3843. );
  3844. }
  3845. late final _spine_bone_data_get_namePtr =
  3846. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_bone_data)>>(
  3847. 'spine_bone_data_get_name');
  3848. late final _spine_bone_data_get_name = _spine_bone_data_get_namePtr
  3849. .asFunction<ffi.Pointer<utf8> Function(spine_bone_data)>();
  3850. spine_bone_data spine_bone_data_get_parent(
  3851. spine_bone_data data,
  3852. ) {
  3853. return _spine_bone_data_get_parent(
  3854. data,
  3855. );
  3856. }
  3857. late final _spine_bone_data_get_parentPtr =
  3858. _lookup<ffi.NativeFunction<spine_bone_data Function(spine_bone_data)>>(
  3859. 'spine_bone_data_get_parent');
  3860. late final _spine_bone_data_get_parent = _spine_bone_data_get_parentPtr
  3861. .asFunction<spine_bone_data Function(spine_bone_data)>();
  3862. double spine_bone_data_get_length(
  3863. spine_bone_data data,
  3864. ) {
  3865. return _spine_bone_data_get_length(
  3866. data,
  3867. );
  3868. }
  3869. late final _spine_bone_data_get_lengthPtr =
  3870. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  3871. 'spine_bone_data_get_length');
  3872. late final _spine_bone_data_get_length = _spine_bone_data_get_lengthPtr
  3873. .asFunction<double Function(spine_bone_data)>();
  3874. void spine_bone_data_set_length(
  3875. spine_bone_data data,
  3876. double length,
  3877. ) {
  3878. return _spine_bone_data_set_length(
  3879. data,
  3880. length,
  3881. );
  3882. }
  3883. late final _spine_bone_data_set_lengthPtr = _lookup<
  3884. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  3885. 'spine_bone_data_set_length');
  3886. late final _spine_bone_data_set_length = _spine_bone_data_set_lengthPtr
  3887. .asFunction<void Function(spine_bone_data, double)>();
  3888. double spine_bone_data_get_x(
  3889. spine_bone_data data,
  3890. ) {
  3891. return _spine_bone_data_get_x(
  3892. data,
  3893. );
  3894. }
  3895. late final _spine_bone_data_get_xPtr =
  3896. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  3897. 'spine_bone_data_get_x');
  3898. late final _spine_bone_data_get_x =
  3899. _spine_bone_data_get_xPtr.asFunction<double Function(spine_bone_data)>();
  3900. void spine_bone_data_set_x(
  3901. spine_bone_data data,
  3902. double x,
  3903. ) {
  3904. return _spine_bone_data_set_x(
  3905. data,
  3906. x,
  3907. );
  3908. }
  3909. late final _spine_bone_data_set_xPtr = _lookup<
  3910. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  3911. 'spine_bone_data_set_x');
  3912. late final _spine_bone_data_set_x = _spine_bone_data_set_xPtr
  3913. .asFunction<void Function(spine_bone_data, double)>();
  3914. double spine_bone_data_get_y(
  3915. spine_bone_data data,
  3916. ) {
  3917. return _spine_bone_data_get_y(
  3918. data,
  3919. );
  3920. }
  3921. late final _spine_bone_data_get_yPtr =
  3922. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  3923. 'spine_bone_data_get_y');
  3924. late final _spine_bone_data_get_y =
  3925. _spine_bone_data_get_yPtr.asFunction<double Function(spine_bone_data)>();
  3926. void spine_bone_data_set_y(
  3927. spine_bone_data data,
  3928. double y,
  3929. ) {
  3930. return _spine_bone_data_set_y(
  3931. data,
  3932. y,
  3933. );
  3934. }
  3935. late final _spine_bone_data_set_yPtr = _lookup<
  3936. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  3937. 'spine_bone_data_set_y');
  3938. late final _spine_bone_data_set_y = _spine_bone_data_set_yPtr
  3939. .asFunction<void Function(spine_bone_data, double)>();
  3940. double spine_bone_data_get_rotation(
  3941. spine_bone_data data,
  3942. ) {
  3943. return _spine_bone_data_get_rotation(
  3944. data,
  3945. );
  3946. }
  3947. late final _spine_bone_data_get_rotationPtr =
  3948. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  3949. 'spine_bone_data_get_rotation');
  3950. late final _spine_bone_data_get_rotation = _spine_bone_data_get_rotationPtr
  3951. .asFunction<double Function(spine_bone_data)>();
  3952. void spine_bone_data_set_rotation(
  3953. spine_bone_data data,
  3954. double rotation,
  3955. ) {
  3956. return _spine_bone_data_set_rotation(
  3957. data,
  3958. rotation,
  3959. );
  3960. }
  3961. late final _spine_bone_data_set_rotationPtr = _lookup<
  3962. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  3963. 'spine_bone_data_set_rotation');
  3964. late final _spine_bone_data_set_rotation = _spine_bone_data_set_rotationPtr
  3965. .asFunction<void Function(spine_bone_data, double)>();
  3966. double spine_bone_data_get_scale_x(
  3967. spine_bone_data data,
  3968. ) {
  3969. return _spine_bone_data_get_scale_x(
  3970. data,
  3971. );
  3972. }
  3973. late final _spine_bone_data_get_scale_xPtr =
  3974. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  3975. 'spine_bone_data_get_scale_x');
  3976. late final _spine_bone_data_get_scale_x = _spine_bone_data_get_scale_xPtr
  3977. .asFunction<double Function(spine_bone_data)>();
  3978. void spine_bone_data_set_scale_x(
  3979. spine_bone_data data,
  3980. double scaleX,
  3981. ) {
  3982. return _spine_bone_data_set_scale_x(
  3983. data,
  3984. scaleX,
  3985. );
  3986. }
  3987. late final _spine_bone_data_set_scale_xPtr = _lookup<
  3988. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  3989. 'spine_bone_data_set_scale_x');
  3990. late final _spine_bone_data_set_scale_x = _spine_bone_data_set_scale_xPtr
  3991. .asFunction<void Function(spine_bone_data, double)>();
  3992. double spine_bone_data_get_scale_y(
  3993. spine_bone_data data,
  3994. ) {
  3995. return _spine_bone_data_get_scale_y(
  3996. data,
  3997. );
  3998. }
  3999. late final _spine_bone_data_get_scale_yPtr =
  4000. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  4001. 'spine_bone_data_get_scale_y');
  4002. late final _spine_bone_data_get_scale_y = _spine_bone_data_get_scale_yPtr
  4003. .asFunction<double Function(spine_bone_data)>();
  4004. void spine_bone_data_set_scale_y(
  4005. spine_bone_data data,
  4006. double scaleY,
  4007. ) {
  4008. return _spine_bone_data_set_scale_y(
  4009. data,
  4010. scaleY,
  4011. );
  4012. }
  4013. late final _spine_bone_data_set_scale_yPtr = _lookup<
  4014. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  4015. 'spine_bone_data_set_scale_y');
  4016. late final _spine_bone_data_set_scale_y = _spine_bone_data_set_scale_yPtr
  4017. .asFunction<void Function(spine_bone_data, double)>();
  4018. double spine_bone_data_get_shear_x(
  4019. spine_bone_data data,
  4020. ) {
  4021. return _spine_bone_data_get_shear_x(
  4022. data,
  4023. );
  4024. }
  4025. late final _spine_bone_data_get_shear_xPtr =
  4026. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  4027. 'spine_bone_data_get_shear_x');
  4028. late final _spine_bone_data_get_shear_x = _spine_bone_data_get_shear_xPtr
  4029. .asFunction<double Function(spine_bone_data)>();
  4030. void spine_bone_data_set_shear_x(
  4031. spine_bone_data data,
  4032. double shearx,
  4033. ) {
  4034. return _spine_bone_data_set_shear_x(
  4035. data,
  4036. shearx,
  4037. );
  4038. }
  4039. late final _spine_bone_data_set_shear_xPtr = _lookup<
  4040. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  4041. 'spine_bone_data_set_shear_x');
  4042. late final _spine_bone_data_set_shear_x = _spine_bone_data_set_shear_xPtr
  4043. .asFunction<void Function(spine_bone_data, double)>();
  4044. double spine_bone_data_get_shear_y(
  4045. spine_bone_data data,
  4046. ) {
  4047. return _spine_bone_data_get_shear_y(
  4048. data,
  4049. );
  4050. }
  4051. late final _spine_bone_data_get_shear_yPtr =
  4052. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone_data)>>(
  4053. 'spine_bone_data_get_shear_y');
  4054. late final _spine_bone_data_get_shear_y = _spine_bone_data_get_shear_yPtr
  4055. .asFunction<double Function(spine_bone_data)>();
  4056. void spine_bone_data_set_shear_y(
  4057. spine_bone_data data,
  4058. double shearY,
  4059. ) {
  4060. return _spine_bone_data_set_shear_y(
  4061. data,
  4062. shearY,
  4063. );
  4064. }
  4065. late final _spine_bone_data_set_shear_yPtr = _lookup<
  4066. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Float)>>(
  4067. 'spine_bone_data_set_shear_y');
  4068. late final _spine_bone_data_set_shear_y = _spine_bone_data_set_shear_yPtr
  4069. .asFunction<void Function(spine_bone_data, double)>();
  4070. int spine_bone_data_get_inherit(
  4071. spine_bone_data data,
  4072. ) {
  4073. return _spine_bone_data_get_inherit(
  4074. data,
  4075. );
  4076. }
  4077. late final _spine_bone_data_get_inheritPtr =
  4078. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_bone_data)>>(
  4079. 'spine_bone_data_get_inherit');
  4080. late final _spine_bone_data_get_inherit = _spine_bone_data_get_inheritPtr
  4081. .asFunction<int Function(spine_bone_data)>();
  4082. void spine_bone_data_set_inherit(
  4083. spine_bone_data data,
  4084. int inherit,
  4085. ) {
  4086. return _spine_bone_data_set_inherit(
  4087. data,
  4088. inherit,
  4089. );
  4090. }
  4091. late final _spine_bone_data_set_inheritPtr = _lookup<
  4092. ffi.NativeFunction<ffi.Void Function(spine_bone_data, ffi.Int32)>>(
  4093. 'spine_bone_data_set_inherit');
  4094. late final _spine_bone_data_set_inherit = _spine_bone_data_set_inheritPtr
  4095. .asFunction<void Function(spine_bone_data, int)>();
  4096. int spine_bone_data_is_skin_required(
  4097. spine_bone_data data,
  4098. ) {
  4099. return _spine_bone_data_is_skin_required(
  4100. data,
  4101. );
  4102. }
  4103. late final _spine_bone_data_is_skin_requiredPtr =
  4104. _lookup<ffi.NativeFunction<spine_bool Function(spine_bone_data)>>(
  4105. 'spine_bone_data_is_skin_required');
  4106. late final _spine_bone_data_is_skin_required =
  4107. _spine_bone_data_is_skin_requiredPtr
  4108. .asFunction<int Function(spine_bone_data)>();
  4109. void spine_bone_data_set_is_skin_required(
  4110. spine_bone_data data,
  4111. int isSkinRequired,
  4112. ) {
  4113. return _spine_bone_data_set_is_skin_required(
  4114. data,
  4115. isSkinRequired,
  4116. );
  4117. }
  4118. late final _spine_bone_data_set_is_skin_requiredPtr = _lookup<
  4119. ffi.NativeFunction<ffi.Void Function(spine_bone_data, spine_bool)>>(
  4120. 'spine_bone_data_set_is_skin_required');
  4121. late final _spine_bone_data_set_is_skin_required =
  4122. _spine_bone_data_set_is_skin_requiredPtr
  4123. .asFunction<void Function(spine_bone_data, int)>();
  4124. spine_color spine_bone_data_get_color(
  4125. spine_bone_data data,
  4126. ) {
  4127. return _spine_bone_data_get_color(
  4128. data,
  4129. );
  4130. }
  4131. late final _spine_bone_data_get_colorPtr =
  4132. _lookup<ffi.NativeFunction<spine_color Function(spine_bone_data)>>(
  4133. 'spine_bone_data_get_color');
  4134. late final _spine_bone_data_get_color = _spine_bone_data_get_colorPtr
  4135. .asFunction<spine_color Function(spine_bone_data)>();
  4136. void spine_bone_data_set_color(
  4137. spine_bone_data data,
  4138. double r,
  4139. double g,
  4140. double b,
  4141. double a,
  4142. ) {
  4143. return _spine_bone_data_set_color(
  4144. data,
  4145. r,
  4146. g,
  4147. b,
  4148. a,
  4149. );
  4150. }
  4151. late final _spine_bone_data_set_colorPtr = _lookup<
  4152. ffi.NativeFunction<
  4153. ffi.Void Function(spine_bone_data, ffi.Float, ffi.Float, ffi.Float,
  4154. ffi.Float)>>('spine_bone_data_set_color');
  4155. late final _spine_bone_data_set_color =
  4156. _spine_bone_data_set_colorPtr.asFunction<
  4157. void Function(spine_bone_data, double, double, double, double)>();
  4158. int spine_bone_data_is_visible(
  4159. spine_bone_data data,
  4160. ) {
  4161. return _spine_bone_data_is_visible(
  4162. data,
  4163. );
  4164. }
  4165. late final _spine_bone_data_is_visiblePtr =
  4166. _lookup<ffi.NativeFunction<spine_bool Function(spine_bone_data)>>(
  4167. 'spine_bone_data_is_visible');
  4168. late final _spine_bone_data_is_visible = _spine_bone_data_is_visiblePtr
  4169. .asFunction<int Function(spine_bone_data)>();
  4170. void spine_bone_data_set_visible(
  4171. spine_bone_data data,
  4172. int isVisible,
  4173. ) {
  4174. return _spine_bone_data_set_visible(
  4175. data,
  4176. isVisible,
  4177. );
  4178. }
  4179. late final _spine_bone_data_set_visiblePtr = _lookup<
  4180. ffi.NativeFunction<ffi.Void Function(spine_bone_data, spine_bool)>>(
  4181. 'spine_bone_data_set_visible');
  4182. late final _spine_bone_data_set_visible = _spine_bone_data_set_visiblePtr
  4183. .asFunction<void Function(spine_bone_data, int)>();
  4184. /// Omitted getIcon()/setIcon()
  4185. void spine_bone_set_is_y_down(
  4186. int yDown,
  4187. ) {
  4188. return _spine_bone_set_is_y_down(
  4189. yDown,
  4190. );
  4191. }
  4192. late final _spine_bone_set_is_y_downPtr =
  4193. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bool)>>(
  4194. 'spine_bone_set_is_y_down');
  4195. late final _spine_bone_set_is_y_down =
  4196. _spine_bone_set_is_y_downPtr.asFunction<void Function(int)>();
  4197. int spine_bone_get_is_y_down() {
  4198. return _spine_bone_get_is_y_down();
  4199. }
  4200. late final _spine_bone_get_is_y_downPtr =
  4201. _lookup<ffi.NativeFunction<spine_bool Function()>>(
  4202. 'spine_bone_get_is_y_down');
  4203. late final _spine_bone_get_is_y_down =
  4204. _spine_bone_get_is_y_downPtr.asFunction<int Function()>();
  4205. void spine_bone_update(
  4206. spine_bone bone,
  4207. ) {
  4208. return _spine_bone_update(
  4209. bone,
  4210. );
  4211. }
  4212. late final _spine_bone_updatePtr =
  4213. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone)>>(
  4214. 'spine_bone_update');
  4215. late final _spine_bone_update =
  4216. _spine_bone_updatePtr.asFunction<void Function(spine_bone)>();
  4217. void spine_bone_update_world_transform(
  4218. spine_bone bone,
  4219. ) {
  4220. return _spine_bone_update_world_transform(
  4221. bone,
  4222. );
  4223. }
  4224. late final _spine_bone_update_world_transformPtr =
  4225. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone)>>(
  4226. 'spine_bone_update_world_transform');
  4227. late final _spine_bone_update_world_transform =
  4228. _spine_bone_update_world_transformPtr
  4229. .asFunction<void Function(spine_bone)>();
  4230. void spine_bone_update_world_transform_with(
  4231. spine_bone bone,
  4232. double x,
  4233. double y,
  4234. double rotation,
  4235. double scaleX,
  4236. double scaleY,
  4237. double shearX,
  4238. double shearY,
  4239. ) {
  4240. return _spine_bone_update_world_transform_with(
  4241. bone,
  4242. x,
  4243. y,
  4244. rotation,
  4245. scaleX,
  4246. scaleY,
  4247. shearX,
  4248. shearY,
  4249. );
  4250. }
  4251. late final _spine_bone_update_world_transform_withPtr = _lookup<
  4252. ffi.NativeFunction<
  4253. ffi.Void Function(
  4254. spine_bone,
  4255. ffi.Float,
  4256. ffi.Float,
  4257. ffi.Float,
  4258. ffi.Float,
  4259. ffi.Float,
  4260. ffi.Float,
  4261. ffi.Float)>>('spine_bone_update_world_transform_with');
  4262. late final _spine_bone_update_world_transform_with =
  4263. _spine_bone_update_world_transform_withPtr.asFunction<
  4264. void Function(spine_bone, double, double, double, double, double,
  4265. double, double)>();
  4266. void spine_bone_update_applied_transform(
  4267. spine_bone bone,
  4268. ) {
  4269. return _spine_bone_update_applied_transform(
  4270. bone,
  4271. );
  4272. }
  4273. late final _spine_bone_update_applied_transformPtr =
  4274. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone)>>(
  4275. 'spine_bone_update_applied_transform');
  4276. late final _spine_bone_update_applied_transform =
  4277. _spine_bone_update_applied_transformPtr
  4278. .asFunction<void Function(spine_bone)>();
  4279. void spine_bone_set_to_setup_pose(
  4280. spine_bone bone,
  4281. ) {
  4282. return _spine_bone_set_to_setup_pose(
  4283. bone,
  4284. );
  4285. }
  4286. late final _spine_bone_set_to_setup_posePtr =
  4287. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone)>>(
  4288. 'spine_bone_set_to_setup_pose');
  4289. late final _spine_bone_set_to_setup_pose =
  4290. _spine_bone_set_to_setup_posePtr.asFunction<void Function(spine_bone)>();
  4291. spine_vector spine_bone_world_to_local(
  4292. spine_bone bone,
  4293. double worldX,
  4294. double worldY,
  4295. ) {
  4296. return _spine_bone_world_to_local(
  4297. bone,
  4298. worldX,
  4299. worldY,
  4300. );
  4301. }
  4302. late final _spine_bone_world_to_localPtr = _lookup<
  4303. ffi.NativeFunction<
  4304. spine_vector Function(
  4305. spine_bone, ffi.Float, ffi.Float)>>('spine_bone_world_to_local');
  4306. late final _spine_bone_world_to_local = _spine_bone_world_to_localPtr
  4307. .asFunction<spine_vector Function(spine_bone, double, double)>();
  4308. spine_vector spine_bone_world_to_parent(
  4309. spine_bone bone,
  4310. double worldX,
  4311. double worldY,
  4312. ) {
  4313. return _spine_bone_world_to_parent(
  4314. bone,
  4315. worldX,
  4316. worldY,
  4317. );
  4318. }
  4319. late final _spine_bone_world_to_parentPtr = _lookup<
  4320. ffi.NativeFunction<
  4321. spine_vector Function(
  4322. spine_bone, ffi.Float, ffi.Float)>>('spine_bone_world_to_parent');
  4323. late final _spine_bone_world_to_parent = _spine_bone_world_to_parentPtr
  4324. .asFunction<spine_vector Function(spine_bone, double, double)>();
  4325. spine_vector spine_bone_local_to_world(
  4326. spine_bone bone,
  4327. double localX,
  4328. double localY,
  4329. ) {
  4330. return _spine_bone_local_to_world(
  4331. bone,
  4332. localX,
  4333. localY,
  4334. );
  4335. }
  4336. late final _spine_bone_local_to_worldPtr = _lookup<
  4337. ffi.NativeFunction<
  4338. spine_vector Function(
  4339. spine_bone, ffi.Float, ffi.Float)>>('spine_bone_local_to_world');
  4340. late final _spine_bone_local_to_world = _spine_bone_local_to_worldPtr
  4341. .asFunction<spine_vector Function(spine_bone, double, double)>();
  4342. spine_vector spine_bone_parent_to_world(
  4343. spine_bone bone,
  4344. double localX,
  4345. double localY,
  4346. ) {
  4347. return _spine_bone_parent_to_world(
  4348. bone,
  4349. localX,
  4350. localY,
  4351. );
  4352. }
  4353. late final _spine_bone_parent_to_worldPtr = _lookup<
  4354. ffi.NativeFunction<
  4355. spine_vector Function(
  4356. spine_bone, ffi.Float, ffi.Float)>>('spine_bone_parent_to_world');
  4357. late final _spine_bone_parent_to_world = _spine_bone_parent_to_worldPtr
  4358. .asFunction<spine_vector Function(spine_bone, double, double)>();
  4359. double spine_bone_world_to_local_rotation(
  4360. spine_bone bone,
  4361. double worldRotation,
  4362. ) {
  4363. return _spine_bone_world_to_local_rotation(
  4364. bone,
  4365. worldRotation,
  4366. );
  4367. }
  4368. late final _spine_bone_world_to_local_rotationPtr =
  4369. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone, ffi.Float)>>(
  4370. 'spine_bone_world_to_local_rotation');
  4371. late final _spine_bone_world_to_local_rotation =
  4372. _spine_bone_world_to_local_rotationPtr
  4373. .asFunction<double Function(spine_bone, double)>();
  4374. double spine_bone_local_to_world_rotation(
  4375. spine_bone bone,
  4376. double localRotation,
  4377. ) {
  4378. return _spine_bone_local_to_world_rotation(
  4379. bone,
  4380. localRotation,
  4381. );
  4382. }
  4383. late final _spine_bone_local_to_world_rotationPtr =
  4384. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone, ffi.Float)>>(
  4385. 'spine_bone_local_to_world_rotation');
  4386. late final _spine_bone_local_to_world_rotation =
  4387. _spine_bone_local_to_world_rotationPtr
  4388. .asFunction<double Function(spine_bone, double)>();
  4389. void spine_bone_rotate_world(
  4390. spine_bone bone,
  4391. double degrees,
  4392. ) {
  4393. return _spine_bone_rotate_world(
  4394. bone,
  4395. degrees,
  4396. );
  4397. }
  4398. late final _spine_bone_rotate_worldPtr =
  4399. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4400. 'spine_bone_rotate_world');
  4401. late final _spine_bone_rotate_world = _spine_bone_rotate_worldPtr
  4402. .asFunction<void Function(spine_bone, double)>();
  4403. double spine_bone_get_world_to_local_rotation_x(
  4404. spine_bone bone,
  4405. ) {
  4406. return _spine_bone_get_world_to_local_rotation_x(
  4407. bone,
  4408. );
  4409. }
  4410. late final _spine_bone_get_world_to_local_rotation_xPtr =
  4411. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4412. 'spine_bone_get_world_to_local_rotation_x');
  4413. late final _spine_bone_get_world_to_local_rotation_x =
  4414. _spine_bone_get_world_to_local_rotation_xPtr
  4415. .asFunction<double Function(spine_bone)>();
  4416. double spine_bone_get_world_to_local_rotation_y(
  4417. spine_bone bone,
  4418. ) {
  4419. return _spine_bone_get_world_to_local_rotation_y(
  4420. bone,
  4421. );
  4422. }
  4423. late final _spine_bone_get_world_to_local_rotation_yPtr =
  4424. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4425. 'spine_bone_get_world_to_local_rotation_y');
  4426. late final _spine_bone_get_world_to_local_rotation_y =
  4427. _spine_bone_get_world_to_local_rotation_yPtr
  4428. .asFunction<double Function(spine_bone)>();
  4429. spine_bone_data spine_bone_get_data(
  4430. spine_bone bone,
  4431. ) {
  4432. return _spine_bone_get_data(
  4433. bone,
  4434. );
  4435. }
  4436. late final _spine_bone_get_dataPtr =
  4437. _lookup<ffi.NativeFunction<spine_bone_data Function(spine_bone)>>(
  4438. 'spine_bone_get_data');
  4439. late final _spine_bone_get_data = _spine_bone_get_dataPtr
  4440. .asFunction<spine_bone_data Function(spine_bone)>();
  4441. spine_skeleton spine_bone_get_skeleton(
  4442. spine_bone bone,
  4443. ) {
  4444. return _spine_bone_get_skeleton(
  4445. bone,
  4446. );
  4447. }
  4448. late final _spine_bone_get_skeletonPtr =
  4449. _lookup<ffi.NativeFunction<spine_skeleton Function(spine_bone)>>(
  4450. 'spine_bone_get_skeleton');
  4451. late final _spine_bone_get_skeleton = _spine_bone_get_skeletonPtr
  4452. .asFunction<spine_skeleton Function(spine_bone)>();
  4453. spine_bone spine_bone_get_parent(
  4454. spine_bone bone,
  4455. ) {
  4456. return _spine_bone_get_parent(
  4457. bone,
  4458. );
  4459. }
  4460. late final _spine_bone_get_parentPtr =
  4461. _lookup<ffi.NativeFunction<spine_bone Function(spine_bone)>>(
  4462. 'spine_bone_get_parent');
  4463. late final _spine_bone_get_parent =
  4464. _spine_bone_get_parentPtr.asFunction<spine_bone Function(spine_bone)>();
  4465. int spine_bone_get_num_children(
  4466. spine_bone bone,
  4467. ) {
  4468. return _spine_bone_get_num_children(
  4469. bone,
  4470. );
  4471. }
  4472. late final _spine_bone_get_num_childrenPtr =
  4473. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_bone)>>(
  4474. 'spine_bone_get_num_children');
  4475. late final _spine_bone_get_num_children =
  4476. _spine_bone_get_num_childrenPtr.asFunction<int Function(spine_bone)>();
  4477. ffi.Pointer<spine_bone> spine_bone_get_children(
  4478. spine_bone bone,
  4479. ) {
  4480. return _spine_bone_get_children(
  4481. bone,
  4482. );
  4483. }
  4484. late final _spine_bone_get_childrenPtr =
  4485. _lookup<ffi.NativeFunction<ffi.Pointer<spine_bone> Function(spine_bone)>>(
  4486. 'spine_bone_get_children');
  4487. late final _spine_bone_get_children = _spine_bone_get_childrenPtr
  4488. .asFunction<ffi.Pointer<spine_bone> Function(spine_bone)>();
  4489. double spine_bone_get_x(
  4490. spine_bone bone,
  4491. ) {
  4492. return _spine_bone_get_x(
  4493. bone,
  4494. );
  4495. }
  4496. late final _spine_bone_get_xPtr =
  4497. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4498. 'spine_bone_get_x');
  4499. late final _spine_bone_get_x =
  4500. _spine_bone_get_xPtr.asFunction<double Function(spine_bone)>();
  4501. void spine_bone_set_x(
  4502. spine_bone bone,
  4503. double x,
  4504. ) {
  4505. return _spine_bone_set_x(
  4506. bone,
  4507. x,
  4508. );
  4509. }
  4510. late final _spine_bone_set_xPtr =
  4511. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4512. 'spine_bone_set_x');
  4513. late final _spine_bone_set_x =
  4514. _spine_bone_set_xPtr.asFunction<void Function(spine_bone, double)>();
  4515. double spine_bone_get_y(
  4516. spine_bone bone,
  4517. ) {
  4518. return _spine_bone_get_y(
  4519. bone,
  4520. );
  4521. }
  4522. late final _spine_bone_get_yPtr =
  4523. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4524. 'spine_bone_get_y');
  4525. late final _spine_bone_get_y =
  4526. _spine_bone_get_yPtr.asFunction<double Function(spine_bone)>();
  4527. void spine_bone_set_y(
  4528. spine_bone bone,
  4529. double y,
  4530. ) {
  4531. return _spine_bone_set_y(
  4532. bone,
  4533. y,
  4534. );
  4535. }
  4536. late final _spine_bone_set_yPtr =
  4537. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4538. 'spine_bone_set_y');
  4539. late final _spine_bone_set_y =
  4540. _spine_bone_set_yPtr.asFunction<void Function(spine_bone, double)>();
  4541. double spine_bone_get_rotation(
  4542. spine_bone bone,
  4543. ) {
  4544. return _spine_bone_get_rotation(
  4545. bone,
  4546. );
  4547. }
  4548. late final _spine_bone_get_rotationPtr =
  4549. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4550. 'spine_bone_get_rotation');
  4551. late final _spine_bone_get_rotation =
  4552. _spine_bone_get_rotationPtr.asFunction<double Function(spine_bone)>();
  4553. void spine_bone_set_rotation(
  4554. spine_bone bone,
  4555. double rotation,
  4556. ) {
  4557. return _spine_bone_set_rotation(
  4558. bone,
  4559. rotation,
  4560. );
  4561. }
  4562. late final _spine_bone_set_rotationPtr =
  4563. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4564. 'spine_bone_set_rotation');
  4565. late final _spine_bone_set_rotation = _spine_bone_set_rotationPtr
  4566. .asFunction<void Function(spine_bone, double)>();
  4567. double spine_bone_get_scale_x(
  4568. spine_bone bone,
  4569. ) {
  4570. return _spine_bone_get_scale_x(
  4571. bone,
  4572. );
  4573. }
  4574. late final _spine_bone_get_scale_xPtr =
  4575. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4576. 'spine_bone_get_scale_x');
  4577. late final _spine_bone_get_scale_x =
  4578. _spine_bone_get_scale_xPtr.asFunction<double Function(spine_bone)>();
  4579. void spine_bone_set_scale_x(
  4580. spine_bone bone,
  4581. double scaleX,
  4582. ) {
  4583. return _spine_bone_set_scale_x(
  4584. bone,
  4585. scaleX,
  4586. );
  4587. }
  4588. late final _spine_bone_set_scale_xPtr =
  4589. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4590. 'spine_bone_set_scale_x');
  4591. late final _spine_bone_set_scale_x = _spine_bone_set_scale_xPtr
  4592. .asFunction<void Function(spine_bone, double)>();
  4593. double spine_bone_get_scale_y(
  4594. spine_bone bone,
  4595. ) {
  4596. return _spine_bone_get_scale_y(
  4597. bone,
  4598. );
  4599. }
  4600. late final _spine_bone_get_scale_yPtr =
  4601. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4602. 'spine_bone_get_scale_y');
  4603. late final _spine_bone_get_scale_y =
  4604. _spine_bone_get_scale_yPtr.asFunction<double Function(spine_bone)>();
  4605. void spine_bone_set_scale_y(
  4606. spine_bone bone,
  4607. double scaleY,
  4608. ) {
  4609. return _spine_bone_set_scale_y(
  4610. bone,
  4611. scaleY,
  4612. );
  4613. }
  4614. late final _spine_bone_set_scale_yPtr =
  4615. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4616. 'spine_bone_set_scale_y');
  4617. late final _spine_bone_set_scale_y = _spine_bone_set_scale_yPtr
  4618. .asFunction<void Function(spine_bone, double)>();
  4619. double spine_bone_get_shear_x(
  4620. spine_bone bone,
  4621. ) {
  4622. return _spine_bone_get_shear_x(
  4623. bone,
  4624. );
  4625. }
  4626. late final _spine_bone_get_shear_xPtr =
  4627. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4628. 'spine_bone_get_shear_x');
  4629. late final _spine_bone_get_shear_x =
  4630. _spine_bone_get_shear_xPtr.asFunction<double Function(spine_bone)>();
  4631. void spine_bone_set_shear_x(
  4632. spine_bone bone,
  4633. double shearX,
  4634. ) {
  4635. return _spine_bone_set_shear_x(
  4636. bone,
  4637. shearX,
  4638. );
  4639. }
  4640. late final _spine_bone_set_shear_xPtr =
  4641. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4642. 'spine_bone_set_shear_x');
  4643. late final _spine_bone_set_shear_x = _spine_bone_set_shear_xPtr
  4644. .asFunction<void Function(spine_bone, double)>();
  4645. double spine_bone_get_shear_y(
  4646. spine_bone bone,
  4647. ) {
  4648. return _spine_bone_get_shear_y(
  4649. bone,
  4650. );
  4651. }
  4652. late final _spine_bone_get_shear_yPtr =
  4653. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4654. 'spine_bone_get_shear_y');
  4655. late final _spine_bone_get_shear_y =
  4656. _spine_bone_get_shear_yPtr.asFunction<double Function(spine_bone)>();
  4657. void spine_bone_set_shear_y(
  4658. spine_bone bone,
  4659. double shearY,
  4660. ) {
  4661. return _spine_bone_set_shear_y(
  4662. bone,
  4663. shearY,
  4664. );
  4665. }
  4666. late final _spine_bone_set_shear_yPtr =
  4667. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4668. 'spine_bone_set_shear_y');
  4669. late final _spine_bone_set_shear_y = _spine_bone_set_shear_yPtr
  4670. .asFunction<void Function(spine_bone, double)>();
  4671. double spine_bone_get_applied_rotation(
  4672. spine_bone bone,
  4673. ) {
  4674. return _spine_bone_get_applied_rotation(
  4675. bone,
  4676. );
  4677. }
  4678. late final _spine_bone_get_applied_rotationPtr =
  4679. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4680. 'spine_bone_get_applied_rotation');
  4681. late final _spine_bone_get_applied_rotation =
  4682. _spine_bone_get_applied_rotationPtr
  4683. .asFunction<double Function(spine_bone)>();
  4684. void spine_bone_set_applied_rotation(
  4685. spine_bone bone,
  4686. double rotation,
  4687. ) {
  4688. return _spine_bone_set_applied_rotation(
  4689. bone,
  4690. rotation,
  4691. );
  4692. }
  4693. late final _spine_bone_set_applied_rotationPtr =
  4694. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4695. 'spine_bone_set_applied_rotation');
  4696. late final _spine_bone_set_applied_rotation =
  4697. _spine_bone_set_applied_rotationPtr
  4698. .asFunction<void Function(spine_bone, double)>();
  4699. double spine_bone_get_a_x(
  4700. spine_bone bone,
  4701. ) {
  4702. return _spine_bone_get_a_x(
  4703. bone,
  4704. );
  4705. }
  4706. late final _spine_bone_get_a_xPtr =
  4707. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4708. 'spine_bone_get_a_x');
  4709. late final _spine_bone_get_a_x =
  4710. _spine_bone_get_a_xPtr.asFunction<double Function(spine_bone)>();
  4711. void spine_bone_set_a_x(
  4712. spine_bone bone,
  4713. double x,
  4714. ) {
  4715. return _spine_bone_set_a_x(
  4716. bone,
  4717. x,
  4718. );
  4719. }
  4720. late final _spine_bone_set_a_xPtr =
  4721. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4722. 'spine_bone_set_a_x');
  4723. late final _spine_bone_set_a_x =
  4724. _spine_bone_set_a_xPtr.asFunction<void Function(spine_bone, double)>();
  4725. double spine_bone_get_a_y(
  4726. spine_bone bone,
  4727. ) {
  4728. return _spine_bone_get_a_y(
  4729. bone,
  4730. );
  4731. }
  4732. late final _spine_bone_get_a_yPtr =
  4733. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4734. 'spine_bone_get_a_y');
  4735. late final _spine_bone_get_a_y =
  4736. _spine_bone_get_a_yPtr.asFunction<double Function(spine_bone)>();
  4737. void spine_bone_set_a_y(
  4738. spine_bone bone,
  4739. double y,
  4740. ) {
  4741. return _spine_bone_set_a_y(
  4742. bone,
  4743. y,
  4744. );
  4745. }
  4746. late final _spine_bone_set_a_yPtr =
  4747. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4748. 'spine_bone_set_a_y');
  4749. late final _spine_bone_set_a_y =
  4750. _spine_bone_set_a_yPtr.asFunction<void Function(spine_bone, double)>();
  4751. double spine_bone_get_a_scale_x(
  4752. spine_bone bone,
  4753. ) {
  4754. return _spine_bone_get_a_scale_x(
  4755. bone,
  4756. );
  4757. }
  4758. late final _spine_bone_get_a_scale_xPtr =
  4759. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4760. 'spine_bone_get_a_scale_x');
  4761. late final _spine_bone_get_a_scale_x =
  4762. _spine_bone_get_a_scale_xPtr.asFunction<double Function(spine_bone)>();
  4763. void spine_bone_set_a_scale_x(
  4764. spine_bone bone,
  4765. double scaleX,
  4766. ) {
  4767. return _spine_bone_set_a_scale_x(
  4768. bone,
  4769. scaleX,
  4770. );
  4771. }
  4772. late final _spine_bone_set_a_scale_xPtr =
  4773. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4774. 'spine_bone_set_a_scale_x');
  4775. late final _spine_bone_set_a_scale_x = _spine_bone_set_a_scale_xPtr
  4776. .asFunction<void Function(spine_bone, double)>();
  4777. double spine_bone_get_a_scale_y(
  4778. spine_bone bone,
  4779. ) {
  4780. return _spine_bone_get_a_scale_y(
  4781. bone,
  4782. );
  4783. }
  4784. late final _spine_bone_get_a_scale_yPtr =
  4785. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4786. 'spine_bone_get_a_scale_y');
  4787. late final _spine_bone_get_a_scale_y =
  4788. _spine_bone_get_a_scale_yPtr.asFunction<double Function(spine_bone)>();
  4789. void spine_bone_set_a_scale_y(
  4790. spine_bone bone,
  4791. double scaleY,
  4792. ) {
  4793. return _spine_bone_set_a_scale_y(
  4794. bone,
  4795. scaleY,
  4796. );
  4797. }
  4798. late final _spine_bone_set_a_scale_yPtr =
  4799. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4800. 'spine_bone_set_a_scale_y');
  4801. late final _spine_bone_set_a_scale_y = _spine_bone_set_a_scale_yPtr
  4802. .asFunction<void Function(spine_bone, double)>();
  4803. double spine_bone_get_a_shear_x(
  4804. spine_bone bone,
  4805. ) {
  4806. return _spine_bone_get_a_shear_x(
  4807. bone,
  4808. );
  4809. }
  4810. late final _spine_bone_get_a_shear_xPtr =
  4811. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4812. 'spine_bone_get_a_shear_x');
  4813. late final _spine_bone_get_a_shear_x =
  4814. _spine_bone_get_a_shear_xPtr.asFunction<double Function(spine_bone)>();
  4815. void spine_bone_set_a_shear_x(
  4816. spine_bone bone,
  4817. double shearX,
  4818. ) {
  4819. return _spine_bone_set_a_shear_x(
  4820. bone,
  4821. shearX,
  4822. );
  4823. }
  4824. late final _spine_bone_set_a_shear_xPtr =
  4825. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4826. 'spine_bone_set_a_shear_x');
  4827. late final _spine_bone_set_a_shear_x = _spine_bone_set_a_shear_xPtr
  4828. .asFunction<void Function(spine_bone, double)>();
  4829. double spine_bone_get_a_shear_y(
  4830. spine_bone bone,
  4831. ) {
  4832. return _spine_bone_get_a_shear_y(
  4833. bone,
  4834. );
  4835. }
  4836. late final _spine_bone_get_a_shear_yPtr =
  4837. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4838. 'spine_bone_get_a_shear_y');
  4839. late final _spine_bone_get_a_shear_y =
  4840. _spine_bone_get_a_shear_yPtr.asFunction<double Function(spine_bone)>();
  4841. void spine_bone_set_a_shear_y(
  4842. spine_bone bone,
  4843. double shearY,
  4844. ) {
  4845. return _spine_bone_set_a_shear_y(
  4846. bone,
  4847. shearY,
  4848. );
  4849. }
  4850. late final _spine_bone_set_a_shear_yPtr =
  4851. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4852. 'spine_bone_set_a_shear_y');
  4853. late final _spine_bone_set_a_shear_y = _spine_bone_set_a_shear_yPtr
  4854. .asFunction<void Function(spine_bone, double)>();
  4855. double spine_bone_get_a(
  4856. spine_bone bone,
  4857. ) {
  4858. return _spine_bone_get_a(
  4859. bone,
  4860. );
  4861. }
  4862. late final _spine_bone_get_aPtr =
  4863. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4864. 'spine_bone_get_a');
  4865. late final _spine_bone_get_a =
  4866. _spine_bone_get_aPtr.asFunction<double Function(spine_bone)>();
  4867. void spine_bone_set_a(
  4868. spine_bone bone,
  4869. double a,
  4870. ) {
  4871. return _spine_bone_set_a(
  4872. bone,
  4873. a,
  4874. );
  4875. }
  4876. late final _spine_bone_set_aPtr =
  4877. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4878. 'spine_bone_set_a');
  4879. late final _spine_bone_set_a =
  4880. _spine_bone_set_aPtr.asFunction<void Function(spine_bone, double)>();
  4881. double spine_bone_get_b(
  4882. spine_bone bone,
  4883. ) {
  4884. return _spine_bone_get_b(
  4885. bone,
  4886. );
  4887. }
  4888. late final _spine_bone_get_bPtr =
  4889. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4890. 'spine_bone_get_b');
  4891. late final _spine_bone_get_b =
  4892. _spine_bone_get_bPtr.asFunction<double Function(spine_bone)>();
  4893. void spine_bone_set_b(
  4894. spine_bone bone,
  4895. double b,
  4896. ) {
  4897. return _spine_bone_set_b(
  4898. bone,
  4899. b,
  4900. );
  4901. }
  4902. late final _spine_bone_set_bPtr =
  4903. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4904. 'spine_bone_set_b');
  4905. late final _spine_bone_set_b =
  4906. _spine_bone_set_bPtr.asFunction<void Function(spine_bone, double)>();
  4907. double spine_bone_get_c(
  4908. spine_bone bone,
  4909. ) {
  4910. return _spine_bone_get_c(
  4911. bone,
  4912. );
  4913. }
  4914. late final _spine_bone_get_cPtr =
  4915. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4916. 'spine_bone_get_c');
  4917. late final _spine_bone_get_c =
  4918. _spine_bone_get_cPtr.asFunction<double Function(spine_bone)>();
  4919. void spine_bone_set_c(
  4920. spine_bone bone,
  4921. double c,
  4922. ) {
  4923. return _spine_bone_set_c(
  4924. bone,
  4925. c,
  4926. );
  4927. }
  4928. late final _spine_bone_set_cPtr =
  4929. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4930. 'spine_bone_set_c');
  4931. late final _spine_bone_set_c =
  4932. _spine_bone_set_cPtr.asFunction<void Function(spine_bone, double)>();
  4933. double spine_bone_get_d(
  4934. spine_bone bone,
  4935. ) {
  4936. return _spine_bone_get_d(
  4937. bone,
  4938. );
  4939. }
  4940. late final _spine_bone_get_dPtr =
  4941. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4942. 'spine_bone_get_d');
  4943. late final _spine_bone_get_d =
  4944. _spine_bone_get_dPtr.asFunction<double Function(spine_bone)>();
  4945. void spine_bone_set_d(
  4946. spine_bone bone,
  4947. double d,
  4948. ) {
  4949. return _spine_bone_set_d(
  4950. bone,
  4951. d,
  4952. );
  4953. }
  4954. late final _spine_bone_set_dPtr =
  4955. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4956. 'spine_bone_set_d');
  4957. late final _spine_bone_set_d =
  4958. _spine_bone_set_dPtr.asFunction<void Function(spine_bone, double)>();
  4959. double spine_bone_get_world_x(
  4960. spine_bone bone,
  4961. ) {
  4962. return _spine_bone_get_world_x(
  4963. bone,
  4964. );
  4965. }
  4966. late final _spine_bone_get_world_xPtr =
  4967. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4968. 'spine_bone_get_world_x');
  4969. late final _spine_bone_get_world_x =
  4970. _spine_bone_get_world_xPtr.asFunction<double Function(spine_bone)>();
  4971. void spine_bone_set_world_x(
  4972. spine_bone bone,
  4973. double worldX,
  4974. ) {
  4975. return _spine_bone_set_world_x(
  4976. bone,
  4977. worldX,
  4978. );
  4979. }
  4980. late final _spine_bone_set_world_xPtr =
  4981. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  4982. 'spine_bone_set_world_x');
  4983. late final _spine_bone_set_world_x = _spine_bone_set_world_xPtr
  4984. .asFunction<void Function(spine_bone, double)>();
  4985. double spine_bone_get_world_y(
  4986. spine_bone bone,
  4987. ) {
  4988. return _spine_bone_get_world_y(
  4989. bone,
  4990. );
  4991. }
  4992. late final _spine_bone_get_world_yPtr =
  4993. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  4994. 'spine_bone_get_world_y');
  4995. late final _spine_bone_get_world_y =
  4996. _spine_bone_get_world_yPtr.asFunction<double Function(spine_bone)>();
  4997. void spine_bone_set_world_y(
  4998. spine_bone bone,
  4999. double worldY,
  5000. ) {
  5001. return _spine_bone_set_world_y(
  5002. bone,
  5003. worldY,
  5004. );
  5005. }
  5006. late final _spine_bone_set_world_yPtr =
  5007. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Float)>>(
  5008. 'spine_bone_set_world_y');
  5009. late final _spine_bone_set_world_y = _spine_bone_set_world_yPtr
  5010. .asFunction<void Function(spine_bone, double)>();
  5011. double spine_bone_get_world_rotation_x(
  5012. spine_bone bone,
  5013. ) {
  5014. return _spine_bone_get_world_rotation_x(
  5015. bone,
  5016. );
  5017. }
  5018. late final _spine_bone_get_world_rotation_xPtr =
  5019. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  5020. 'spine_bone_get_world_rotation_x');
  5021. late final _spine_bone_get_world_rotation_x =
  5022. _spine_bone_get_world_rotation_xPtr
  5023. .asFunction<double Function(spine_bone)>();
  5024. double spine_bone_get_world_rotation_y(
  5025. spine_bone bone,
  5026. ) {
  5027. return _spine_bone_get_world_rotation_y(
  5028. bone,
  5029. );
  5030. }
  5031. late final _spine_bone_get_world_rotation_yPtr =
  5032. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  5033. 'spine_bone_get_world_rotation_y');
  5034. late final _spine_bone_get_world_rotation_y =
  5035. _spine_bone_get_world_rotation_yPtr
  5036. .asFunction<double Function(spine_bone)>();
  5037. double spine_bone_get_world_scale_x(
  5038. spine_bone bone,
  5039. ) {
  5040. return _spine_bone_get_world_scale_x(
  5041. bone,
  5042. );
  5043. }
  5044. late final _spine_bone_get_world_scale_xPtr =
  5045. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  5046. 'spine_bone_get_world_scale_x');
  5047. late final _spine_bone_get_world_scale_x = _spine_bone_get_world_scale_xPtr
  5048. .asFunction<double Function(spine_bone)>();
  5049. double spine_bone_get_world_scale_y(
  5050. spine_bone bone,
  5051. ) {
  5052. return _spine_bone_get_world_scale_y(
  5053. bone,
  5054. );
  5055. }
  5056. late final _spine_bone_get_world_scale_yPtr =
  5057. _lookup<ffi.NativeFunction<ffi.Float Function(spine_bone)>>(
  5058. 'spine_bone_get_world_scale_y');
  5059. late final _spine_bone_get_world_scale_y = _spine_bone_get_world_scale_yPtr
  5060. .asFunction<double Function(spine_bone)>();
  5061. int spine_bone_get_is_active(
  5062. spine_bone bone,
  5063. ) {
  5064. return _spine_bone_get_is_active(
  5065. bone,
  5066. );
  5067. }
  5068. late final _spine_bone_get_is_activePtr =
  5069. _lookup<ffi.NativeFunction<spine_bool Function(spine_bone)>>(
  5070. 'spine_bone_get_is_active');
  5071. late final _spine_bone_get_is_active =
  5072. _spine_bone_get_is_activePtr.asFunction<int Function(spine_bone)>();
  5073. void spine_bone_set_is_active(
  5074. spine_bone bone,
  5075. int isActive,
  5076. ) {
  5077. return _spine_bone_set_is_active(
  5078. bone,
  5079. isActive,
  5080. );
  5081. }
  5082. late final _spine_bone_set_is_activePtr =
  5083. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, spine_bool)>>(
  5084. 'spine_bone_set_is_active');
  5085. late final _spine_bone_set_is_active =
  5086. _spine_bone_set_is_activePtr.asFunction<void Function(spine_bone, int)>();
  5087. int spine_bone_get_inherit(
  5088. spine_bone data,
  5089. ) {
  5090. return _spine_bone_get_inherit(
  5091. data,
  5092. );
  5093. }
  5094. late final _spine_bone_get_inheritPtr =
  5095. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_bone)>>(
  5096. 'spine_bone_get_inherit');
  5097. late final _spine_bone_get_inherit =
  5098. _spine_bone_get_inheritPtr.asFunction<int Function(spine_bone)>();
  5099. void spine_bone_set_inherit(
  5100. spine_bone data,
  5101. int inherit,
  5102. ) {
  5103. return _spine_bone_set_inherit(
  5104. data,
  5105. inherit,
  5106. );
  5107. }
  5108. late final _spine_bone_set_inheritPtr =
  5109. _lookup<ffi.NativeFunction<ffi.Void Function(spine_bone, ffi.Int32)>>(
  5110. 'spine_bone_set_inherit');
  5111. late final _spine_bone_set_inherit =
  5112. _spine_bone_set_inheritPtr.asFunction<void Function(spine_bone, int)>();
  5113. ffi.Pointer<utf8> spine_attachment_get_name(
  5114. spine_attachment attachment,
  5115. ) {
  5116. return _spine_attachment_get_name(
  5117. attachment,
  5118. );
  5119. }
  5120. late final _spine_attachment_get_namePtr =
  5121. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_attachment)>>(
  5122. 'spine_attachment_get_name');
  5123. late final _spine_attachment_get_name = _spine_attachment_get_namePtr
  5124. .asFunction<ffi.Pointer<utf8> Function(spine_attachment)>();
  5125. int spine_attachment_get_type(
  5126. spine_attachment attachment,
  5127. ) {
  5128. return _spine_attachment_get_type(
  5129. attachment,
  5130. );
  5131. }
  5132. late final _spine_attachment_get_typePtr =
  5133. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_attachment)>>(
  5134. 'spine_attachment_get_type');
  5135. late final _spine_attachment_get_type = _spine_attachment_get_typePtr
  5136. .asFunction<int Function(spine_attachment)>();
  5137. spine_attachment spine_attachment_copy(
  5138. spine_attachment attachment,
  5139. ) {
  5140. return _spine_attachment_copy(
  5141. attachment,
  5142. );
  5143. }
  5144. late final _spine_attachment_copyPtr =
  5145. _lookup<ffi.NativeFunction<spine_attachment Function(spine_attachment)>>(
  5146. 'spine_attachment_copy');
  5147. late final _spine_attachment_copy = _spine_attachment_copyPtr
  5148. .asFunction<spine_attachment Function(spine_attachment)>();
  5149. void spine_attachment_dispose(
  5150. spine_attachment attachment,
  5151. ) {
  5152. return _spine_attachment_dispose(
  5153. attachment,
  5154. );
  5155. }
  5156. late final _spine_attachment_disposePtr =
  5157. _lookup<ffi.NativeFunction<ffi.Void Function(spine_attachment)>>(
  5158. 'spine_attachment_dispose');
  5159. late final _spine_attachment_dispose = _spine_attachment_disposePtr
  5160. .asFunction<void Function(spine_attachment)>();
  5161. spine_vector spine_point_attachment_compute_world_position(
  5162. spine_point_attachment attachment,
  5163. spine_bone bone,
  5164. ) {
  5165. return _spine_point_attachment_compute_world_position(
  5166. attachment,
  5167. bone,
  5168. );
  5169. }
  5170. late final _spine_point_attachment_compute_world_positionPtr = _lookup<
  5171. ffi.NativeFunction<
  5172. spine_vector Function(spine_point_attachment,
  5173. spine_bone)>>('spine_point_attachment_compute_world_position');
  5174. late final _spine_point_attachment_compute_world_position =
  5175. _spine_point_attachment_compute_world_positionPtr.asFunction<
  5176. spine_vector Function(spine_point_attachment, spine_bone)>();
  5177. double spine_point_attachment_compute_world_rotation(
  5178. spine_point_attachment attachment,
  5179. spine_bone bone,
  5180. ) {
  5181. return _spine_point_attachment_compute_world_rotation(
  5182. attachment,
  5183. bone,
  5184. );
  5185. }
  5186. late final _spine_point_attachment_compute_world_rotationPtr = _lookup<
  5187. ffi.NativeFunction<
  5188. ffi.Float Function(spine_point_attachment,
  5189. spine_bone)>>('spine_point_attachment_compute_world_rotation');
  5190. late final _spine_point_attachment_compute_world_rotation =
  5191. _spine_point_attachment_compute_world_rotationPtr
  5192. .asFunction<double Function(spine_point_attachment, spine_bone)>();
  5193. double spine_point_attachment_get_x(
  5194. spine_point_attachment attachment,
  5195. ) {
  5196. return _spine_point_attachment_get_x(
  5197. attachment,
  5198. );
  5199. }
  5200. late final _spine_point_attachment_get_xPtr =
  5201. _lookup<ffi.NativeFunction<ffi.Float Function(spine_point_attachment)>>(
  5202. 'spine_point_attachment_get_x');
  5203. late final _spine_point_attachment_get_x = _spine_point_attachment_get_xPtr
  5204. .asFunction<double Function(spine_point_attachment)>();
  5205. void spine_point_attachment_set_x(
  5206. spine_point_attachment attachment,
  5207. double x,
  5208. ) {
  5209. return _spine_point_attachment_set_x(
  5210. attachment,
  5211. x,
  5212. );
  5213. }
  5214. late final _spine_point_attachment_set_xPtr = _lookup<
  5215. ffi.NativeFunction<
  5216. ffi.Void Function(spine_point_attachment,
  5217. ffi.Float)>>('spine_point_attachment_set_x');
  5218. late final _spine_point_attachment_set_x = _spine_point_attachment_set_xPtr
  5219. .asFunction<void Function(spine_point_attachment, double)>();
  5220. double spine_point_attachment_get_y(
  5221. spine_point_attachment attachment,
  5222. ) {
  5223. return _spine_point_attachment_get_y(
  5224. attachment,
  5225. );
  5226. }
  5227. late final _spine_point_attachment_get_yPtr =
  5228. _lookup<ffi.NativeFunction<ffi.Float Function(spine_point_attachment)>>(
  5229. 'spine_point_attachment_get_y');
  5230. late final _spine_point_attachment_get_y = _spine_point_attachment_get_yPtr
  5231. .asFunction<double Function(spine_point_attachment)>();
  5232. void spine_point_attachment_set_y(
  5233. spine_point_attachment attachment,
  5234. double y,
  5235. ) {
  5236. return _spine_point_attachment_set_y(
  5237. attachment,
  5238. y,
  5239. );
  5240. }
  5241. late final _spine_point_attachment_set_yPtr = _lookup<
  5242. ffi.NativeFunction<
  5243. ffi.Void Function(spine_point_attachment,
  5244. ffi.Float)>>('spine_point_attachment_set_y');
  5245. late final _spine_point_attachment_set_y = _spine_point_attachment_set_yPtr
  5246. .asFunction<void Function(spine_point_attachment, double)>();
  5247. double spine_point_attachment_get_rotation(
  5248. spine_point_attachment attachment,
  5249. ) {
  5250. return _spine_point_attachment_get_rotation(
  5251. attachment,
  5252. );
  5253. }
  5254. late final _spine_point_attachment_get_rotationPtr =
  5255. _lookup<ffi.NativeFunction<ffi.Float Function(spine_point_attachment)>>(
  5256. 'spine_point_attachment_get_rotation');
  5257. late final _spine_point_attachment_get_rotation =
  5258. _spine_point_attachment_get_rotationPtr
  5259. .asFunction<double Function(spine_point_attachment)>();
  5260. void spine_point_attachment_set_rotation(
  5261. spine_point_attachment attachment,
  5262. double rotation,
  5263. ) {
  5264. return _spine_point_attachment_set_rotation(
  5265. attachment,
  5266. rotation,
  5267. );
  5268. }
  5269. late final _spine_point_attachment_set_rotationPtr = _lookup<
  5270. ffi.NativeFunction<
  5271. ffi.Void Function(spine_point_attachment,
  5272. ffi.Float)>>('spine_point_attachment_set_rotation');
  5273. late final _spine_point_attachment_set_rotation =
  5274. _spine_point_attachment_set_rotationPtr
  5275. .asFunction<void Function(spine_point_attachment, double)>();
  5276. spine_color spine_point_attachment_get_color(
  5277. spine_point_attachment attachment,
  5278. ) {
  5279. return _spine_point_attachment_get_color(
  5280. attachment,
  5281. );
  5282. }
  5283. late final _spine_point_attachment_get_colorPtr =
  5284. _lookup<ffi.NativeFunction<spine_color Function(spine_point_attachment)>>(
  5285. 'spine_point_attachment_get_color');
  5286. late final _spine_point_attachment_get_color =
  5287. _spine_point_attachment_get_colorPtr
  5288. .asFunction<spine_color Function(spine_point_attachment)>();
  5289. void spine_point_attachment_set_color(
  5290. spine_point_attachment attachment,
  5291. double r,
  5292. double g,
  5293. double b,
  5294. double a,
  5295. ) {
  5296. return _spine_point_attachment_set_color(
  5297. attachment,
  5298. r,
  5299. g,
  5300. b,
  5301. a,
  5302. );
  5303. }
  5304. late final _spine_point_attachment_set_colorPtr = _lookup<
  5305. ffi.NativeFunction<
  5306. ffi.Void Function(spine_point_attachment, ffi.Float, ffi.Float,
  5307. ffi.Float, ffi.Float)>>('spine_point_attachment_set_color');
  5308. late final _spine_point_attachment_set_color =
  5309. _spine_point_attachment_set_colorPtr.asFunction<
  5310. void Function(
  5311. spine_point_attachment, double, double, double, double)>();
  5312. void spine_region_attachment_update_region(
  5313. spine_region_attachment attachment,
  5314. ) {
  5315. return _spine_region_attachment_update_region(
  5316. attachment,
  5317. );
  5318. }
  5319. late final _spine_region_attachment_update_regionPtr =
  5320. _lookup<ffi.NativeFunction<ffi.Void Function(spine_region_attachment)>>(
  5321. 'spine_region_attachment_update_region');
  5322. late final _spine_region_attachment_update_region =
  5323. _spine_region_attachment_update_regionPtr
  5324. .asFunction<void Function(spine_region_attachment)>();
  5325. void spine_region_attachment_compute_world_vertices(
  5326. spine_region_attachment attachment,
  5327. spine_slot slot,
  5328. ffi.Pointer<ffi.Float> worldVertices,
  5329. ) {
  5330. return _spine_region_attachment_compute_world_vertices(
  5331. attachment,
  5332. slot,
  5333. worldVertices,
  5334. );
  5335. }
  5336. late final _spine_region_attachment_compute_world_verticesPtr = _lookup<
  5337. ffi.NativeFunction<
  5338. ffi.Void Function(spine_region_attachment, spine_slot,
  5339. ffi.Pointer<ffi.Float>)>>(
  5340. 'spine_region_attachment_compute_world_vertices');
  5341. late final _spine_region_attachment_compute_world_vertices =
  5342. _spine_region_attachment_compute_world_verticesPtr.asFunction<
  5343. void Function(
  5344. spine_region_attachment, spine_slot, ffi.Pointer<ffi.Float>)>();
  5345. double spine_region_attachment_get_x(
  5346. spine_region_attachment attachment,
  5347. ) {
  5348. return _spine_region_attachment_get_x(
  5349. attachment,
  5350. );
  5351. }
  5352. late final _spine_region_attachment_get_xPtr =
  5353. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5354. 'spine_region_attachment_get_x');
  5355. late final _spine_region_attachment_get_x = _spine_region_attachment_get_xPtr
  5356. .asFunction<double Function(spine_region_attachment)>();
  5357. void spine_region_attachment_set_x(
  5358. spine_region_attachment attachment,
  5359. double x,
  5360. ) {
  5361. return _spine_region_attachment_set_x(
  5362. attachment,
  5363. x,
  5364. );
  5365. }
  5366. late final _spine_region_attachment_set_xPtr = _lookup<
  5367. ffi.NativeFunction<
  5368. ffi.Void Function(spine_region_attachment,
  5369. ffi.Float)>>('spine_region_attachment_set_x');
  5370. late final _spine_region_attachment_set_x = _spine_region_attachment_set_xPtr
  5371. .asFunction<void Function(spine_region_attachment, double)>();
  5372. double spine_region_attachment_get_y(
  5373. spine_region_attachment attachment,
  5374. ) {
  5375. return _spine_region_attachment_get_y(
  5376. attachment,
  5377. );
  5378. }
  5379. late final _spine_region_attachment_get_yPtr =
  5380. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5381. 'spine_region_attachment_get_y');
  5382. late final _spine_region_attachment_get_y = _spine_region_attachment_get_yPtr
  5383. .asFunction<double Function(spine_region_attachment)>();
  5384. void spine_region_attachment_set_y(
  5385. spine_region_attachment attachment,
  5386. double y,
  5387. ) {
  5388. return _spine_region_attachment_set_y(
  5389. attachment,
  5390. y,
  5391. );
  5392. }
  5393. late final _spine_region_attachment_set_yPtr = _lookup<
  5394. ffi.NativeFunction<
  5395. ffi.Void Function(spine_region_attachment,
  5396. ffi.Float)>>('spine_region_attachment_set_y');
  5397. late final _spine_region_attachment_set_y = _spine_region_attachment_set_yPtr
  5398. .asFunction<void Function(spine_region_attachment, double)>();
  5399. double spine_region_attachment_get_rotation(
  5400. spine_region_attachment attachment,
  5401. ) {
  5402. return _spine_region_attachment_get_rotation(
  5403. attachment,
  5404. );
  5405. }
  5406. late final _spine_region_attachment_get_rotationPtr =
  5407. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5408. 'spine_region_attachment_get_rotation');
  5409. late final _spine_region_attachment_get_rotation =
  5410. _spine_region_attachment_get_rotationPtr
  5411. .asFunction<double Function(spine_region_attachment)>();
  5412. void spine_region_attachment_set_rotation(
  5413. spine_region_attachment attachment,
  5414. double rotation,
  5415. ) {
  5416. return _spine_region_attachment_set_rotation(
  5417. attachment,
  5418. rotation,
  5419. );
  5420. }
  5421. late final _spine_region_attachment_set_rotationPtr = _lookup<
  5422. ffi.NativeFunction<
  5423. ffi.Void Function(spine_region_attachment,
  5424. ffi.Float)>>('spine_region_attachment_set_rotation');
  5425. late final _spine_region_attachment_set_rotation =
  5426. _spine_region_attachment_set_rotationPtr
  5427. .asFunction<void Function(spine_region_attachment, double)>();
  5428. double spine_region_attachment_get_scale_x(
  5429. spine_region_attachment attachment,
  5430. ) {
  5431. return _spine_region_attachment_get_scale_x(
  5432. attachment,
  5433. );
  5434. }
  5435. late final _spine_region_attachment_get_scale_xPtr =
  5436. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5437. 'spine_region_attachment_get_scale_x');
  5438. late final _spine_region_attachment_get_scale_x =
  5439. _spine_region_attachment_get_scale_xPtr
  5440. .asFunction<double Function(spine_region_attachment)>();
  5441. void spine_region_attachment_set_scale_x(
  5442. spine_region_attachment attachment,
  5443. double scaleX,
  5444. ) {
  5445. return _spine_region_attachment_set_scale_x(
  5446. attachment,
  5447. scaleX,
  5448. );
  5449. }
  5450. late final _spine_region_attachment_set_scale_xPtr = _lookup<
  5451. ffi.NativeFunction<
  5452. ffi.Void Function(spine_region_attachment,
  5453. ffi.Float)>>('spine_region_attachment_set_scale_x');
  5454. late final _spine_region_attachment_set_scale_x =
  5455. _spine_region_attachment_set_scale_xPtr
  5456. .asFunction<void Function(spine_region_attachment, double)>();
  5457. double spine_region_attachment_get_scale_y(
  5458. spine_region_attachment attachment,
  5459. ) {
  5460. return _spine_region_attachment_get_scale_y(
  5461. attachment,
  5462. );
  5463. }
  5464. late final _spine_region_attachment_get_scale_yPtr =
  5465. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5466. 'spine_region_attachment_get_scale_y');
  5467. late final _spine_region_attachment_get_scale_y =
  5468. _spine_region_attachment_get_scale_yPtr
  5469. .asFunction<double Function(spine_region_attachment)>();
  5470. void spine_region_attachment_set_scale_y(
  5471. spine_region_attachment attachment,
  5472. double scaleY,
  5473. ) {
  5474. return _spine_region_attachment_set_scale_y(
  5475. attachment,
  5476. scaleY,
  5477. );
  5478. }
  5479. late final _spine_region_attachment_set_scale_yPtr = _lookup<
  5480. ffi.NativeFunction<
  5481. ffi.Void Function(spine_region_attachment,
  5482. ffi.Float)>>('spine_region_attachment_set_scale_y');
  5483. late final _spine_region_attachment_set_scale_y =
  5484. _spine_region_attachment_set_scale_yPtr
  5485. .asFunction<void Function(spine_region_attachment, double)>();
  5486. double spine_region_attachment_get_width(
  5487. spine_region_attachment attachment,
  5488. ) {
  5489. return _spine_region_attachment_get_width(
  5490. attachment,
  5491. );
  5492. }
  5493. late final _spine_region_attachment_get_widthPtr =
  5494. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5495. 'spine_region_attachment_get_width');
  5496. late final _spine_region_attachment_get_width =
  5497. _spine_region_attachment_get_widthPtr
  5498. .asFunction<double Function(spine_region_attachment)>();
  5499. void spine_region_attachment_set_width(
  5500. spine_region_attachment attachment,
  5501. double width,
  5502. ) {
  5503. return _spine_region_attachment_set_width(
  5504. attachment,
  5505. width,
  5506. );
  5507. }
  5508. late final _spine_region_attachment_set_widthPtr = _lookup<
  5509. ffi.NativeFunction<
  5510. ffi.Void Function(spine_region_attachment,
  5511. ffi.Float)>>('spine_region_attachment_set_width');
  5512. late final _spine_region_attachment_set_width =
  5513. _spine_region_attachment_set_widthPtr
  5514. .asFunction<void Function(spine_region_attachment, double)>();
  5515. double spine_region_attachment_get_height(
  5516. spine_region_attachment attachment,
  5517. ) {
  5518. return _spine_region_attachment_get_height(
  5519. attachment,
  5520. );
  5521. }
  5522. late final _spine_region_attachment_get_heightPtr =
  5523. _lookup<ffi.NativeFunction<ffi.Float Function(spine_region_attachment)>>(
  5524. 'spine_region_attachment_get_height');
  5525. late final _spine_region_attachment_get_height =
  5526. _spine_region_attachment_get_heightPtr
  5527. .asFunction<double Function(spine_region_attachment)>();
  5528. void spine_region_attachment_set_height(
  5529. spine_region_attachment attachment,
  5530. double height,
  5531. ) {
  5532. return _spine_region_attachment_set_height(
  5533. attachment,
  5534. height,
  5535. );
  5536. }
  5537. late final _spine_region_attachment_set_heightPtr = _lookup<
  5538. ffi.NativeFunction<
  5539. ffi.Void Function(spine_region_attachment,
  5540. ffi.Float)>>('spine_region_attachment_set_height');
  5541. late final _spine_region_attachment_set_height =
  5542. _spine_region_attachment_set_heightPtr
  5543. .asFunction<void Function(spine_region_attachment, double)>();
  5544. spine_color spine_region_attachment_get_color(
  5545. spine_region_attachment attachment,
  5546. ) {
  5547. return _spine_region_attachment_get_color(
  5548. attachment,
  5549. );
  5550. }
  5551. late final _spine_region_attachment_get_colorPtr = _lookup<
  5552. ffi.NativeFunction<spine_color Function(spine_region_attachment)>>(
  5553. 'spine_region_attachment_get_color');
  5554. late final _spine_region_attachment_get_color =
  5555. _spine_region_attachment_get_colorPtr
  5556. .asFunction<spine_color Function(spine_region_attachment)>();
  5557. void spine_region_attachment_set_color(
  5558. spine_region_attachment attachment,
  5559. double r,
  5560. double g,
  5561. double b,
  5562. double a,
  5563. ) {
  5564. return _spine_region_attachment_set_color(
  5565. attachment,
  5566. r,
  5567. g,
  5568. b,
  5569. a,
  5570. );
  5571. }
  5572. late final _spine_region_attachment_set_colorPtr = _lookup<
  5573. ffi.NativeFunction<
  5574. ffi.Void Function(spine_region_attachment, ffi.Float, ffi.Float,
  5575. ffi.Float, ffi.Float)>>('spine_region_attachment_set_color');
  5576. late final _spine_region_attachment_set_color =
  5577. _spine_region_attachment_set_colorPtr.asFunction<
  5578. void Function(
  5579. spine_region_attachment, double, double, double, double)>();
  5580. ffi.Pointer<utf8> spine_region_attachment_get_path(
  5581. spine_region_attachment attachment,
  5582. ) {
  5583. return _spine_region_attachment_get_path(
  5584. attachment,
  5585. );
  5586. }
  5587. late final _spine_region_attachment_get_pathPtr = _lookup<
  5588. ffi
  5589. .NativeFunction<ffi.Pointer<utf8> Function(spine_region_attachment)>>(
  5590. 'spine_region_attachment_get_path');
  5591. late final _spine_region_attachment_get_path =
  5592. _spine_region_attachment_get_pathPtr
  5593. .asFunction<ffi.Pointer<utf8> Function(spine_region_attachment)>();
  5594. /// OMITTED setPath()
  5595. spine_texture_region spine_region_attachment_get_region(
  5596. spine_region_attachment attachment,
  5597. ) {
  5598. return _spine_region_attachment_get_region(
  5599. attachment,
  5600. );
  5601. }
  5602. late final _spine_region_attachment_get_regionPtr = _lookup<
  5603. ffi.NativeFunction<
  5604. spine_texture_region Function(
  5605. spine_region_attachment)>>('spine_region_attachment_get_region');
  5606. late final _spine_region_attachment_get_region =
  5607. _spine_region_attachment_get_regionPtr
  5608. .asFunction<spine_texture_region Function(spine_region_attachment)>();
  5609. /// OMITTED setRegion()
  5610. spine_sequence spine_region_attachment_get_sequence(
  5611. spine_region_attachment attachment,
  5612. ) {
  5613. return _spine_region_attachment_get_sequence(
  5614. attachment,
  5615. );
  5616. }
  5617. late final _spine_region_attachment_get_sequencePtr = _lookup<
  5618. ffi.NativeFunction<spine_sequence Function(spine_region_attachment)>>(
  5619. 'spine_region_attachment_get_sequence');
  5620. late final _spine_region_attachment_get_sequence =
  5621. _spine_region_attachment_get_sequencePtr
  5622. .asFunction<spine_sequence Function(spine_region_attachment)>();
  5623. /// OMITTED setSequence()
  5624. int spine_region_attachment_get_num_offset(
  5625. spine_region_attachment attachment,
  5626. ) {
  5627. return _spine_region_attachment_get_num_offset(
  5628. attachment,
  5629. );
  5630. }
  5631. late final _spine_region_attachment_get_num_offsetPtr =
  5632. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_region_attachment)>>(
  5633. 'spine_region_attachment_get_num_offset');
  5634. late final _spine_region_attachment_get_num_offset =
  5635. _spine_region_attachment_get_num_offsetPtr
  5636. .asFunction<int Function(spine_region_attachment)>();
  5637. ffi.Pointer<ffi.Float> spine_region_attachment_get_offset(
  5638. spine_region_attachment attachment,
  5639. ) {
  5640. return _spine_region_attachment_get_offset(
  5641. attachment,
  5642. );
  5643. }
  5644. late final _spine_region_attachment_get_offsetPtr = _lookup<
  5645. ffi.NativeFunction<
  5646. ffi.Pointer<ffi.Float> Function(
  5647. spine_region_attachment)>>('spine_region_attachment_get_offset');
  5648. late final _spine_region_attachment_get_offset =
  5649. _spine_region_attachment_get_offsetPtr.asFunction<
  5650. ffi.Pointer<ffi.Float> Function(spine_region_attachment)>();
  5651. int spine_region_attachment_get_num_uvs(
  5652. spine_region_attachment attachment,
  5653. ) {
  5654. return _spine_region_attachment_get_num_uvs(
  5655. attachment,
  5656. );
  5657. }
  5658. late final _spine_region_attachment_get_num_uvsPtr =
  5659. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_region_attachment)>>(
  5660. 'spine_region_attachment_get_num_uvs');
  5661. late final _spine_region_attachment_get_num_uvs =
  5662. _spine_region_attachment_get_num_uvsPtr
  5663. .asFunction<int Function(spine_region_attachment)>();
  5664. ffi.Pointer<ffi.Float> spine_region_attachment_get_uvs(
  5665. spine_region_attachment attachment,
  5666. ) {
  5667. return _spine_region_attachment_get_uvs(
  5668. attachment,
  5669. );
  5670. }
  5671. late final _spine_region_attachment_get_uvsPtr = _lookup<
  5672. ffi.NativeFunction<
  5673. ffi.Pointer<ffi.Float> Function(
  5674. spine_region_attachment)>>('spine_region_attachment_get_uvs');
  5675. late final _spine_region_attachment_get_uvs =
  5676. _spine_region_attachment_get_uvsPtr.asFunction<
  5677. ffi.Pointer<ffi.Float> Function(spine_region_attachment)>();
  5678. int spine_vertex_attachment_get_world_vertices_length(
  5679. spine_vertex_attachment attachment,
  5680. ) {
  5681. return _spine_vertex_attachment_get_world_vertices_length(
  5682. attachment,
  5683. );
  5684. }
  5685. late final _spine_vertex_attachment_get_world_vertices_lengthPtr =
  5686. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_vertex_attachment)>>(
  5687. 'spine_vertex_attachment_get_world_vertices_length');
  5688. late final _spine_vertex_attachment_get_world_vertices_length =
  5689. _spine_vertex_attachment_get_world_vertices_lengthPtr
  5690. .asFunction<int Function(spine_vertex_attachment)>();
  5691. void spine_vertex_attachment_compute_world_vertices(
  5692. spine_vertex_attachment attachment,
  5693. spine_slot slot,
  5694. ffi.Pointer<ffi.Float> worldVertices,
  5695. ) {
  5696. return _spine_vertex_attachment_compute_world_vertices(
  5697. attachment,
  5698. slot,
  5699. worldVertices,
  5700. );
  5701. }
  5702. late final _spine_vertex_attachment_compute_world_verticesPtr = _lookup<
  5703. ffi.NativeFunction<
  5704. ffi.Void Function(spine_vertex_attachment, spine_slot,
  5705. ffi.Pointer<ffi.Float>)>>(
  5706. 'spine_vertex_attachment_compute_world_vertices');
  5707. late final _spine_vertex_attachment_compute_world_vertices =
  5708. _spine_vertex_attachment_compute_world_verticesPtr.asFunction<
  5709. void Function(
  5710. spine_vertex_attachment, spine_slot, ffi.Pointer<ffi.Float>)>();
  5711. /// OMITTED getId()
  5712. int spine_vertex_attachment_get_num_bones(
  5713. spine_vertex_attachment attachment,
  5714. ) {
  5715. return _spine_vertex_attachment_get_num_bones(
  5716. attachment,
  5717. );
  5718. }
  5719. late final _spine_vertex_attachment_get_num_bonesPtr =
  5720. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_vertex_attachment)>>(
  5721. 'spine_vertex_attachment_get_num_bones');
  5722. late final _spine_vertex_attachment_get_num_bones =
  5723. _spine_vertex_attachment_get_num_bonesPtr
  5724. .asFunction<int Function(spine_vertex_attachment)>();
  5725. ffi.Pointer<ffi.Int32> spine_vertex_attachment_get_bones(
  5726. spine_vertex_attachment attachment,
  5727. ) {
  5728. return _spine_vertex_attachment_get_bones(
  5729. attachment,
  5730. );
  5731. }
  5732. late final _spine_vertex_attachment_get_bonesPtr = _lookup<
  5733. ffi.NativeFunction<
  5734. ffi.Pointer<ffi.Int32> Function(
  5735. spine_vertex_attachment)>>('spine_vertex_attachment_get_bones');
  5736. late final _spine_vertex_attachment_get_bones =
  5737. _spine_vertex_attachment_get_bonesPtr.asFunction<
  5738. ffi.Pointer<ffi.Int32> Function(spine_vertex_attachment)>();
  5739. int spine_vertex_attachment_get_num_vertices(
  5740. spine_vertex_attachment attachment,
  5741. ) {
  5742. return _spine_vertex_attachment_get_num_vertices(
  5743. attachment,
  5744. );
  5745. }
  5746. late final _spine_vertex_attachment_get_num_verticesPtr =
  5747. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_vertex_attachment)>>(
  5748. 'spine_vertex_attachment_get_num_vertices');
  5749. late final _spine_vertex_attachment_get_num_vertices =
  5750. _spine_vertex_attachment_get_num_verticesPtr
  5751. .asFunction<int Function(spine_vertex_attachment)>();
  5752. ffi.Pointer<ffi.Float> spine_vertex_attachment_get_vertices(
  5753. spine_vertex_attachment attachment,
  5754. ) {
  5755. return _spine_vertex_attachment_get_vertices(
  5756. attachment,
  5757. );
  5758. }
  5759. late final _spine_vertex_attachment_get_verticesPtr = _lookup<
  5760. ffi.NativeFunction<
  5761. ffi.Pointer<ffi.Float> Function(spine_vertex_attachment)>>(
  5762. 'spine_vertex_attachment_get_vertices');
  5763. late final _spine_vertex_attachment_get_vertices =
  5764. _spine_vertex_attachment_get_verticesPtr.asFunction<
  5765. ffi.Pointer<ffi.Float> Function(spine_vertex_attachment)>();
  5766. spine_attachment spine_vertex_attachment_get_timeline_attachment(
  5767. spine_vertex_attachment timelineAttachment,
  5768. ) {
  5769. return _spine_vertex_attachment_get_timeline_attachment(
  5770. timelineAttachment,
  5771. );
  5772. }
  5773. late final _spine_vertex_attachment_get_timeline_attachmentPtr = _lookup<
  5774. ffi
  5775. .NativeFunction<spine_attachment Function(spine_vertex_attachment)>>(
  5776. 'spine_vertex_attachment_get_timeline_attachment');
  5777. late final _spine_vertex_attachment_get_timeline_attachment =
  5778. _spine_vertex_attachment_get_timeline_attachmentPtr
  5779. .asFunction<spine_attachment Function(spine_vertex_attachment)>();
  5780. void spine_vertex_attachment_set_timeline_attachment(
  5781. spine_vertex_attachment attachment,
  5782. spine_attachment timelineAttachment,
  5783. ) {
  5784. return _spine_vertex_attachment_set_timeline_attachment(
  5785. attachment,
  5786. timelineAttachment,
  5787. );
  5788. }
  5789. late final _spine_vertex_attachment_set_timeline_attachmentPtr = _lookup<
  5790. ffi.NativeFunction<
  5791. ffi.Void Function(spine_vertex_attachment, spine_attachment)>>(
  5792. 'spine_vertex_attachment_set_timeline_attachment');
  5793. late final _spine_vertex_attachment_set_timeline_attachment =
  5794. _spine_vertex_attachment_set_timeline_attachmentPtr.asFunction<
  5795. void Function(spine_vertex_attachment, spine_attachment)>();
  5796. /// OMITTED copyTo()
  5797. void spine_mesh_attachment_update_region(
  5798. spine_mesh_attachment attachment,
  5799. ) {
  5800. return _spine_mesh_attachment_update_region(
  5801. attachment,
  5802. );
  5803. }
  5804. late final _spine_mesh_attachment_update_regionPtr =
  5805. _lookup<ffi.NativeFunction<ffi.Void Function(spine_mesh_attachment)>>(
  5806. 'spine_mesh_attachment_update_region');
  5807. late final _spine_mesh_attachment_update_region =
  5808. _spine_mesh_attachment_update_regionPtr
  5809. .asFunction<void Function(spine_mesh_attachment)>();
  5810. int spine_mesh_attachment_get_hull_length(
  5811. spine_mesh_attachment attachment,
  5812. ) {
  5813. return _spine_mesh_attachment_get_hull_length(
  5814. attachment,
  5815. );
  5816. }
  5817. late final _spine_mesh_attachment_get_hull_lengthPtr =
  5818. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_mesh_attachment)>>(
  5819. 'spine_mesh_attachment_get_hull_length');
  5820. late final _spine_mesh_attachment_get_hull_length =
  5821. _spine_mesh_attachment_get_hull_lengthPtr
  5822. .asFunction<int Function(spine_mesh_attachment)>();
  5823. void spine_mesh_attachment_set_hull_length(
  5824. spine_mesh_attachment attachment,
  5825. int hullLength,
  5826. ) {
  5827. return _spine_mesh_attachment_set_hull_length(
  5828. attachment,
  5829. hullLength,
  5830. );
  5831. }
  5832. late final _spine_mesh_attachment_set_hull_lengthPtr = _lookup<
  5833. ffi
  5834. .NativeFunction<ffi.Void Function(spine_mesh_attachment, ffi.Int32)>>(
  5835. 'spine_mesh_attachment_set_hull_length');
  5836. late final _spine_mesh_attachment_set_hull_length =
  5837. _spine_mesh_attachment_set_hull_lengthPtr
  5838. .asFunction<void Function(spine_mesh_attachment, int)>();
  5839. int spine_mesh_attachment_get_num_region_uvs(
  5840. spine_mesh_attachment attachment,
  5841. ) {
  5842. return _spine_mesh_attachment_get_num_region_uvs(
  5843. attachment,
  5844. );
  5845. }
  5846. late final _spine_mesh_attachment_get_num_region_uvsPtr =
  5847. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_mesh_attachment)>>(
  5848. 'spine_mesh_attachment_get_num_region_uvs');
  5849. late final _spine_mesh_attachment_get_num_region_uvs =
  5850. _spine_mesh_attachment_get_num_region_uvsPtr
  5851. .asFunction<int Function(spine_mesh_attachment)>();
  5852. ffi.Pointer<ffi.Float> spine_mesh_attachment_get_region_uvs(
  5853. spine_mesh_attachment attachment,
  5854. ) {
  5855. return _spine_mesh_attachment_get_region_uvs(
  5856. attachment,
  5857. );
  5858. }
  5859. late final _spine_mesh_attachment_get_region_uvsPtr = _lookup<
  5860. ffi.NativeFunction<
  5861. ffi.Pointer<ffi.Float> Function(
  5862. spine_mesh_attachment)>>('spine_mesh_attachment_get_region_uvs');
  5863. late final _spine_mesh_attachment_get_region_uvs =
  5864. _spine_mesh_attachment_get_region_uvsPtr
  5865. .asFunction<ffi.Pointer<ffi.Float> Function(spine_mesh_attachment)>();
  5866. int spine_mesh_attachment_get_num_uvs(
  5867. spine_mesh_attachment attachment,
  5868. ) {
  5869. return _spine_mesh_attachment_get_num_uvs(
  5870. attachment,
  5871. );
  5872. }
  5873. late final _spine_mesh_attachment_get_num_uvsPtr =
  5874. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_mesh_attachment)>>(
  5875. 'spine_mesh_attachment_get_num_uvs');
  5876. late final _spine_mesh_attachment_get_num_uvs =
  5877. _spine_mesh_attachment_get_num_uvsPtr
  5878. .asFunction<int Function(spine_mesh_attachment)>();
  5879. ffi.Pointer<ffi.Float> spine_mesh_attachment_get_uvs(
  5880. spine_mesh_attachment attachment,
  5881. ) {
  5882. return _spine_mesh_attachment_get_uvs(
  5883. attachment,
  5884. );
  5885. }
  5886. late final _spine_mesh_attachment_get_uvsPtr = _lookup<
  5887. ffi.NativeFunction<
  5888. ffi.Pointer<ffi.Float> Function(
  5889. spine_mesh_attachment)>>('spine_mesh_attachment_get_uvs');
  5890. late final _spine_mesh_attachment_get_uvs = _spine_mesh_attachment_get_uvsPtr
  5891. .asFunction<ffi.Pointer<ffi.Float> Function(spine_mesh_attachment)>();
  5892. int spine_mesh_attachment_get_num_triangles(
  5893. spine_mesh_attachment attachment,
  5894. ) {
  5895. return _spine_mesh_attachment_get_num_triangles(
  5896. attachment,
  5897. );
  5898. }
  5899. late final _spine_mesh_attachment_get_num_trianglesPtr =
  5900. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_mesh_attachment)>>(
  5901. 'spine_mesh_attachment_get_num_triangles');
  5902. late final _spine_mesh_attachment_get_num_triangles =
  5903. _spine_mesh_attachment_get_num_trianglesPtr
  5904. .asFunction<int Function(spine_mesh_attachment)>();
  5905. ffi.Pointer<ffi.Uint16> spine_mesh_attachment_get_triangles(
  5906. spine_mesh_attachment attachment,
  5907. ) {
  5908. return _spine_mesh_attachment_get_triangles(
  5909. attachment,
  5910. );
  5911. }
  5912. late final _spine_mesh_attachment_get_trianglesPtr = _lookup<
  5913. ffi.NativeFunction<
  5914. ffi.Pointer<ffi.Uint16> Function(
  5915. spine_mesh_attachment)>>('spine_mesh_attachment_get_triangles');
  5916. late final _spine_mesh_attachment_get_triangles =
  5917. _spine_mesh_attachment_get_trianglesPtr.asFunction<
  5918. ffi.Pointer<ffi.Uint16> Function(spine_mesh_attachment)>();
  5919. spine_color spine_mesh_attachment_get_color(
  5920. spine_mesh_attachment attachment,
  5921. ) {
  5922. return _spine_mesh_attachment_get_color(
  5923. attachment,
  5924. );
  5925. }
  5926. late final _spine_mesh_attachment_get_colorPtr =
  5927. _lookup<ffi.NativeFunction<spine_color Function(spine_mesh_attachment)>>(
  5928. 'spine_mesh_attachment_get_color');
  5929. late final _spine_mesh_attachment_get_color =
  5930. _spine_mesh_attachment_get_colorPtr
  5931. .asFunction<spine_color Function(spine_mesh_attachment)>();
  5932. void spine_mesh_attachment_set_color(
  5933. spine_mesh_attachment attachment,
  5934. double r,
  5935. double g,
  5936. double b,
  5937. double a,
  5938. ) {
  5939. return _spine_mesh_attachment_set_color(
  5940. attachment,
  5941. r,
  5942. g,
  5943. b,
  5944. a,
  5945. );
  5946. }
  5947. late final _spine_mesh_attachment_set_colorPtr = _lookup<
  5948. ffi.NativeFunction<
  5949. ffi.Void Function(spine_mesh_attachment, ffi.Float, ffi.Float,
  5950. ffi.Float, ffi.Float)>>('spine_mesh_attachment_set_color');
  5951. late final _spine_mesh_attachment_set_color =
  5952. _spine_mesh_attachment_set_colorPtr.asFunction<
  5953. void Function(
  5954. spine_mesh_attachment, double, double, double, double)>();
  5955. ffi.Pointer<utf8> spine_mesh_attachment_get_path(
  5956. spine_mesh_attachment attachment,
  5957. ) {
  5958. return _spine_mesh_attachment_get_path(
  5959. attachment,
  5960. );
  5961. }
  5962. late final _spine_mesh_attachment_get_pathPtr = _lookup<
  5963. ffi
  5964. .NativeFunction<ffi.Pointer<utf8> Function(spine_mesh_attachment)>>(
  5965. 'spine_mesh_attachment_get_path');
  5966. late final _spine_mesh_attachment_get_path =
  5967. _spine_mesh_attachment_get_pathPtr
  5968. .asFunction<ffi.Pointer<utf8> Function(spine_mesh_attachment)>();
  5969. /// OMITTED setPath()
  5970. spine_texture_region spine_mesh_attachment_get_region(
  5971. spine_mesh_attachment attachment,
  5972. ) {
  5973. return _spine_mesh_attachment_get_region(
  5974. attachment,
  5975. );
  5976. }
  5977. late final _spine_mesh_attachment_get_regionPtr = _lookup<
  5978. ffi.NativeFunction<
  5979. spine_texture_region Function(
  5980. spine_mesh_attachment)>>('spine_mesh_attachment_get_region');
  5981. late final _spine_mesh_attachment_get_region =
  5982. _spine_mesh_attachment_get_regionPtr
  5983. .asFunction<spine_texture_region Function(spine_mesh_attachment)>();
  5984. /// OMITTED setRegion()
  5985. spine_sequence spine_mesh_attachment_get_sequence(
  5986. spine_mesh_attachment attachment,
  5987. ) {
  5988. return _spine_mesh_attachment_get_sequence(
  5989. attachment,
  5990. );
  5991. }
  5992. late final _spine_mesh_attachment_get_sequencePtr = _lookup<
  5993. ffi.NativeFunction<spine_sequence Function(spine_mesh_attachment)>>(
  5994. 'spine_mesh_attachment_get_sequence');
  5995. late final _spine_mesh_attachment_get_sequence =
  5996. _spine_mesh_attachment_get_sequencePtr
  5997. .asFunction<spine_sequence Function(spine_mesh_attachment)>();
  5998. /// OMITTED setSequence()
  5999. spine_mesh_attachment spine_mesh_attachment_get_parent_mesh(
  6000. spine_mesh_attachment attachment,
  6001. ) {
  6002. return _spine_mesh_attachment_get_parent_mesh(
  6003. attachment,
  6004. );
  6005. }
  6006. late final _spine_mesh_attachment_get_parent_meshPtr = _lookup<
  6007. ffi.NativeFunction<
  6008. spine_mesh_attachment Function(
  6009. spine_mesh_attachment)>>('spine_mesh_attachment_get_parent_mesh');
  6010. late final _spine_mesh_attachment_get_parent_mesh =
  6011. _spine_mesh_attachment_get_parent_meshPtr
  6012. .asFunction<spine_mesh_attachment Function(spine_mesh_attachment)>();
  6013. void spine_mesh_attachment_set_parent_mesh(
  6014. spine_mesh_attachment attachment,
  6015. spine_mesh_attachment parentMesh,
  6016. ) {
  6017. return _spine_mesh_attachment_set_parent_mesh(
  6018. attachment,
  6019. parentMesh,
  6020. );
  6021. }
  6022. late final _spine_mesh_attachment_set_parent_meshPtr = _lookup<
  6023. ffi.NativeFunction<
  6024. ffi.Void Function(spine_mesh_attachment,
  6025. spine_mesh_attachment)>>('spine_mesh_attachment_set_parent_mesh');
  6026. late final _spine_mesh_attachment_set_parent_mesh =
  6027. _spine_mesh_attachment_set_parent_meshPtr.asFunction<
  6028. void Function(spine_mesh_attachment, spine_mesh_attachment)>();
  6029. int spine_mesh_attachment_get_num_edges(
  6030. spine_mesh_attachment attachment,
  6031. ) {
  6032. return _spine_mesh_attachment_get_num_edges(
  6033. attachment,
  6034. );
  6035. }
  6036. late final _spine_mesh_attachment_get_num_edgesPtr =
  6037. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_mesh_attachment)>>(
  6038. 'spine_mesh_attachment_get_num_edges');
  6039. late final _spine_mesh_attachment_get_num_edges =
  6040. _spine_mesh_attachment_get_num_edgesPtr
  6041. .asFunction<int Function(spine_mesh_attachment)>();
  6042. ffi.Pointer<ffi.Uint16> spine_mesh_attachment_get_edges(
  6043. spine_mesh_attachment attachment,
  6044. ) {
  6045. return _spine_mesh_attachment_get_edges(
  6046. attachment,
  6047. );
  6048. }
  6049. late final _spine_mesh_attachment_get_edgesPtr = _lookup<
  6050. ffi.NativeFunction<
  6051. ffi.Pointer<ffi.Uint16> Function(
  6052. spine_mesh_attachment)>>('spine_mesh_attachment_get_edges');
  6053. late final _spine_mesh_attachment_get_edges =
  6054. _spine_mesh_attachment_get_edgesPtr.asFunction<
  6055. ffi.Pointer<ffi.Uint16> Function(spine_mesh_attachment)>();
  6056. double spine_mesh_attachment_get_width(
  6057. spine_mesh_attachment attachment,
  6058. ) {
  6059. return _spine_mesh_attachment_get_width(
  6060. attachment,
  6061. );
  6062. }
  6063. late final _spine_mesh_attachment_get_widthPtr =
  6064. _lookup<ffi.NativeFunction<ffi.Float Function(spine_mesh_attachment)>>(
  6065. 'spine_mesh_attachment_get_width');
  6066. late final _spine_mesh_attachment_get_width =
  6067. _spine_mesh_attachment_get_widthPtr
  6068. .asFunction<double Function(spine_mesh_attachment)>();
  6069. void spine_mesh_attachment_set_width(
  6070. spine_mesh_attachment attachment,
  6071. double width,
  6072. ) {
  6073. return _spine_mesh_attachment_set_width(
  6074. attachment,
  6075. width,
  6076. );
  6077. }
  6078. late final _spine_mesh_attachment_set_widthPtr = _lookup<
  6079. ffi
  6080. .NativeFunction<ffi.Void Function(spine_mesh_attachment, ffi.Float)>>(
  6081. 'spine_mesh_attachment_set_width');
  6082. late final _spine_mesh_attachment_set_width =
  6083. _spine_mesh_attachment_set_widthPtr
  6084. .asFunction<void Function(spine_mesh_attachment, double)>();
  6085. double spine_mesh_attachment_get_height(
  6086. spine_mesh_attachment attachment,
  6087. ) {
  6088. return _spine_mesh_attachment_get_height(
  6089. attachment,
  6090. );
  6091. }
  6092. late final _spine_mesh_attachment_get_heightPtr =
  6093. _lookup<ffi.NativeFunction<ffi.Float Function(spine_mesh_attachment)>>(
  6094. 'spine_mesh_attachment_get_height');
  6095. late final _spine_mesh_attachment_get_height =
  6096. _spine_mesh_attachment_get_heightPtr
  6097. .asFunction<double Function(spine_mesh_attachment)>();
  6098. void spine_mesh_attachment_set_height(
  6099. spine_mesh_attachment attachment,
  6100. double height,
  6101. ) {
  6102. return _spine_mesh_attachment_set_height(
  6103. attachment,
  6104. height,
  6105. );
  6106. }
  6107. late final _spine_mesh_attachment_set_heightPtr = _lookup<
  6108. ffi
  6109. .NativeFunction<ffi.Void Function(spine_mesh_attachment, ffi.Float)>>(
  6110. 'spine_mesh_attachment_set_height');
  6111. late final _spine_mesh_attachment_set_height =
  6112. _spine_mesh_attachment_set_heightPtr
  6113. .asFunction<void Function(spine_mesh_attachment, double)>();
  6114. /// OMITTED newLinkedMesh()
  6115. spine_slot_data spine_clipping_attachment_get_end_slot(
  6116. spine_clipping_attachment attachment,
  6117. ) {
  6118. return _spine_clipping_attachment_get_end_slot(
  6119. attachment,
  6120. );
  6121. }
  6122. late final _spine_clipping_attachment_get_end_slotPtr = _lookup<
  6123. ffi
  6124. .NativeFunction<spine_slot_data Function(spine_clipping_attachment)>>(
  6125. 'spine_clipping_attachment_get_end_slot');
  6126. late final _spine_clipping_attachment_get_end_slot =
  6127. _spine_clipping_attachment_get_end_slotPtr
  6128. .asFunction<spine_slot_data Function(spine_clipping_attachment)>();
  6129. void spine_clipping_attachment_set_end_slot(
  6130. spine_clipping_attachment attachment,
  6131. spine_slot_data endSlot,
  6132. ) {
  6133. return _spine_clipping_attachment_set_end_slot(
  6134. attachment,
  6135. endSlot,
  6136. );
  6137. }
  6138. late final _spine_clipping_attachment_set_end_slotPtr = _lookup<
  6139. ffi.NativeFunction<
  6140. ffi.Void Function(spine_clipping_attachment,
  6141. spine_slot_data)>>('spine_clipping_attachment_set_end_slot');
  6142. late final _spine_clipping_attachment_set_end_slot =
  6143. _spine_clipping_attachment_set_end_slotPtr.asFunction<
  6144. void Function(spine_clipping_attachment, spine_slot_data)>();
  6145. spine_color spine_clipping_attachment_get_color(
  6146. spine_clipping_attachment attachment,
  6147. ) {
  6148. return _spine_clipping_attachment_get_color(
  6149. attachment,
  6150. );
  6151. }
  6152. late final _spine_clipping_attachment_get_colorPtr = _lookup<
  6153. ffi.NativeFunction<spine_color Function(spine_clipping_attachment)>>(
  6154. 'spine_clipping_attachment_get_color');
  6155. late final _spine_clipping_attachment_get_color =
  6156. _spine_clipping_attachment_get_colorPtr
  6157. .asFunction<spine_color Function(spine_clipping_attachment)>();
  6158. void spine_clipping_attachment_set_color(
  6159. spine_clipping_attachment attachment,
  6160. double r,
  6161. double g,
  6162. double b,
  6163. double a,
  6164. ) {
  6165. return _spine_clipping_attachment_set_color(
  6166. attachment,
  6167. r,
  6168. g,
  6169. b,
  6170. a,
  6171. );
  6172. }
  6173. late final _spine_clipping_attachment_set_colorPtr = _lookup<
  6174. ffi.NativeFunction<
  6175. ffi.Void Function(spine_clipping_attachment, ffi.Float, ffi.Float,
  6176. ffi.Float, ffi.Float)>>('spine_clipping_attachment_set_color');
  6177. late final _spine_clipping_attachment_set_color =
  6178. _spine_clipping_attachment_set_colorPtr.asFunction<
  6179. void Function(
  6180. spine_clipping_attachment, double, double, double, double)>();
  6181. spine_color spine_bounding_box_attachment_get_color(
  6182. spine_bounding_box_attachment attachment,
  6183. ) {
  6184. return _spine_bounding_box_attachment_get_color(
  6185. attachment,
  6186. );
  6187. }
  6188. late final _spine_bounding_box_attachment_get_colorPtr = _lookup<
  6189. ffi
  6190. .NativeFunction<spine_color Function(spine_bounding_box_attachment)>>(
  6191. 'spine_bounding_box_attachment_get_color');
  6192. late final _spine_bounding_box_attachment_get_color =
  6193. _spine_bounding_box_attachment_get_colorPtr
  6194. .asFunction<spine_color Function(spine_bounding_box_attachment)>();
  6195. void spine_bounding_box_attachment_set_color(
  6196. spine_bounding_box_attachment attachment,
  6197. double r,
  6198. double g,
  6199. double b,
  6200. double a,
  6201. ) {
  6202. return _spine_bounding_box_attachment_set_color(
  6203. attachment,
  6204. r,
  6205. g,
  6206. b,
  6207. a,
  6208. );
  6209. }
  6210. late final _spine_bounding_box_attachment_set_colorPtr = _lookup<
  6211. ffi.NativeFunction<
  6212. ffi.Void Function(
  6213. spine_bounding_box_attachment,
  6214. ffi.Float,
  6215. ffi.Float,
  6216. ffi.Float,
  6217. ffi.Float)>>('spine_bounding_box_attachment_set_color');
  6218. late final _spine_bounding_box_attachment_set_color =
  6219. _spine_bounding_box_attachment_set_colorPtr.asFunction<
  6220. void Function(
  6221. spine_bounding_box_attachment, double, double, double, double)>();
  6222. int spine_path_attachment_get_num_lengths(
  6223. spine_path_attachment attachment,
  6224. ) {
  6225. return _spine_path_attachment_get_num_lengths(
  6226. attachment,
  6227. );
  6228. }
  6229. late final _spine_path_attachment_get_num_lengthsPtr =
  6230. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_path_attachment)>>(
  6231. 'spine_path_attachment_get_num_lengths');
  6232. late final _spine_path_attachment_get_num_lengths =
  6233. _spine_path_attachment_get_num_lengthsPtr
  6234. .asFunction<int Function(spine_path_attachment)>();
  6235. ffi.Pointer<ffi.Float> spine_path_attachment_get_lengths(
  6236. spine_path_attachment attachment,
  6237. ) {
  6238. return _spine_path_attachment_get_lengths(
  6239. attachment,
  6240. );
  6241. }
  6242. late final _spine_path_attachment_get_lengthsPtr = _lookup<
  6243. ffi.NativeFunction<
  6244. ffi.Pointer<ffi.Float> Function(
  6245. spine_path_attachment)>>('spine_path_attachment_get_lengths');
  6246. late final _spine_path_attachment_get_lengths =
  6247. _spine_path_attachment_get_lengthsPtr
  6248. .asFunction<ffi.Pointer<ffi.Float> Function(spine_path_attachment)>();
  6249. int spine_path_attachment_get_is_closed(
  6250. spine_path_attachment attachment,
  6251. ) {
  6252. return _spine_path_attachment_get_is_closed(
  6253. attachment,
  6254. );
  6255. }
  6256. late final _spine_path_attachment_get_is_closedPtr =
  6257. _lookup<ffi.NativeFunction<spine_bool Function(spine_path_attachment)>>(
  6258. 'spine_path_attachment_get_is_closed');
  6259. late final _spine_path_attachment_get_is_closed =
  6260. _spine_path_attachment_get_is_closedPtr
  6261. .asFunction<int Function(spine_path_attachment)>();
  6262. void spine_path_attachment_set_is_closed(
  6263. spine_path_attachment attachment,
  6264. int isClosed,
  6265. ) {
  6266. return _spine_path_attachment_set_is_closed(
  6267. attachment,
  6268. isClosed,
  6269. );
  6270. }
  6271. late final _spine_path_attachment_set_is_closedPtr = _lookup<
  6272. ffi.NativeFunction<
  6273. ffi.Void Function(spine_path_attachment,
  6274. spine_bool)>>('spine_path_attachment_set_is_closed');
  6275. late final _spine_path_attachment_set_is_closed =
  6276. _spine_path_attachment_set_is_closedPtr
  6277. .asFunction<void Function(spine_path_attachment, int)>();
  6278. int spine_path_attachment_get_is_constant_speed(
  6279. spine_path_attachment attachment,
  6280. ) {
  6281. return _spine_path_attachment_get_is_constant_speed(
  6282. attachment,
  6283. );
  6284. }
  6285. late final _spine_path_attachment_get_is_constant_speedPtr =
  6286. _lookup<ffi.NativeFunction<spine_bool Function(spine_path_attachment)>>(
  6287. 'spine_path_attachment_get_is_constant_speed');
  6288. late final _spine_path_attachment_get_is_constant_speed =
  6289. _spine_path_attachment_get_is_constant_speedPtr
  6290. .asFunction<int Function(spine_path_attachment)>();
  6291. void spine_path_attachment_set_is_constant_speed(
  6292. spine_path_attachment attachment,
  6293. int isConstantSpeed,
  6294. ) {
  6295. return _spine_path_attachment_set_is_constant_speed(
  6296. attachment,
  6297. isConstantSpeed,
  6298. );
  6299. }
  6300. late final _spine_path_attachment_set_is_constant_speedPtr = _lookup<
  6301. ffi.NativeFunction<
  6302. ffi.Void Function(spine_path_attachment,
  6303. spine_bool)>>('spine_path_attachment_set_is_constant_speed');
  6304. late final _spine_path_attachment_set_is_constant_speed =
  6305. _spine_path_attachment_set_is_constant_speedPtr
  6306. .asFunction<void Function(spine_path_attachment, int)>();
  6307. spine_color spine_path_attachment_get_color(
  6308. spine_path_attachment attachment,
  6309. ) {
  6310. return _spine_path_attachment_get_color(
  6311. attachment,
  6312. );
  6313. }
  6314. late final _spine_path_attachment_get_colorPtr =
  6315. _lookup<ffi.NativeFunction<spine_color Function(spine_path_attachment)>>(
  6316. 'spine_path_attachment_get_color');
  6317. late final _spine_path_attachment_get_color =
  6318. _spine_path_attachment_get_colorPtr
  6319. .asFunction<spine_color Function(spine_path_attachment)>();
  6320. void spine_path_attachment_set_color(
  6321. spine_path_attachment attachment,
  6322. double r,
  6323. double g,
  6324. double b,
  6325. double a,
  6326. ) {
  6327. return _spine_path_attachment_set_color(
  6328. attachment,
  6329. r,
  6330. g,
  6331. b,
  6332. a,
  6333. );
  6334. }
  6335. late final _spine_path_attachment_set_colorPtr = _lookup<
  6336. ffi.NativeFunction<
  6337. ffi.Void Function(spine_path_attachment, ffi.Float, ffi.Float,
  6338. ffi.Float, ffi.Float)>>('spine_path_attachment_set_color');
  6339. late final _spine_path_attachment_set_color =
  6340. _spine_path_attachment_set_colorPtr.asFunction<
  6341. void Function(
  6342. spine_path_attachment, double, double, double, double)>();
  6343. void spine_skin_set_attachment(
  6344. spine_skin skin,
  6345. int slotIndex,
  6346. ffi.Pointer<utf8> name,
  6347. spine_attachment attachment,
  6348. ) {
  6349. return _spine_skin_set_attachment(
  6350. skin,
  6351. slotIndex,
  6352. name,
  6353. attachment,
  6354. );
  6355. }
  6356. late final _spine_skin_set_attachmentPtr = _lookup<
  6357. ffi.NativeFunction<
  6358. ffi.Void Function(spine_skin, ffi.Int32, ffi.Pointer<utf8>,
  6359. spine_attachment)>>('spine_skin_set_attachment');
  6360. late final _spine_skin_set_attachment =
  6361. _spine_skin_set_attachmentPtr.asFunction<
  6362. void Function(
  6363. spine_skin, int, ffi.Pointer<utf8>, spine_attachment)>();
  6364. spine_attachment spine_skin_get_attachment(
  6365. spine_skin skin,
  6366. int slotIndex,
  6367. ffi.Pointer<utf8> name,
  6368. ) {
  6369. return _spine_skin_get_attachment(
  6370. skin,
  6371. slotIndex,
  6372. name,
  6373. );
  6374. }
  6375. late final _spine_skin_get_attachmentPtr = _lookup<
  6376. ffi.NativeFunction<
  6377. spine_attachment Function(spine_skin, ffi.Int32,
  6378. ffi.Pointer<utf8>)>>('spine_skin_get_attachment');
  6379. late final _spine_skin_get_attachment =
  6380. _spine_skin_get_attachmentPtr.asFunction<
  6381. spine_attachment Function(spine_skin, int, ffi.Pointer<utf8>)>();
  6382. void spine_skin_remove_attachment(
  6383. spine_skin skin,
  6384. int slotIndex,
  6385. ffi.Pointer<utf8> name,
  6386. ) {
  6387. return _spine_skin_remove_attachment(
  6388. skin,
  6389. slotIndex,
  6390. name,
  6391. );
  6392. }
  6393. late final _spine_skin_remove_attachmentPtr = _lookup<
  6394. ffi.NativeFunction<
  6395. ffi.Void Function(spine_skin, ffi.Int32,
  6396. ffi.Pointer<utf8>)>>('spine_skin_remove_attachment');
  6397. late final _spine_skin_remove_attachment = _spine_skin_remove_attachmentPtr
  6398. .asFunction<void Function(spine_skin, int, ffi.Pointer<utf8>)>();
  6399. /// OMITTED findNamesForSlot()
  6400. /// OMITTED findAttachmentsForSlot()
  6401. /// OMITTED getColor()
  6402. ffi.Pointer<utf8> spine_skin_get_name(
  6403. spine_skin skin,
  6404. ) {
  6405. return _spine_skin_get_name(
  6406. skin,
  6407. );
  6408. }
  6409. late final _spine_skin_get_namePtr =
  6410. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skin)>>(
  6411. 'spine_skin_get_name');
  6412. late final _spine_skin_get_name = _spine_skin_get_namePtr
  6413. .asFunction<ffi.Pointer<utf8> Function(spine_skin)>();
  6414. void spine_skin_add_skin(
  6415. spine_skin skin,
  6416. spine_skin other,
  6417. ) {
  6418. return _spine_skin_add_skin(
  6419. skin,
  6420. other,
  6421. );
  6422. }
  6423. late final _spine_skin_add_skinPtr =
  6424. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skin, spine_skin)>>(
  6425. 'spine_skin_add_skin');
  6426. late final _spine_skin_add_skin = _spine_skin_add_skinPtr
  6427. .asFunction<void Function(spine_skin, spine_skin)>();
  6428. void spine_skin_copy_skin(
  6429. spine_skin skin,
  6430. spine_skin other,
  6431. ) {
  6432. return _spine_skin_copy_skin(
  6433. skin,
  6434. other,
  6435. );
  6436. }
  6437. late final _spine_skin_copy_skinPtr =
  6438. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skin, spine_skin)>>(
  6439. 'spine_skin_copy_skin');
  6440. late final _spine_skin_copy_skin = _spine_skin_copy_skinPtr
  6441. .asFunction<void Function(spine_skin, spine_skin)>();
  6442. spine_skin_entries spine_skin_get_entries(
  6443. spine_skin skin,
  6444. ) {
  6445. return _spine_skin_get_entries(
  6446. skin,
  6447. );
  6448. }
  6449. late final _spine_skin_get_entriesPtr =
  6450. _lookup<ffi.NativeFunction<spine_skin_entries Function(spine_skin)>>(
  6451. 'spine_skin_get_entries');
  6452. late final _spine_skin_get_entries = _spine_skin_get_entriesPtr
  6453. .asFunction<spine_skin_entries Function(spine_skin)>();
  6454. int spine_skin_entries_get_num_entries(
  6455. spine_skin_entries entries,
  6456. ) {
  6457. return _spine_skin_entries_get_num_entries(
  6458. entries,
  6459. );
  6460. }
  6461. late final _spine_skin_entries_get_num_entriesPtr =
  6462. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skin_entries)>>(
  6463. 'spine_skin_entries_get_num_entries');
  6464. late final _spine_skin_entries_get_num_entries =
  6465. _spine_skin_entries_get_num_entriesPtr
  6466. .asFunction<int Function(spine_skin_entries)>();
  6467. spine_skin_entry spine_skin_entries_get_entry(
  6468. spine_skin_entries entries,
  6469. int index,
  6470. ) {
  6471. return _spine_skin_entries_get_entry(
  6472. entries,
  6473. index,
  6474. );
  6475. }
  6476. late final _spine_skin_entries_get_entryPtr = _lookup<
  6477. ffi.NativeFunction<
  6478. spine_skin_entry Function(
  6479. spine_skin_entries, ffi.Int32)>>('spine_skin_entries_get_entry');
  6480. late final _spine_skin_entries_get_entry = _spine_skin_entries_get_entryPtr
  6481. .asFunction<spine_skin_entry Function(spine_skin_entries, int)>();
  6482. void spine_skin_entries_dispose(
  6483. spine_skin_entries entries,
  6484. ) {
  6485. return _spine_skin_entries_dispose(
  6486. entries,
  6487. );
  6488. }
  6489. late final _spine_skin_entries_disposePtr =
  6490. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skin_entries)>>(
  6491. 'spine_skin_entries_dispose');
  6492. late final _spine_skin_entries_dispose = _spine_skin_entries_disposePtr
  6493. .asFunction<void Function(spine_skin_entries)>();
  6494. int spine_skin_entry_get_slot_index(
  6495. spine_skin_entry entry,
  6496. ) {
  6497. return _spine_skin_entry_get_slot_index(
  6498. entry,
  6499. );
  6500. }
  6501. late final _spine_skin_entry_get_slot_indexPtr =
  6502. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skin_entry)>>(
  6503. 'spine_skin_entry_get_slot_index');
  6504. late final _spine_skin_entry_get_slot_index =
  6505. _spine_skin_entry_get_slot_indexPtr
  6506. .asFunction<int Function(spine_skin_entry)>();
  6507. ffi.Pointer<utf8> spine_skin_entry_get_name(
  6508. spine_skin_entry entry,
  6509. ) {
  6510. return _spine_skin_entry_get_name(
  6511. entry,
  6512. );
  6513. }
  6514. late final _spine_skin_entry_get_namePtr =
  6515. _lookup<ffi.NativeFunction<ffi.Pointer<utf8> Function(spine_skin_entry)>>(
  6516. 'spine_skin_entry_get_name');
  6517. late final _spine_skin_entry_get_name = _spine_skin_entry_get_namePtr
  6518. .asFunction<ffi.Pointer<utf8> Function(spine_skin_entry)>();
  6519. spine_attachment spine_skin_entry_get_attachment(
  6520. spine_skin_entry entry,
  6521. ) {
  6522. return _spine_skin_entry_get_attachment(
  6523. entry,
  6524. );
  6525. }
  6526. late final _spine_skin_entry_get_attachmentPtr =
  6527. _lookup<ffi.NativeFunction<spine_attachment Function(spine_skin_entry)>>(
  6528. 'spine_skin_entry_get_attachment');
  6529. late final _spine_skin_entry_get_attachment =
  6530. _spine_skin_entry_get_attachmentPtr
  6531. .asFunction<spine_attachment Function(spine_skin_entry)>();
  6532. int spine_skin_get_num_bones(
  6533. spine_skin skin,
  6534. ) {
  6535. return _spine_skin_get_num_bones(
  6536. skin,
  6537. );
  6538. }
  6539. late final _spine_skin_get_num_bonesPtr =
  6540. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skin)>>(
  6541. 'spine_skin_get_num_bones');
  6542. late final _spine_skin_get_num_bones =
  6543. _spine_skin_get_num_bonesPtr.asFunction<int Function(spine_skin)>();
  6544. ffi.Pointer<spine_bone_data> spine_skin_get_bones(
  6545. spine_skin skin,
  6546. ) {
  6547. return _spine_skin_get_bones(
  6548. skin,
  6549. );
  6550. }
  6551. late final _spine_skin_get_bonesPtr = _lookup<
  6552. ffi
  6553. .NativeFunction<ffi.Pointer<spine_bone_data> Function(spine_skin)>>(
  6554. 'spine_skin_get_bones');
  6555. late final _spine_skin_get_bones = _spine_skin_get_bonesPtr
  6556. .asFunction<ffi.Pointer<spine_bone_data> Function(spine_skin)>();
  6557. int spine_skin_get_num_constraints(
  6558. spine_skin skin,
  6559. ) {
  6560. return _spine_skin_get_num_constraints(
  6561. skin,
  6562. );
  6563. }
  6564. late final _spine_skin_get_num_constraintsPtr =
  6565. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_skin)>>(
  6566. 'spine_skin_get_num_constraints');
  6567. late final _spine_skin_get_num_constraints =
  6568. _spine_skin_get_num_constraintsPtr.asFunction<int Function(spine_skin)>();
  6569. ffi.Pointer<spine_constraint_data> spine_skin_get_constraints(
  6570. spine_skin skin,
  6571. ) {
  6572. return _spine_skin_get_constraints(
  6573. skin,
  6574. );
  6575. }
  6576. late final _spine_skin_get_constraintsPtr = _lookup<
  6577. ffi.NativeFunction<
  6578. ffi.Pointer<spine_constraint_data> Function(
  6579. spine_skin)>>('spine_skin_get_constraints');
  6580. late final _spine_skin_get_constraints = _spine_skin_get_constraintsPtr
  6581. .asFunction<ffi.Pointer<spine_constraint_data> Function(spine_skin)>();
  6582. spine_skin spine_skin_create(
  6583. ffi.Pointer<utf8> name,
  6584. ) {
  6585. return _spine_skin_create(
  6586. name,
  6587. );
  6588. }
  6589. late final _spine_skin_createPtr =
  6590. _lookup<ffi.NativeFunction<spine_skin Function(ffi.Pointer<utf8>)>>(
  6591. 'spine_skin_create');
  6592. late final _spine_skin_create = _spine_skin_createPtr
  6593. .asFunction<spine_skin Function(ffi.Pointer<utf8>)>();
  6594. void spine_skin_dispose(
  6595. spine_skin skin,
  6596. ) {
  6597. return _spine_skin_dispose(
  6598. skin,
  6599. );
  6600. }
  6601. late final _spine_skin_disposePtr =
  6602. _lookup<ffi.NativeFunction<ffi.Void Function(spine_skin)>>(
  6603. 'spine_skin_dispose');
  6604. late final _spine_skin_dispose =
  6605. _spine_skin_disposePtr.asFunction<void Function(spine_skin)>();
  6606. int spine_constraint_data_get_type(
  6607. spine_constraint_data data,
  6608. ) {
  6609. return _spine_constraint_data_get_type(
  6610. data,
  6611. );
  6612. }
  6613. late final _spine_constraint_data_get_typePtr =
  6614. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_constraint_data)>>(
  6615. 'spine_constraint_data_get_type');
  6616. late final _spine_constraint_data_get_type =
  6617. _spine_constraint_data_get_typePtr
  6618. .asFunction<int Function(spine_constraint_data)>();
  6619. ffi.Pointer<utf8> spine_constraint_data_get_name(
  6620. spine_constraint_data data,
  6621. ) {
  6622. return _spine_constraint_data_get_name(
  6623. data,
  6624. );
  6625. }
  6626. late final _spine_constraint_data_get_namePtr = _lookup<
  6627. ffi
  6628. .NativeFunction<ffi.Pointer<utf8> Function(spine_constraint_data)>>(
  6629. 'spine_constraint_data_get_name');
  6630. late final _spine_constraint_data_get_name =
  6631. _spine_constraint_data_get_namePtr
  6632. .asFunction<ffi.Pointer<utf8> Function(spine_constraint_data)>();
  6633. int spine_constraint_data_get_order(
  6634. spine_constraint_data data,
  6635. ) {
  6636. return _spine_constraint_data_get_order(
  6637. data,
  6638. );
  6639. }
  6640. late final _spine_constraint_data_get_orderPtr =
  6641. _lookup<ffi.NativeFunction<ffi.Uint64 Function(spine_constraint_data)>>(
  6642. 'spine_constraint_data_get_order');
  6643. late final _spine_constraint_data_get_order =
  6644. _spine_constraint_data_get_orderPtr
  6645. .asFunction<int Function(spine_constraint_data)>();
  6646. void spine_constraint_data_set_order(
  6647. spine_constraint_data data,
  6648. int order,
  6649. ) {
  6650. return _spine_constraint_data_set_order(
  6651. data,
  6652. order,
  6653. );
  6654. }
  6655. late final _spine_constraint_data_set_orderPtr = _lookup<
  6656. ffi.NativeFunction<
  6657. ffi.Void Function(spine_constraint_data,
  6658. ffi.Uint64)>>('spine_constraint_data_set_order');
  6659. late final _spine_constraint_data_set_order =
  6660. _spine_constraint_data_set_orderPtr
  6661. .asFunction<void Function(spine_constraint_data, int)>();
  6662. int spine_constraint_data_get_is_skin_required(
  6663. spine_constraint_data data,
  6664. ) {
  6665. return _spine_constraint_data_get_is_skin_required(
  6666. data,
  6667. );
  6668. }
  6669. late final _spine_constraint_data_get_is_skin_requiredPtr =
  6670. _lookup<ffi.NativeFunction<spine_bool Function(spine_constraint_data)>>(
  6671. 'spine_constraint_data_get_is_skin_required');
  6672. late final _spine_constraint_data_get_is_skin_required =
  6673. _spine_constraint_data_get_is_skin_requiredPtr
  6674. .asFunction<int Function(spine_constraint_data)>();
  6675. void spine_constraint_data_set_is_skin_required(
  6676. spine_constraint_data data,
  6677. int isSkinRequired,
  6678. ) {
  6679. return _spine_constraint_data_set_is_skin_required(
  6680. data,
  6681. isSkinRequired,
  6682. );
  6683. }
  6684. late final _spine_constraint_data_set_is_skin_requiredPtr = _lookup<
  6685. ffi.NativeFunction<
  6686. ffi.Void Function(spine_constraint_data,
  6687. spine_bool)>>('spine_constraint_data_set_is_skin_required');
  6688. late final _spine_constraint_data_set_is_skin_required =
  6689. _spine_constraint_data_set_is_skin_requiredPtr
  6690. .asFunction<void Function(spine_constraint_data, int)>();
  6691. int spine_ik_constraint_data_get_num_bones(
  6692. spine_ik_constraint_data data,
  6693. ) {
  6694. return _spine_ik_constraint_data_get_num_bones(
  6695. data,
  6696. );
  6697. }
  6698. late final _spine_ik_constraint_data_get_num_bonesPtr =
  6699. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_ik_constraint_data)>>(
  6700. 'spine_ik_constraint_data_get_num_bones');
  6701. late final _spine_ik_constraint_data_get_num_bones =
  6702. _spine_ik_constraint_data_get_num_bonesPtr
  6703. .asFunction<int Function(spine_ik_constraint_data)>();
  6704. ffi.Pointer<spine_bone_data> spine_ik_constraint_data_get_bones(
  6705. spine_ik_constraint_data data,
  6706. ) {
  6707. return _spine_ik_constraint_data_get_bones(
  6708. data,
  6709. );
  6710. }
  6711. late final _spine_ik_constraint_data_get_bonesPtr = _lookup<
  6712. ffi.NativeFunction<
  6713. ffi.Pointer<spine_bone_data> Function(
  6714. spine_ik_constraint_data)>>('spine_ik_constraint_data_get_bones');
  6715. late final _spine_ik_constraint_data_get_bones =
  6716. _spine_ik_constraint_data_get_bonesPtr.asFunction<
  6717. ffi.Pointer<spine_bone_data> Function(spine_ik_constraint_data)>();
  6718. spine_bone_data spine_ik_constraint_data_get_target(
  6719. spine_ik_constraint_data data,
  6720. ) {
  6721. return _spine_ik_constraint_data_get_target(
  6722. data,
  6723. );
  6724. }
  6725. late final _spine_ik_constraint_data_get_targetPtr = _lookup<
  6726. ffi
  6727. .NativeFunction<spine_bone_data Function(spine_ik_constraint_data)>>(
  6728. 'spine_ik_constraint_data_get_target');
  6729. late final _spine_ik_constraint_data_get_target =
  6730. _spine_ik_constraint_data_get_targetPtr
  6731. .asFunction<spine_bone_data Function(spine_ik_constraint_data)>();
  6732. void spine_ik_constraint_data_set_target(
  6733. spine_ik_constraint_data data,
  6734. spine_bone_data target,
  6735. ) {
  6736. return _spine_ik_constraint_data_set_target(
  6737. data,
  6738. target,
  6739. );
  6740. }
  6741. late final _spine_ik_constraint_data_set_targetPtr = _lookup<
  6742. ffi.NativeFunction<
  6743. ffi.Void Function(spine_ik_constraint_data,
  6744. spine_bone_data)>>('spine_ik_constraint_data_set_target');
  6745. late final _spine_ik_constraint_data_set_target =
  6746. _spine_ik_constraint_data_set_targetPtr.asFunction<
  6747. void Function(spine_ik_constraint_data, spine_bone_data)>();
  6748. int spine_ik_constraint_data_get_bend_direction(
  6749. spine_ik_constraint_data data,
  6750. ) {
  6751. return _spine_ik_constraint_data_get_bend_direction(
  6752. data,
  6753. );
  6754. }
  6755. late final _spine_ik_constraint_data_get_bend_directionPtr =
  6756. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_ik_constraint_data)>>(
  6757. 'spine_ik_constraint_data_get_bend_direction');
  6758. late final _spine_ik_constraint_data_get_bend_direction =
  6759. _spine_ik_constraint_data_get_bend_directionPtr
  6760. .asFunction<int Function(spine_ik_constraint_data)>();
  6761. void spine_ik_constraint_data_set_bend_direction(
  6762. spine_ik_constraint_data data,
  6763. int bendDirection,
  6764. ) {
  6765. return _spine_ik_constraint_data_set_bend_direction(
  6766. data,
  6767. bendDirection,
  6768. );
  6769. }
  6770. late final _spine_ik_constraint_data_set_bend_directionPtr = _lookup<
  6771. ffi.NativeFunction<
  6772. ffi.Void Function(spine_ik_constraint_data,
  6773. ffi.Int32)>>('spine_ik_constraint_data_set_bend_direction');
  6774. late final _spine_ik_constraint_data_set_bend_direction =
  6775. _spine_ik_constraint_data_set_bend_directionPtr
  6776. .asFunction<void Function(spine_ik_constraint_data, int)>();
  6777. int spine_ik_constraint_data_get_compress(
  6778. spine_ik_constraint_data data,
  6779. ) {
  6780. return _spine_ik_constraint_data_get_compress(
  6781. data,
  6782. );
  6783. }
  6784. late final _spine_ik_constraint_data_get_compressPtr = _lookup<
  6785. ffi.NativeFunction<spine_bool Function(spine_ik_constraint_data)>>(
  6786. 'spine_ik_constraint_data_get_compress');
  6787. late final _spine_ik_constraint_data_get_compress =
  6788. _spine_ik_constraint_data_get_compressPtr
  6789. .asFunction<int Function(spine_ik_constraint_data)>();
  6790. void spine_ik_constraint_data_set_compress(
  6791. spine_ik_constraint_data data,
  6792. int compress,
  6793. ) {
  6794. return _spine_ik_constraint_data_set_compress(
  6795. data,
  6796. compress,
  6797. );
  6798. }
  6799. late final _spine_ik_constraint_data_set_compressPtr = _lookup<
  6800. ffi.NativeFunction<
  6801. ffi.Void Function(spine_ik_constraint_data,
  6802. spine_bool)>>('spine_ik_constraint_data_set_compress');
  6803. late final _spine_ik_constraint_data_set_compress =
  6804. _spine_ik_constraint_data_set_compressPtr
  6805. .asFunction<void Function(spine_ik_constraint_data, int)>();
  6806. int spine_ik_constraint_data_get_stretch(
  6807. spine_ik_constraint_data data,
  6808. ) {
  6809. return _spine_ik_constraint_data_get_stretch(
  6810. data,
  6811. );
  6812. }
  6813. late final _spine_ik_constraint_data_get_stretchPtr = _lookup<
  6814. ffi.NativeFunction<spine_bool Function(spine_ik_constraint_data)>>(
  6815. 'spine_ik_constraint_data_get_stretch');
  6816. late final _spine_ik_constraint_data_get_stretch =
  6817. _spine_ik_constraint_data_get_stretchPtr
  6818. .asFunction<int Function(spine_ik_constraint_data)>();
  6819. void spine_ik_constraint_data_set_stretch(
  6820. spine_ik_constraint_data data,
  6821. int stretch,
  6822. ) {
  6823. return _spine_ik_constraint_data_set_stretch(
  6824. data,
  6825. stretch,
  6826. );
  6827. }
  6828. late final _spine_ik_constraint_data_set_stretchPtr = _lookup<
  6829. ffi.NativeFunction<
  6830. ffi.Void Function(spine_ik_constraint_data,
  6831. spine_bool)>>('spine_ik_constraint_data_set_stretch');
  6832. late final _spine_ik_constraint_data_set_stretch =
  6833. _spine_ik_constraint_data_set_stretchPtr
  6834. .asFunction<void Function(spine_ik_constraint_data, int)>();
  6835. int spine_ik_constraint_data_get_uniform(
  6836. spine_ik_constraint_data data,
  6837. ) {
  6838. return _spine_ik_constraint_data_get_uniform(
  6839. data,
  6840. );
  6841. }
  6842. late final _spine_ik_constraint_data_get_uniformPtr = _lookup<
  6843. ffi.NativeFunction<spine_bool Function(spine_ik_constraint_data)>>(
  6844. 'spine_ik_constraint_data_get_uniform');
  6845. late final _spine_ik_constraint_data_get_uniform =
  6846. _spine_ik_constraint_data_get_uniformPtr
  6847. .asFunction<int Function(spine_ik_constraint_data)>();
  6848. void spine_ik_constraint_data_set_uniform(
  6849. spine_ik_constraint_data data,
  6850. int uniform,
  6851. ) {
  6852. return _spine_ik_constraint_data_set_uniform(
  6853. data,
  6854. uniform,
  6855. );
  6856. }
  6857. late final _spine_ik_constraint_data_set_uniformPtr = _lookup<
  6858. ffi.NativeFunction<
  6859. ffi.Void Function(spine_ik_constraint_data,
  6860. spine_bool)>>('spine_ik_constraint_data_set_uniform');
  6861. late final _spine_ik_constraint_data_set_uniform =
  6862. _spine_ik_constraint_data_set_uniformPtr
  6863. .asFunction<void Function(spine_ik_constraint_data, int)>();
  6864. double spine_ik_constraint_data_get_mix(
  6865. spine_ik_constraint_data data,
  6866. ) {
  6867. return _spine_ik_constraint_data_get_mix(
  6868. data,
  6869. );
  6870. }
  6871. late final _spine_ik_constraint_data_get_mixPtr =
  6872. _lookup<ffi.NativeFunction<ffi.Float Function(spine_ik_constraint_data)>>(
  6873. 'spine_ik_constraint_data_get_mix');
  6874. late final _spine_ik_constraint_data_get_mix =
  6875. _spine_ik_constraint_data_get_mixPtr
  6876. .asFunction<double Function(spine_ik_constraint_data)>();
  6877. void spine_ik_constraint_data_set_mix(
  6878. spine_ik_constraint_data data,
  6879. double mix,
  6880. ) {
  6881. return _spine_ik_constraint_data_set_mix(
  6882. data,
  6883. mix,
  6884. );
  6885. }
  6886. late final _spine_ik_constraint_data_set_mixPtr = _lookup<
  6887. ffi.NativeFunction<
  6888. ffi.Void Function(spine_ik_constraint_data,
  6889. ffi.Float)>>('spine_ik_constraint_data_set_mix');
  6890. late final _spine_ik_constraint_data_set_mix =
  6891. _spine_ik_constraint_data_set_mixPtr
  6892. .asFunction<void Function(spine_ik_constraint_data, double)>();
  6893. double spine_ik_constraint_data_get_softness(
  6894. spine_ik_constraint_data data,
  6895. ) {
  6896. return _spine_ik_constraint_data_get_softness(
  6897. data,
  6898. );
  6899. }
  6900. late final _spine_ik_constraint_data_get_softnessPtr =
  6901. _lookup<ffi.NativeFunction<ffi.Float Function(spine_ik_constraint_data)>>(
  6902. 'spine_ik_constraint_data_get_softness');
  6903. late final _spine_ik_constraint_data_get_softness =
  6904. _spine_ik_constraint_data_get_softnessPtr
  6905. .asFunction<double Function(spine_ik_constraint_data)>();
  6906. void spine_ik_constraint_data_set_softness(
  6907. spine_ik_constraint_data data,
  6908. double softness,
  6909. ) {
  6910. return _spine_ik_constraint_data_set_softness(
  6911. data,
  6912. softness,
  6913. );
  6914. }
  6915. late final _spine_ik_constraint_data_set_softnessPtr = _lookup<
  6916. ffi.NativeFunction<
  6917. ffi.Void Function(spine_ik_constraint_data,
  6918. ffi.Float)>>('spine_ik_constraint_data_set_softness');
  6919. late final _spine_ik_constraint_data_set_softness =
  6920. _spine_ik_constraint_data_set_softnessPtr
  6921. .asFunction<void Function(spine_ik_constraint_data, double)>();
  6922. void spine_ik_constraint_update(
  6923. spine_ik_constraint constraint,
  6924. ) {
  6925. return _spine_ik_constraint_update(
  6926. constraint,
  6927. );
  6928. }
  6929. late final _spine_ik_constraint_updatePtr =
  6930. _lookup<ffi.NativeFunction<ffi.Void Function(spine_ik_constraint)>>(
  6931. 'spine_ik_constraint_update');
  6932. late final _spine_ik_constraint_update = _spine_ik_constraint_updatePtr
  6933. .asFunction<void Function(spine_ik_constraint)>();
  6934. int spine_ik_constraint_get_order(
  6935. spine_ik_constraint constraint,
  6936. ) {
  6937. return _spine_ik_constraint_get_order(
  6938. constraint,
  6939. );
  6940. }
  6941. late final _spine_ik_constraint_get_orderPtr =
  6942. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_ik_constraint)>>(
  6943. 'spine_ik_constraint_get_order');
  6944. late final _spine_ik_constraint_get_order = _spine_ik_constraint_get_orderPtr
  6945. .asFunction<int Function(spine_ik_constraint)>();
  6946. spine_ik_constraint_data spine_ik_constraint_get_data(
  6947. spine_ik_constraint constraint,
  6948. ) {
  6949. return _spine_ik_constraint_get_data(
  6950. constraint,
  6951. );
  6952. }
  6953. late final _spine_ik_constraint_get_dataPtr = _lookup<
  6954. ffi.NativeFunction<
  6955. spine_ik_constraint_data Function(
  6956. spine_ik_constraint)>>('spine_ik_constraint_get_data');
  6957. late final _spine_ik_constraint_get_data = _spine_ik_constraint_get_dataPtr
  6958. .asFunction<spine_ik_constraint_data Function(spine_ik_constraint)>();
  6959. int spine_ik_constraint_get_num_bones(
  6960. spine_ik_constraint constraint,
  6961. ) {
  6962. return _spine_ik_constraint_get_num_bones(
  6963. constraint,
  6964. );
  6965. }
  6966. late final _spine_ik_constraint_get_num_bonesPtr =
  6967. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_ik_constraint)>>(
  6968. 'spine_ik_constraint_get_num_bones');
  6969. late final _spine_ik_constraint_get_num_bones =
  6970. _spine_ik_constraint_get_num_bonesPtr
  6971. .asFunction<int Function(spine_ik_constraint)>();
  6972. ffi.Pointer<spine_bone> spine_ik_constraint_get_bones(
  6973. spine_ik_constraint constraint,
  6974. ) {
  6975. return _spine_ik_constraint_get_bones(
  6976. constraint,
  6977. );
  6978. }
  6979. late final _spine_ik_constraint_get_bonesPtr = _lookup<
  6980. ffi.NativeFunction<
  6981. ffi.Pointer<spine_bone> Function(
  6982. spine_ik_constraint)>>('spine_ik_constraint_get_bones');
  6983. late final _spine_ik_constraint_get_bones = _spine_ik_constraint_get_bonesPtr
  6984. .asFunction<ffi.Pointer<spine_bone> Function(spine_ik_constraint)>();
  6985. spine_bone spine_ik_constraint_get_target(
  6986. spine_ik_constraint constraint,
  6987. ) {
  6988. return _spine_ik_constraint_get_target(
  6989. constraint,
  6990. );
  6991. }
  6992. late final _spine_ik_constraint_get_targetPtr =
  6993. _lookup<ffi.NativeFunction<spine_bone Function(spine_ik_constraint)>>(
  6994. 'spine_ik_constraint_get_target');
  6995. late final _spine_ik_constraint_get_target =
  6996. _spine_ik_constraint_get_targetPtr
  6997. .asFunction<spine_bone Function(spine_ik_constraint)>();
  6998. void spine_ik_constraint_set_target(
  6999. spine_ik_constraint constraint,
  7000. spine_bone target,
  7001. ) {
  7002. return _spine_ik_constraint_set_target(
  7003. constraint,
  7004. target,
  7005. );
  7006. }
  7007. late final _spine_ik_constraint_set_targetPtr = _lookup<
  7008. ffi
  7009. .NativeFunction<ffi.Void Function(spine_ik_constraint, spine_bone)>>(
  7010. 'spine_ik_constraint_set_target');
  7011. late final _spine_ik_constraint_set_target =
  7012. _spine_ik_constraint_set_targetPtr
  7013. .asFunction<void Function(spine_ik_constraint, spine_bone)>();
  7014. int spine_ik_constraint_get_bend_direction(
  7015. spine_ik_constraint constraint,
  7016. ) {
  7017. return _spine_ik_constraint_get_bend_direction(
  7018. constraint,
  7019. );
  7020. }
  7021. late final _spine_ik_constraint_get_bend_directionPtr =
  7022. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_ik_constraint)>>(
  7023. 'spine_ik_constraint_get_bend_direction');
  7024. late final _spine_ik_constraint_get_bend_direction =
  7025. _spine_ik_constraint_get_bend_directionPtr
  7026. .asFunction<int Function(spine_ik_constraint)>();
  7027. void spine_ik_constraint_set_bend_direction(
  7028. spine_ik_constraint constraint,
  7029. int bendDirection,
  7030. ) {
  7031. return _spine_ik_constraint_set_bend_direction(
  7032. constraint,
  7033. bendDirection,
  7034. );
  7035. }
  7036. late final _spine_ik_constraint_set_bend_directionPtr = _lookup<
  7037. ffi
  7038. .NativeFunction<ffi.Void Function(spine_ik_constraint, ffi.Int32)>>(
  7039. 'spine_ik_constraint_set_bend_direction');
  7040. late final _spine_ik_constraint_set_bend_direction =
  7041. _spine_ik_constraint_set_bend_directionPtr
  7042. .asFunction<void Function(spine_ik_constraint, int)>();
  7043. int spine_ik_constraint_get_compress(
  7044. spine_ik_constraint constraint,
  7045. ) {
  7046. return _spine_ik_constraint_get_compress(
  7047. constraint,
  7048. );
  7049. }
  7050. late final _spine_ik_constraint_get_compressPtr =
  7051. _lookup<ffi.NativeFunction<spine_bool Function(spine_ik_constraint)>>(
  7052. 'spine_ik_constraint_get_compress');
  7053. late final _spine_ik_constraint_get_compress =
  7054. _spine_ik_constraint_get_compressPtr
  7055. .asFunction<int Function(spine_ik_constraint)>();
  7056. void spine_ik_constraint_set_compress(
  7057. spine_ik_constraint constraint,
  7058. int compress,
  7059. ) {
  7060. return _spine_ik_constraint_set_compress(
  7061. constraint,
  7062. compress,
  7063. );
  7064. }
  7065. late final _spine_ik_constraint_set_compressPtr = _lookup<
  7066. ffi
  7067. .NativeFunction<ffi.Void Function(spine_ik_constraint, spine_bool)>>(
  7068. 'spine_ik_constraint_set_compress');
  7069. late final _spine_ik_constraint_set_compress =
  7070. _spine_ik_constraint_set_compressPtr
  7071. .asFunction<void Function(spine_ik_constraint, int)>();
  7072. int spine_ik_constraint_get_stretch(
  7073. spine_ik_constraint constraint,
  7074. ) {
  7075. return _spine_ik_constraint_get_stretch(
  7076. constraint,
  7077. );
  7078. }
  7079. late final _spine_ik_constraint_get_stretchPtr =
  7080. _lookup<ffi.NativeFunction<spine_bool Function(spine_ik_constraint)>>(
  7081. 'spine_ik_constraint_get_stretch');
  7082. late final _spine_ik_constraint_get_stretch =
  7083. _spine_ik_constraint_get_stretchPtr
  7084. .asFunction<int Function(spine_ik_constraint)>();
  7085. void spine_ik_constraint_set_stretch(
  7086. spine_ik_constraint constraint,
  7087. int stretch,
  7088. ) {
  7089. return _spine_ik_constraint_set_stretch(
  7090. constraint,
  7091. stretch,
  7092. );
  7093. }
  7094. late final _spine_ik_constraint_set_stretchPtr = _lookup<
  7095. ffi
  7096. .NativeFunction<ffi.Void Function(spine_ik_constraint, spine_bool)>>(
  7097. 'spine_ik_constraint_set_stretch');
  7098. late final _spine_ik_constraint_set_stretch =
  7099. _spine_ik_constraint_set_stretchPtr
  7100. .asFunction<void Function(spine_ik_constraint, int)>();
  7101. double spine_ik_constraint_get_mix(
  7102. spine_ik_constraint constraint,
  7103. ) {
  7104. return _spine_ik_constraint_get_mix(
  7105. constraint,
  7106. );
  7107. }
  7108. late final _spine_ik_constraint_get_mixPtr =
  7109. _lookup<ffi.NativeFunction<ffi.Float Function(spine_ik_constraint)>>(
  7110. 'spine_ik_constraint_get_mix');
  7111. late final _spine_ik_constraint_get_mix = _spine_ik_constraint_get_mixPtr
  7112. .asFunction<double Function(spine_ik_constraint)>();
  7113. void spine_ik_constraint_set_mix(
  7114. spine_ik_constraint constraint,
  7115. double mix,
  7116. ) {
  7117. return _spine_ik_constraint_set_mix(
  7118. constraint,
  7119. mix,
  7120. );
  7121. }
  7122. late final _spine_ik_constraint_set_mixPtr = _lookup<
  7123. ffi
  7124. .NativeFunction<ffi.Void Function(spine_ik_constraint, ffi.Float)>>(
  7125. 'spine_ik_constraint_set_mix');
  7126. late final _spine_ik_constraint_set_mix = _spine_ik_constraint_set_mixPtr
  7127. .asFunction<void Function(spine_ik_constraint, double)>();
  7128. double spine_ik_constraint_get_softness(
  7129. spine_ik_constraint constraint,
  7130. ) {
  7131. return _spine_ik_constraint_get_softness(
  7132. constraint,
  7133. );
  7134. }
  7135. late final _spine_ik_constraint_get_softnessPtr =
  7136. _lookup<ffi.NativeFunction<ffi.Float Function(spine_ik_constraint)>>(
  7137. 'spine_ik_constraint_get_softness');
  7138. late final _spine_ik_constraint_get_softness =
  7139. _spine_ik_constraint_get_softnessPtr
  7140. .asFunction<double Function(spine_ik_constraint)>();
  7141. void spine_ik_constraint_set_softness(
  7142. spine_ik_constraint constraint,
  7143. double softness,
  7144. ) {
  7145. return _spine_ik_constraint_set_softness(
  7146. constraint,
  7147. softness,
  7148. );
  7149. }
  7150. late final _spine_ik_constraint_set_softnessPtr = _lookup<
  7151. ffi
  7152. .NativeFunction<ffi.Void Function(spine_ik_constraint, ffi.Float)>>(
  7153. 'spine_ik_constraint_set_softness');
  7154. late final _spine_ik_constraint_set_softness =
  7155. _spine_ik_constraint_set_softnessPtr
  7156. .asFunction<void Function(spine_ik_constraint, double)>();
  7157. int spine_ik_constraint_get_is_active(
  7158. spine_ik_constraint constraint,
  7159. ) {
  7160. return _spine_ik_constraint_get_is_active(
  7161. constraint,
  7162. );
  7163. }
  7164. late final _spine_ik_constraint_get_is_activePtr =
  7165. _lookup<ffi.NativeFunction<spine_bool Function(spine_ik_constraint)>>(
  7166. 'spine_ik_constraint_get_is_active');
  7167. late final _spine_ik_constraint_get_is_active =
  7168. _spine_ik_constraint_get_is_activePtr
  7169. .asFunction<int Function(spine_ik_constraint)>();
  7170. void spine_ik_constraint_set_is_active(
  7171. spine_ik_constraint constraint,
  7172. int isActive,
  7173. ) {
  7174. return _spine_ik_constraint_set_is_active(
  7175. constraint,
  7176. isActive,
  7177. );
  7178. }
  7179. late final _spine_ik_constraint_set_is_activePtr = _lookup<
  7180. ffi
  7181. .NativeFunction<ffi.Void Function(spine_ik_constraint, spine_bool)>>(
  7182. 'spine_ik_constraint_set_is_active');
  7183. late final _spine_ik_constraint_set_is_active =
  7184. _spine_ik_constraint_set_is_activePtr
  7185. .asFunction<void Function(spine_ik_constraint, int)>();
  7186. /// OMITTED setToSetupPose()
  7187. int spine_transform_constraint_data_get_num_bones(
  7188. spine_transform_constraint_data data,
  7189. ) {
  7190. return _spine_transform_constraint_data_get_num_bones(
  7191. data,
  7192. );
  7193. }
  7194. late final _spine_transform_constraint_data_get_num_bonesPtr = _lookup<
  7195. ffi
  7196. .NativeFunction<ffi.Int32 Function(spine_transform_constraint_data)>>(
  7197. 'spine_transform_constraint_data_get_num_bones');
  7198. late final _spine_transform_constraint_data_get_num_bones =
  7199. _spine_transform_constraint_data_get_num_bonesPtr
  7200. .asFunction<int Function(spine_transform_constraint_data)>();
  7201. ffi.Pointer<spine_bone_data> spine_transform_constraint_data_get_bones(
  7202. spine_transform_constraint_data data,
  7203. ) {
  7204. return _spine_transform_constraint_data_get_bones(
  7205. data,
  7206. );
  7207. }
  7208. late final _spine_transform_constraint_data_get_bonesPtr = _lookup<
  7209. ffi.NativeFunction<
  7210. ffi.Pointer<spine_bone_data> Function(
  7211. spine_transform_constraint_data)>>(
  7212. 'spine_transform_constraint_data_get_bones');
  7213. late final _spine_transform_constraint_data_get_bones =
  7214. _spine_transform_constraint_data_get_bonesPtr.asFunction<
  7215. ffi.Pointer<spine_bone_data> Function(
  7216. spine_transform_constraint_data)>();
  7217. spine_bone_data spine_transform_constraint_data_get_target(
  7218. spine_transform_constraint_data data,
  7219. ) {
  7220. return _spine_transform_constraint_data_get_target(
  7221. data,
  7222. );
  7223. }
  7224. late final _spine_transform_constraint_data_get_targetPtr = _lookup<
  7225. ffi.NativeFunction<
  7226. spine_bone_data Function(spine_transform_constraint_data)>>(
  7227. 'spine_transform_constraint_data_get_target');
  7228. late final _spine_transform_constraint_data_get_target =
  7229. _spine_transform_constraint_data_get_targetPtr.asFunction<
  7230. spine_bone_data Function(spine_transform_constraint_data)>();
  7231. void spine_transform_constraint_data_set_target(
  7232. spine_transform_constraint_data data,
  7233. spine_bone_data target,
  7234. ) {
  7235. return _spine_transform_constraint_data_set_target(
  7236. data,
  7237. target,
  7238. );
  7239. }
  7240. late final _spine_transform_constraint_data_set_targetPtr = _lookup<
  7241. ffi.NativeFunction<
  7242. ffi.Void Function(spine_transform_constraint_data,
  7243. spine_bone_data)>>('spine_transform_constraint_data_set_target');
  7244. late final _spine_transform_constraint_data_set_target =
  7245. _spine_transform_constraint_data_set_targetPtr.asFunction<
  7246. void Function(spine_transform_constraint_data, spine_bone_data)>();
  7247. double spine_transform_constraint_data_get_mix_rotate(
  7248. spine_transform_constraint_data data,
  7249. ) {
  7250. return _spine_transform_constraint_data_get_mix_rotate(
  7251. data,
  7252. );
  7253. }
  7254. late final _spine_transform_constraint_data_get_mix_rotatePtr = _lookup<
  7255. ffi
  7256. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7257. 'spine_transform_constraint_data_get_mix_rotate');
  7258. late final _spine_transform_constraint_data_get_mix_rotate =
  7259. _spine_transform_constraint_data_get_mix_rotatePtr
  7260. .asFunction<double Function(spine_transform_constraint_data)>();
  7261. void spine_transform_constraint_data_set_mix_rotate(
  7262. spine_transform_constraint_data data,
  7263. double mixRotate,
  7264. ) {
  7265. return _spine_transform_constraint_data_set_mix_rotate(
  7266. data,
  7267. mixRotate,
  7268. );
  7269. }
  7270. late final _spine_transform_constraint_data_set_mix_rotatePtr = _lookup<
  7271. ffi.NativeFunction<
  7272. ffi.Void Function(spine_transform_constraint_data,
  7273. ffi.Float)>>('spine_transform_constraint_data_set_mix_rotate');
  7274. late final _spine_transform_constraint_data_set_mix_rotate =
  7275. _spine_transform_constraint_data_set_mix_rotatePtr
  7276. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7277. double spine_transform_constraint_data_get_mix_x(
  7278. spine_transform_constraint_data data,
  7279. ) {
  7280. return _spine_transform_constraint_data_get_mix_x(
  7281. data,
  7282. );
  7283. }
  7284. late final _spine_transform_constraint_data_get_mix_xPtr = _lookup<
  7285. ffi
  7286. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7287. 'spine_transform_constraint_data_get_mix_x');
  7288. late final _spine_transform_constraint_data_get_mix_x =
  7289. _spine_transform_constraint_data_get_mix_xPtr
  7290. .asFunction<double Function(spine_transform_constraint_data)>();
  7291. void spine_transform_constraint_data_set_mix_x(
  7292. spine_transform_constraint_data data,
  7293. double mixX,
  7294. ) {
  7295. return _spine_transform_constraint_data_set_mix_x(
  7296. data,
  7297. mixX,
  7298. );
  7299. }
  7300. late final _spine_transform_constraint_data_set_mix_xPtr = _lookup<
  7301. ffi.NativeFunction<
  7302. ffi.Void Function(spine_transform_constraint_data,
  7303. ffi.Float)>>('spine_transform_constraint_data_set_mix_x');
  7304. late final _spine_transform_constraint_data_set_mix_x =
  7305. _spine_transform_constraint_data_set_mix_xPtr
  7306. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7307. double spine_transform_constraint_data_get_mix_y(
  7308. spine_transform_constraint_data data,
  7309. ) {
  7310. return _spine_transform_constraint_data_get_mix_y(
  7311. data,
  7312. );
  7313. }
  7314. late final _spine_transform_constraint_data_get_mix_yPtr = _lookup<
  7315. ffi
  7316. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7317. 'spine_transform_constraint_data_get_mix_y');
  7318. late final _spine_transform_constraint_data_get_mix_y =
  7319. _spine_transform_constraint_data_get_mix_yPtr
  7320. .asFunction<double Function(spine_transform_constraint_data)>();
  7321. void spine_transform_constraint_data_set_mix_y(
  7322. spine_transform_constraint_data data,
  7323. double mixY,
  7324. ) {
  7325. return _spine_transform_constraint_data_set_mix_y(
  7326. data,
  7327. mixY,
  7328. );
  7329. }
  7330. late final _spine_transform_constraint_data_set_mix_yPtr = _lookup<
  7331. ffi.NativeFunction<
  7332. ffi.Void Function(spine_transform_constraint_data,
  7333. ffi.Float)>>('spine_transform_constraint_data_set_mix_y');
  7334. late final _spine_transform_constraint_data_set_mix_y =
  7335. _spine_transform_constraint_data_set_mix_yPtr
  7336. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7337. double spine_transform_constraint_data_get_mix_scale_x(
  7338. spine_transform_constraint_data data,
  7339. ) {
  7340. return _spine_transform_constraint_data_get_mix_scale_x(
  7341. data,
  7342. );
  7343. }
  7344. late final _spine_transform_constraint_data_get_mix_scale_xPtr = _lookup<
  7345. ffi
  7346. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7347. 'spine_transform_constraint_data_get_mix_scale_x');
  7348. late final _spine_transform_constraint_data_get_mix_scale_x =
  7349. _spine_transform_constraint_data_get_mix_scale_xPtr
  7350. .asFunction<double Function(spine_transform_constraint_data)>();
  7351. void spine_transform_constraint_data_set_mix_scale_x(
  7352. spine_transform_constraint_data data,
  7353. double mixScaleX,
  7354. ) {
  7355. return _spine_transform_constraint_data_set_mix_scale_x(
  7356. data,
  7357. mixScaleX,
  7358. );
  7359. }
  7360. late final _spine_transform_constraint_data_set_mix_scale_xPtr = _lookup<
  7361. ffi.NativeFunction<
  7362. ffi.Void Function(spine_transform_constraint_data,
  7363. ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_x');
  7364. late final _spine_transform_constraint_data_set_mix_scale_x =
  7365. _spine_transform_constraint_data_set_mix_scale_xPtr
  7366. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7367. double spine_transform_constraint_data_get_mix_scale_y(
  7368. spine_transform_constraint_data data,
  7369. ) {
  7370. return _spine_transform_constraint_data_get_mix_scale_y(
  7371. data,
  7372. );
  7373. }
  7374. late final _spine_transform_constraint_data_get_mix_scale_yPtr = _lookup<
  7375. ffi
  7376. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7377. 'spine_transform_constraint_data_get_mix_scale_y');
  7378. late final _spine_transform_constraint_data_get_mix_scale_y =
  7379. _spine_transform_constraint_data_get_mix_scale_yPtr
  7380. .asFunction<double Function(spine_transform_constraint_data)>();
  7381. void spine_transform_constraint_data_set_mix_scale_y(
  7382. spine_transform_constraint_data data,
  7383. double mixScaleY,
  7384. ) {
  7385. return _spine_transform_constraint_data_set_mix_scale_y(
  7386. data,
  7387. mixScaleY,
  7388. );
  7389. }
  7390. late final _spine_transform_constraint_data_set_mix_scale_yPtr = _lookup<
  7391. ffi.NativeFunction<
  7392. ffi.Void Function(spine_transform_constraint_data,
  7393. ffi.Float)>>('spine_transform_constraint_data_set_mix_scale_y');
  7394. late final _spine_transform_constraint_data_set_mix_scale_y =
  7395. _spine_transform_constraint_data_set_mix_scale_yPtr
  7396. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7397. double spine_transform_constraint_data_get_mix_shear_y(
  7398. spine_transform_constraint_data data,
  7399. ) {
  7400. return _spine_transform_constraint_data_get_mix_shear_y(
  7401. data,
  7402. );
  7403. }
  7404. late final _spine_transform_constraint_data_get_mix_shear_yPtr = _lookup<
  7405. ffi
  7406. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7407. 'spine_transform_constraint_data_get_mix_shear_y');
  7408. late final _spine_transform_constraint_data_get_mix_shear_y =
  7409. _spine_transform_constraint_data_get_mix_shear_yPtr
  7410. .asFunction<double Function(spine_transform_constraint_data)>();
  7411. void spine_transform_constraint_data_set_mix_shear_y(
  7412. spine_transform_constraint_data data,
  7413. double mixShearY,
  7414. ) {
  7415. return _spine_transform_constraint_data_set_mix_shear_y(
  7416. data,
  7417. mixShearY,
  7418. );
  7419. }
  7420. late final _spine_transform_constraint_data_set_mix_shear_yPtr = _lookup<
  7421. ffi.NativeFunction<
  7422. ffi.Void Function(spine_transform_constraint_data,
  7423. ffi.Float)>>('spine_transform_constraint_data_set_mix_shear_y');
  7424. late final _spine_transform_constraint_data_set_mix_shear_y =
  7425. _spine_transform_constraint_data_set_mix_shear_yPtr
  7426. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7427. double spine_transform_constraint_data_get_offset_rotation(
  7428. spine_transform_constraint_data data,
  7429. ) {
  7430. return _spine_transform_constraint_data_get_offset_rotation(
  7431. data,
  7432. );
  7433. }
  7434. late final _spine_transform_constraint_data_get_offset_rotationPtr = _lookup<
  7435. ffi
  7436. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7437. 'spine_transform_constraint_data_get_offset_rotation');
  7438. late final _spine_transform_constraint_data_get_offset_rotation =
  7439. _spine_transform_constraint_data_get_offset_rotationPtr
  7440. .asFunction<double Function(spine_transform_constraint_data)>();
  7441. void spine_transform_constraint_data_set_offset_rotation(
  7442. spine_transform_constraint_data data,
  7443. double offsetRotation,
  7444. ) {
  7445. return _spine_transform_constraint_data_set_offset_rotation(
  7446. data,
  7447. offsetRotation,
  7448. );
  7449. }
  7450. late final _spine_transform_constraint_data_set_offset_rotationPtr = _lookup<
  7451. ffi.NativeFunction<
  7452. ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>(
  7453. 'spine_transform_constraint_data_set_offset_rotation');
  7454. late final _spine_transform_constraint_data_set_offset_rotation =
  7455. _spine_transform_constraint_data_set_offset_rotationPtr
  7456. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7457. double spine_transform_constraint_data_get_offset_x(
  7458. spine_transform_constraint_data data,
  7459. ) {
  7460. return _spine_transform_constraint_data_get_offset_x(
  7461. data,
  7462. );
  7463. }
  7464. late final _spine_transform_constraint_data_get_offset_xPtr = _lookup<
  7465. ffi
  7466. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7467. 'spine_transform_constraint_data_get_offset_x');
  7468. late final _spine_transform_constraint_data_get_offset_x =
  7469. _spine_transform_constraint_data_get_offset_xPtr
  7470. .asFunction<double Function(spine_transform_constraint_data)>();
  7471. void spine_transform_constraint_data_set_offset_x(
  7472. spine_transform_constraint_data data,
  7473. double offsetX,
  7474. ) {
  7475. return _spine_transform_constraint_data_set_offset_x(
  7476. data,
  7477. offsetX,
  7478. );
  7479. }
  7480. late final _spine_transform_constraint_data_set_offset_xPtr = _lookup<
  7481. ffi.NativeFunction<
  7482. ffi.Void Function(spine_transform_constraint_data,
  7483. ffi.Float)>>('spine_transform_constraint_data_set_offset_x');
  7484. late final _spine_transform_constraint_data_set_offset_x =
  7485. _spine_transform_constraint_data_set_offset_xPtr
  7486. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7487. double spine_transform_constraint_data_get_offset_y(
  7488. spine_transform_constraint_data data,
  7489. ) {
  7490. return _spine_transform_constraint_data_get_offset_y(
  7491. data,
  7492. );
  7493. }
  7494. late final _spine_transform_constraint_data_get_offset_yPtr = _lookup<
  7495. ffi
  7496. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7497. 'spine_transform_constraint_data_get_offset_y');
  7498. late final _spine_transform_constraint_data_get_offset_y =
  7499. _spine_transform_constraint_data_get_offset_yPtr
  7500. .asFunction<double Function(spine_transform_constraint_data)>();
  7501. void spine_transform_constraint_data_set_offset_y(
  7502. spine_transform_constraint_data data,
  7503. double offsetY,
  7504. ) {
  7505. return _spine_transform_constraint_data_set_offset_y(
  7506. data,
  7507. offsetY,
  7508. );
  7509. }
  7510. late final _spine_transform_constraint_data_set_offset_yPtr = _lookup<
  7511. ffi.NativeFunction<
  7512. ffi.Void Function(spine_transform_constraint_data,
  7513. ffi.Float)>>('spine_transform_constraint_data_set_offset_y');
  7514. late final _spine_transform_constraint_data_set_offset_y =
  7515. _spine_transform_constraint_data_set_offset_yPtr
  7516. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7517. double spine_transform_constraint_data_get_offset_scale_x(
  7518. spine_transform_constraint_data data,
  7519. ) {
  7520. return _spine_transform_constraint_data_get_offset_scale_x(
  7521. data,
  7522. );
  7523. }
  7524. late final _spine_transform_constraint_data_get_offset_scale_xPtr = _lookup<
  7525. ffi
  7526. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7527. 'spine_transform_constraint_data_get_offset_scale_x');
  7528. late final _spine_transform_constraint_data_get_offset_scale_x =
  7529. _spine_transform_constraint_data_get_offset_scale_xPtr
  7530. .asFunction<double Function(spine_transform_constraint_data)>();
  7531. void spine_transform_constraint_data_set_offset_scale_x(
  7532. spine_transform_constraint_data data,
  7533. double offsetScaleX,
  7534. ) {
  7535. return _spine_transform_constraint_data_set_offset_scale_x(
  7536. data,
  7537. offsetScaleX,
  7538. );
  7539. }
  7540. late final _spine_transform_constraint_data_set_offset_scale_xPtr = _lookup<
  7541. ffi.NativeFunction<
  7542. ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>(
  7543. 'spine_transform_constraint_data_set_offset_scale_x');
  7544. late final _spine_transform_constraint_data_set_offset_scale_x =
  7545. _spine_transform_constraint_data_set_offset_scale_xPtr
  7546. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7547. double spine_transform_constraint_data_get_offset_scale_y(
  7548. spine_transform_constraint_data data,
  7549. ) {
  7550. return _spine_transform_constraint_data_get_offset_scale_y(
  7551. data,
  7552. );
  7553. }
  7554. late final _spine_transform_constraint_data_get_offset_scale_yPtr = _lookup<
  7555. ffi
  7556. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7557. 'spine_transform_constraint_data_get_offset_scale_y');
  7558. late final _spine_transform_constraint_data_get_offset_scale_y =
  7559. _spine_transform_constraint_data_get_offset_scale_yPtr
  7560. .asFunction<double Function(spine_transform_constraint_data)>();
  7561. void spine_transform_constraint_data_set_offset_scale_y(
  7562. spine_transform_constraint_data data,
  7563. double offsetScaleY,
  7564. ) {
  7565. return _spine_transform_constraint_data_set_offset_scale_y(
  7566. data,
  7567. offsetScaleY,
  7568. );
  7569. }
  7570. late final _spine_transform_constraint_data_set_offset_scale_yPtr = _lookup<
  7571. ffi.NativeFunction<
  7572. ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>(
  7573. 'spine_transform_constraint_data_set_offset_scale_y');
  7574. late final _spine_transform_constraint_data_set_offset_scale_y =
  7575. _spine_transform_constraint_data_set_offset_scale_yPtr
  7576. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7577. double spine_transform_constraint_data_get_offset_shear_y(
  7578. spine_transform_constraint_data data,
  7579. ) {
  7580. return _spine_transform_constraint_data_get_offset_shear_y(
  7581. data,
  7582. );
  7583. }
  7584. late final _spine_transform_constraint_data_get_offset_shear_yPtr = _lookup<
  7585. ffi
  7586. .NativeFunction<ffi.Float Function(spine_transform_constraint_data)>>(
  7587. 'spine_transform_constraint_data_get_offset_shear_y');
  7588. late final _spine_transform_constraint_data_get_offset_shear_y =
  7589. _spine_transform_constraint_data_get_offset_shear_yPtr
  7590. .asFunction<double Function(spine_transform_constraint_data)>();
  7591. void spine_transform_constraint_data_set_offset_shear_y(
  7592. spine_transform_constraint_data data,
  7593. double offsetShearY,
  7594. ) {
  7595. return _spine_transform_constraint_data_set_offset_shear_y(
  7596. data,
  7597. offsetShearY,
  7598. );
  7599. }
  7600. late final _spine_transform_constraint_data_set_offset_shear_yPtr = _lookup<
  7601. ffi.NativeFunction<
  7602. ffi.Void Function(spine_transform_constraint_data, ffi.Float)>>(
  7603. 'spine_transform_constraint_data_set_offset_shear_y');
  7604. late final _spine_transform_constraint_data_set_offset_shear_y =
  7605. _spine_transform_constraint_data_set_offset_shear_yPtr
  7606. .asFunction<void Function(spine_transform_constraint_data, double)>();
  7607. int spine_transform_constraint_data_get_is_relative(
  7608. spine_transform_constraint_data data,
  7609. ) {
  7610. return _spine_transform_constraint_data_get_is_relative(
  7611. data,
  7612. );
  7613. }
  7614. late final _spine_transform_constraint_data_get_is_relativePtr = _lookup<
  7615. ffi.NativeFunction<
  7616. spine_bool Function(spine_transform_constraint_data)>>(
  7617. 'spine_transform_constraint_data_get_is_relative');
  7618. late final _spine_transform_constraint_data_get_is_relative =
  7619. _spine_transform_constraint_data_get_is_relativePtr
  7620. .asFunction<int Function(spine_transform_constraint_data)>();
  7621. void spine_transform_constraint_data_set_is_relative(
  7622. spine_transform_constraint_data data,
  7623. int isRelative,
  7624. ) {
  7625. return _spine_transform_constraint_data_set_is_relative(
  7626. data,
  7627. isRelative,
  7628. );
  7629. }
  7630. late final _spine_transform_constraint_data_set_is_relativePtr = _lookup<
  7631. ffi.NativeFunction<
  7632. ffi.Void Function(spine_transform_constraint_data,
  7633. spine_bool)>>('spine_transform_constraint_data_set_is_relative');
  7634. late final _spine_transform_constraint_data_set_is_relative =
  7635. _spine_transform_constraint_data_set_is_relativePtr
  7636. .asFunction<void Function(spine_transform_constraint_data, int)>();
  7637. int spine_transform_constraint_data_get_is_local(
  7638. spine_transform_constraint_data data,
  7639. ) {
  7640. return _spine_transform_constraint_data_get_is_local(
  7641. data,
  7642. );
  7643. }
  7644. late final _spine_transform_constraint_data_get_is_localPtr = _lookup<
  7645. ffi.NativeFunction<
  7646. spine_bool Function(spine_transform_constraint_data)>>(
  7647. 'spine_transform_constraint_data_get_is_local');
  7648. late final _spine_transform_constraint_data_get_is_local =
  7649. _spine_transform_constraint_data_get_is_localPtr
  7650. .asFunction<int Function(spine_transform_constraint_data)>();
  7651. void spine_transform_constraint_data_set_is_local(
  7652. spine_transform_constraint_data data,
  7653. int isLocal,
  7654. ) {
  7655. return _spine_transform_constraint_data_set_is_local(
  7656. data,
  7657. isLocal,
  7658. );
  7659. }
  7660. late final _spine_transform_constraint_data_set_is_localPtr = _lookup<
  7661. ffi.NativeFunction<
  7662. ffi.Void Function(spine_transform_constraint_data,
  7663. spine_bool)>>('spine_transform_constraint_data_set_is_local');
  7664. late final _spine_transform_constraint_data_set_is_local =
  7665. _spine_transform_constraint_data_set_is_localPtr
  7666. .asFunction<void Function(spine_transform_constraint_data, int)>();
  7667. void spine_transform_constraint_update(
  7668. spine_transform_constraint constraint,
  7669. ) {
  7670. return _spine_transform_constraint_update(
  7671. constraint,
  7672. );
  7673. }
  7674. late final _spine_transform_constraint_updatePtr = _lookup<
  7675. ffi.NativeFunction<ffi.Void Function(spine_transform_constraint)>>(
  7676. 'spine_transform_constraint_update');
  7677. late final _spine_transform_constraint_update =
  7678. _spine_transform_constraint_updatePtr
  7679. .asFunction<void Function(spine_transform_constraint)>();
  7680. int spine_transform_constraint_get_order(
  7681. spine_transform_constraint constraint,
  7682. ) {
  7683. return _spine_transform_constraint_get_order(
  7684. constraint,
  7685. );
  7686. }
  7687. late final _spine_transform_constraint_get_orderPtr = _lookup<
  7688. ffi.NativeFunction<ffi.Int32 Function(spine_transform_constraint)>>(
  7689. 'spine_transform_constraint_get_order');
  7690. late final _spine_transform_constraint_get_order =
  7691. _spine_transform_constraint_get_orderPtr
  7692. .asFunction<int Function(spine_transform_constraint)>();
  7693. spine_transform_constraint_data spine_transform_constraint_get_data(
  7694. spine_transform_constraint constraint,
  7695. ) {
  7696. return _spine_transform_constraint_get_data(
  7697. constraint,
  7698. );
  7699. }
  7700. late final _spine_transform_constraint_get_dataPtr = _lookup<
  7701. ffi.NativeFunction<
  7702. spine_transform_constraint_data Function(
  7703. spine_transform_constraint)>>(
  7704. 'spine_transform_constraint_get_data');
  7705. late final _spine_transform_constraint_get_data =
  7706. _spine_transform_constraint_get_dataPtr.asFunction<
  7707. spine_transform_constraint_data Function(
  7708. spine_transform_constraint)>();
  7709. int spine_transform_constraint_get_num_bones(
  7710. spine_transform_constraint constraint,
  7711. ) {
  7712. return _spine_transform_constraint_get_num_bones(
  7713. constraint,
  7714. );
  7715. }
  7716. late final _spine_transform_constraint_get_num_bonesPtr = _lookup<
  7717. ffi.NativeFunction<ffi.Int32 Function(spine_transform_constraint)>>(
  7718. 'spine_transform_constraint_get_num_bones');
  7719. late final _spine_transform_constraint_get_num_bones =
  7720. _spine_transform_constraint_get_num_bonesPtr
  7721. .asFunction<int Function(spine_transform_constraint)>();
  7722. ffi.Pointer<spine_bone> spine_transform_constraint_get_bones(
  7723. spine_transform_constraint constraint,
  7724. ) {
  7725. return _spine_transform_constraint_get_bones(
  7726. constraint,
  7727. );
  7728. }
  7729. late final _spine_transform_constraint_get_bonesPtr = _lookup<
  7730. ffi.NativeFunction<
  7731. ffi.Pointer<spine_bone> Function(spine_transform_constraint)>>(
  7732. 'spine_transform_constraint_get_bones');
  7733. late final _spine_transform_constraint_get_bones =
  7734. _spine_transform_constraint_get_bonesPtr.asFunction<
  7735. ffi.Pointer<spine_bone> Function(spine_transform_constraint)>();
  7736. spine_bone spine_transform_constraint_get_target(
  7737. spine_transform_constraint constraint,
  7738. ) {
  7739. return _spine_transform_constraint_get_target(
  7740. constraint,
  7741. );
  7742. }
  7743. late final _spine_transform_constraint_get_targetPtr = _lookup<
  7744. ffi.NativeFunction<spine_bone Function(spine_transform_constraint)>>(
  7745. 'spine_transform_constraint_get_target');
  7746. late final _spine_transform_constraint_get_target =
  7747. _spine_transform_constraint_get_targetPtr
  7748. .asFunction<spine_bone Function(spine_transform_constraint)>();
  7749. void spine_transform_constraint_set_target(
  7750. spine_transform_constraint constraint,
  7751. spine_bone target,
  7752. ) {
  7753. return _spine_transform_constraint_set_target(
  7754. constraint,
  7755. target,
  7756. );
  7757. }
  7758. late final _spine_transform_constraint_set_targetPtr = _lookup<
  7759. ffi.NativeFunction<
  7760. ffi.Void Function(spine_transform_constraint,
  7761. spine_bone)>>('spine_transform_constraint_set_target');
  7762. late final _spine_transform_constraint_set_target =
  7763. _spine_transform_constraint_set_targetPtr
  7764. .asFunction<void Function(spine_transform_constraint, spine_bone)>();
  7765. double spine_transform_constraint_get_mix_rotate(
  7766. spine_transform_constraint constraint,
  7767. ) {
  7768. return _spine_transform_constraint_get_mix_rotate(
  7769. constraint,
  7770. );
  7771. }
  7772. late final _spine_transform_constraint_get_mix_rotatePtr = _lookup<
  7773. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7774. 'spine_transform_constraint_get_mix_rotate');
  7775. late final _spine_transform_constraint_get_mix_rotate =
  7776. _spine_transform_constraint_get_mix_rotatePtr
  7777. .asFunction<double Function(spine_transform_constraint)>();
  7778. void spine_transform_constraint_set_mix_rotate(
  7779. spine_transform_constraint constraint,
  7780. double mixRotate,
  7781. ) {
  7782. return _spine_transform_constraint_set_mix_rotate(
  7783. constraint,
  7784. mixRotate,
  7785. );
  7786. }
  7787. late final _spine_transform_constraint_set_mix_rotatePtr = _lookup<
  7788. ffi.NativeFunction<
  7789. ffi.Void Function(spine_transform_constraint,
  7790. ffi.Float)>>('spine_transform_constraint_set_mix_rotate');
  7791. late final _spine_transform_constraint_set_mix_rotate =
  7792. _spine_transform_constraint_set_mix_rotatePtr
  7793. .asFunction<void Function(spine_transform_constraint, double)>();
  7794. double spine_transform_constraint_get_mix_x(
  7795. spine_transform_constraint constraint,
  7796. ) {
  7797. return _spine_transform_constraint_get_mix_x(
  7798. constraint,
  7799. );
  7800. }
  7801. late final _spine_transform_constraint_get_mix_xPtr = _lookup<
  7802. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7803. 'spine_transform_constraint_get_mix_x');
  7804. late final _spine_transform_constraint_get_mix_x =
  7805. _spine_transform_constraint_get_mix_xPtr
  7806. .asFunction<double Function(spine_transform_constraint)>();
  7807. void spine_transform_constraint_set_mix_x(
  7808. spine_transform_constraint constraint,
  7809. double mixX,
  7810. ) {
  7811. return _spine_transform_constraint_set_mix_x(
  7812. constraint,
  7813. mixX,
  7814. );
  7815. }
  7816. late final _spine_transform_constraint_set_mix_xPtr = _lookup<
  7817. ffi.NativeFunction<
  7818. ffi.Void Function(spine_transform_constraint,
  7819. ffi.Float)>>('spine_transform_constraint_set_mix_x');
  7820. late final _spine_transform_constraint_set_mix_x =
  7821. _spine_transform_constraint_set_mix_xPtr
  7822. .asFunction<void Function(spine_transform_constraint, double)>();
  7823. double spine_transform_constraint_get_mix_y(
  7824. spine_transform_constraint constraint,
  7825. ) {
  7826. return _spine_transform_constraint_get_mix_y(
  7827. constraint,
  7828. );
  7829. }
  7830. late final _spine_transform_constraint_get_mix_yPtr = _lookup<
  7831. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7832. 'spine_transform_constraint_get_mix_y');
  7833. late final _spine_transform_constraint_get_mix_y =
  7834. _spine_transform_constraint_get_mix_yPtr
  7835. .asFunction<double Function(spine_transform_constraint)>();
  7836. void spine_transform_constraint_set_mix_y(
  7837. spine_transform_constraint constraint,
  7838. double mixY,
  7839. ) {
  7840. return _spine_transform_constraint_set_mix_y(
  7841. constraint,
  7842. mixY,
  7843. );
  7844. }
  7845. late final _spine_transform_constraint_set_mix_yPtr = _lookup<
  7846. ffi.NativeFunction<
  7847. ffi.Void Function(spine_transform_constraint,
  7848. ffi.Float)>>('spine_transform_constraint_set_mix_y');
  7849. late final _spine_transform_constraint_set_mix_y =
  7850. _spine_transform_constraint_set_mix_yPtr
  7851. .asFunction<void Function(spine_transform_constraint, double)>();
  7852. double spine_transform_constraint_get_mix_scale_x(
  7853. spine_transform_constraint constraint,
  7854. ) {
  7855. return _spine_transform_constraint_get_mix_scale_x(
  7856. constraint,
  7857. );
  7858. }
  7859. late final _spine_transform_constraint_get_mix_scale_xPtr = _lookup<
  7860. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7861. 'spine_transform_constraint_get_mix_scale_x');
  7862. late final _spine_transform_constraint_get_mix_scale_x =
  7863. _spine_transform_constraint_get_mix_scale_xPtr
  7864. .asFunction<double Function(spine_transform_constraint)>();
  7865. void spine_transform_constraint_set_mix_scale_x(
  7866. spine_transform_constraint constraint,
  7867. double mixScaleX,
  7868. ) {
  7869. return _spine_transform_constraint_set_mix_scale_x(
  7870. constraint,
  7871. mixScaleX,
  7872. );
  7873. }
  7874. late final _spine_transform_constraint_set_mix_scale_xPtr = _lookup<
  7875. ffi.NativeFunction<
  7876. ffi.Void Function(spine_transform_constraint,
  7877. ffi.Float)>>('spine_transform_constraint_set_mix_scale_x');
  7878. late final _spine_transform_constraint_set_mix_scale_x =
  7879. _spine_transform_constraint_set_mix_scale_xPtr
  7880. .asFunction<void Function(spine_transform_constraint, double)>();
  7881. double spine_transform_constraint_get_mix_scale_y(
  7882. spine_transform_constraint constraint,
  7883. ) {
  7884. return _spine_transform_constraint_get_mix_scale_y(
  7885. constraint,
  7886. );
  7887. }
  7888. late final _spine_transform_constraint_get_mix_scale_yPtr = _lookup<
  7889. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7890. 'spine_transform_constraint_get_mix_scale_y');
  7891. late final _spine_transform_constraint_get_mix_scale_y =
  7892. _spine_transform_constraint_get_mix_scale_yPtr
  7893. .asFunction<double Function(spine_transform_constraint)>();
  7894. void spine_transform_constraint_set_mix_scale_y(
  7895. spine_transform_constraint constraint,
  7896. double mixScaleY,
  7897. ) {
  7898. return _spine_transform_constraint_set_mix_scale_y(
  7899. constraint,
  7900. mixScaleY,
  7901. );
  7902. }
  7903. late final _spine_transform_constraint_set_mix_scale_yPtr = _lookup<
  7904. ffi.NativeFunction<
  7905. ffi.Void Function(spine_transform_constraint,
  7906. ffi.Float)>>('spine_transform_constraint_set_mix_scale_y');
  7907. late final _spine_transform_constraint_set_mix_scale_y =
  7908. _spine_transform_constraint_set_mix_scale_yPtr
  7909. .asFunction<void Function(spine_transform_constraint, double)>();
  7910. double spine_transform_constraint_get_mix_shear_y(
  7911. spine_transform_constraint constraint,
  7912. ) {
  7913. return _spine_transform_constraint_get_mix_shear_y(
  7914. constraint,
  7915. );
  7916. }
  7917. late final _spine_transform_constraint_get_mix_shear_yPtr = _lookup<
  7918. ffi.NativeFunction<ffi.Float Function(spine_transform_constraint)>>(
  7919. 'spine_transform_constraint_get_mix_shear_y');
  7920. late final _spine_transform_constraint_get_mix_shear_y =
  7921. _spine_transform_constraint_get_mix_shear_yPtr
  7922. .asFunction<double Function(spine_transform_constraint)>();
  7923. void spine_transform_constraint_set_mix_shear_y(
  7924. spine_transform_constraint constraint,
  7925. double mixShearY,
  7926. ) {
  7927. return _spine_transform_constraint_set_mix_shear_y(
  7928. constraint,
  7929. mixShearY,
  7930. );
  7931. }
  7932. late final _spine_transform_constraint_set_mix_shear_yPtr = _lookup<
  7933. ffi.NativeFunction<
  7934. ffi.Void Function(spine_transform_constraint,
  7935. ffi.Float)>>('spine_transform_constraint_set_mix_shear_y');
  7936. late final _spine_transform_constraint_set_mix_shear_y =
  7937. _spine_transform_constraint_set_mix_shear_yPtr
  7938. .asFunction<void Function(spine_transform_constraint, double)>();
  7939. int spine_transform_constraint_get_is_active(
  7940. spine_transform_constraint constraint,
  7941. ) {
  7942. return _spine_transform_constraint_get_is_active(
  7943. constraint,
  7944. );
  7945. }
  7946. late final _spine_transform_constraint_get_is_activePtr = _lookup<
  7947. ffi.NativeFunction<spine_bool Function(spine_transform_constraint)>>(
  7948. 'spine_transform_constraint_get_is_active');
  7949. late final _spine_transform_constraint_get_is_active =
  7950. _spine_transform_constraint_get_is_activePtr
  7951. .asFunction<int Function(spine_transform_constraint)>();
  7952. void spine_transform_constraint_set_is_active(
  7953. spine_transform_constraint constraint,
  7954. int isActive,
  7955. ) {
  7956. return _spine_transform_constraint_set_is_active(
  7957. constraint,
  7958. isActive,
  7959. );
  7960. }
  7961. late final _spine_transform_constraint_set_is_activePtr = _lookup<
  7962. ffi.NativeFunction<
  7963. ffi.Void Function(spine_transform_constraint,
  7964. spine_bool)>>('spine_transform_constraint_set_is_active');
  7965. late final _spine_transform_constraint_set_is_active =
  7966. _spine_transform_constraint_set_is_activePtr
  7967. .asFunction<void Function(spine_transform_constraint, int)>();
  7968. /// OMITTED setToSetupPose()
  7969. int spine_path_constraint_data_get_num_bones(
  7970. spine_path_constraint_data data,
  7971. ) {
  7972. return _spine_path_constraint_data_get_num_bones(
  7973. data,
  7974. );
  7975. }
  7976. late final _spine_path_constraint_data_get_num_bonesPtr = _lookup<
  7977. ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint_data)>>(
  7978. 'spine_path_constraint_data_get_num_bones');
  7979. late final _spine_path_constraint_data_get_num_bones =
  7980. _spine_path_constraint_data_get_num_bonesPtr
  7981. .asFunction<int Function(spine_path_constraint_data)>();
  7982. ffi.Pointer<spine_bone_data> spine_path_constraint_data_get_bones(
  7983. spine_path_constraint_data data,
  7984. ) {
  7985. return _spine_path_constraint_data_get_bones(
  7986. data,
  7987. );
  7988. }
  7989. late final _spine_path_constraint_data_get_bonesPtr = _lookup<
  7990. ffi.NativeFunction<
  7991. ffi.Pointer<spine_bone_data> Function(
  7992. spine_path_constraint_data)>>(
  7993. 'spine_path_constraint_data_get_bones');
  7994. late final _spine_path_constraint_data_get_bones =
  7995. _spine_path_constraint_data_get_bonesPtr.asFunction<
  7996. ffi.Pointer<spine_bone_data> Function(spine_path_constraint_data)>();
  7997. spine_slot_data spine_path_constraint_data_get_target(
  7998. spine_path_constraint_data data,
  7999. ) {
  8000. return _spine_path_constraint_data_get_target(
  8001. data,
  8002. );
  8003. }
  8004. late final _spine_path_constraint_data_get_targetPtr = _lookup<
  8005. ffi.NativeFunction<
  8006. spine_slot_data Function(spine_path_constraint_data)>>(
  8007. 'spine_path_constraint_data_get_target');
  8008. late final _spine_path_constraint_data_get_target =
  8009. _spine_path_constraint_data_get_targetPtr
  8010. .asFunction<spine_slot_data Function(spine_path_constraint_data)>();
  8011. void spine_path_constraint_data_set_target(
  8012. spine_path_constraint_data data,
  8013. spine_slot_data target,
  8014. ) {
  8015. return _spine_path_constraint_data_set_target(
  8016. data,
  8017. target,
  8018. );
  8019. }
  8020. late final _spine_path_constraint_data_set_targetPtr = _lookup<
  8021. ffi.NativeFunction<
  8022. ffi.Void Function(spine_path_constraint_data,
  8023. spine_slot_data)>>('spine_path_constraint_data_set_target');
  8024. late final _spine_path_constraint_data_set_target =
  8025. _spine_path_constraint_data_set_targetPtr.asFunction<
  8026. void Function(spine_path_constraint_data, spine_slot_data)>();
  8027. int spine_path_constraint_data_get_position_mode(
  8028. spine_path_constraint_data data,
  8029. ) {
  8030. return _spine_path_constraint_data_get_position_mode(
  8031. data,
  8032. );
  8033. }
  8034. late final _spine_path_constraint_data_get_position_modePtr = _lookup<
  8035. ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint_data)>>(
  8036. 'spine_path_constraint_data_get_position_mode');
  8037. late final _spine_path_constraint_data_get_position_mode =
  8038. _spine_path_constraint_data_get_position_modePtr
  8039. .asFunction<int Function(spine_path_constraint_data)>();
  8040. void spine_path_constraint_data_set_position_mode(
  8041. spine_path_constraint_data data,
  8042. int positionMode,
  8043. ) {
  8044. return _spine_path_constraint_data_set_position_mode(
  8045. data,
  8046. positionMode,
  8047. );
  8048. }
  8049. late final _spine_path_constraint_data_set_position_modePtr = _lookup<
  8050. ffi.NativeFunction<
  8051. ffi.Void Function(spine_path_constraint_data,
  8052. ffi.Int32)>>('spine_path_constraint_data_set_position_mode');
  8053. late final _spine_path_constraint_data_set_position_mode =
  8054. _spine_path_constraint_data_set_position_modePtr
  8055. .asFunction<void Function(spine_path_constraint_data, int)>();
  8056. int spine_path_constraint_data_get_spacing_mode(
  8057. spine_path_constraint_data data,
  8058. ) {
  8059. return _spine_path_constraint_data_get_spacing_mode(
  8060. data,
  8061. );
  8062. }
  8063. late final _spine_path_constraint_data_get_spacing_modePtr = _lookup<
  8064. ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint_data)>>(
  8065. 'spine_path_constraint_data_get_spacing_mode');
  8066. late final _spine_path_constraint_data_get_spacing_mode =
  8067. _spine_path_constraint_data_get_spacing_modePtr
  8068. .asFunction<int Function(spine_path_constraint_data)>();
  8069. void spine_path_constraint_data_set_spacing_mode(
  8070. spine_path_constraint_data data,
  8071. int spacingMode,
  8072. ) {
  8073. return _spine_path_constraint_data_set_spacing_mode(
  8074. data,
  8075. spacingMode,
  8076. );
  8077. }
  8078. late final _spine_path_constraint_data_set_spacing_modePtr = _lookup<
  8079. ffi.NativeFunction<
  8080. ffi.Void Function(spine_path_constraint_data,
  8081. ffi.Int32)>>('spine_path_constraint_data_set_spacing_mode');
  8082. late final _spine_path_constraint_data_set_spacing_mode =
  8083. _spine_path_constraint_data_set_spacing_modePtr
  8084. .asFunction<void Function(spine_path_constraint_data, int)>();
  8085. int spine_path_constraint_data_get_rotate_mode(
  8086. spine_path_constraint_data data,
  8087. ) {
  8088. return _spine_path_constraint_data_get_rotate_mode(
  8089. data,
  8090. );
  8091. }
  8092. late final _spine_path_constraint_data_get_rotate_modePtr = _lookup<
  8093. ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint_data)>>(
  8094. 'spine_path_constraint_data_get_rotate_mode');
  8095. late final _spine_path_constraint_data_get_rotate_mode =
  8096. _spine_path_constraint_data_get_rotate_modePtr
  8097. .asFunction<int Function(spine_path_constraint_data)>();
  8098. void spine_path_constraint_data_set_rotate_mode(
  8099. spine_path_constraint_data data,
  8100. int rotateMode,
  8101. ) {
  8102. return _spine_path_constraint_data_set_rotate_mode(
  8103. data,
  8104. rotateMode,
  8105. );
  8106. }
  8107. late final _spine_path_constraint_data_set_rotate_modePtr = _lookup<
  8108. ffi.NativeFunction<
  8109. ffi.Void Function(spine_path_constraint_data,
  8110. ffi.Int32)>>('spine_path_constraint_data_set_rotate_mode');
  8111. late final _spine_path_constraint_data_set_rotate_mode =
  8112. _spine_path_constraint_data_set_rotate_modePtr
  8113. .asFunction<void Function(spine_path_constraint_data, int)>();
  8114. double spine_path_constraint_data_get_offset_rotation(
  8115. spine_path_constraint_data data,
  8116. ) {
  8117. return _spine_path_constraint_data_get_offset_rotation(
  8118. data,
  8119. );
  8120. }
  8121. late final _spine_path_constraint_data_get_offset_rotationPtr = _lookup<
  8122. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8123. 'spine_path_constraint_data_get_offset_rotation');
  8124. late final _spine_path_constraint_data_get_offset_rotation =
  8125. _spine_path_constraint_data_get_offset_rotationPtr
  8126. .asFunction<double Function(spine_path_constraint_data)>();
  8127. void spine_path_constraint_data_set_offset_rotation(
  8128. spine_path_constraint_data data,
  8129. double offsetRotation,
  8130. ) {
  8131. return _spine_path_constraint_data_set_offset_rotation(
  8132. data,
  8133. offsetRotation,
  8134. );
  8135. }
  8136. late final _spine_path_constraint_data_set_offset_rotationPtr = _lookup<
  8137. ffi.NativeFunction<
  8138. ffi.Void Function(spine_path_constraint_data,
  8139. ffi.Float)>>('spine_path_constraint_data_set_offset_rotation');
  8140. late final _spine_path_constraint_data_set_offset_rotation =
  8141. _spine_path_constraint_data_set_offset_rotationPtr
  8142. .asFunction<void Function(spine_path_constraint_data, double)>();
  8143. double spine_path_constraint_data_get_position(
  8144. spine_path_constraint_data data,
  8145. ) {
  8146. return _spine_path_constraint_data_get_position(
  8147. data,
  8148. );
  8149. }
  8150. late final _spine_path_constraint_data_get_positionPtr = _lookup<
  8151. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8152. 'spine_path_constraint_data_get_position');
  8153. late final _spine_path_constraint_data_get_position =
  8154. _spine_path_constraint_data_get_positionPtr
  8155. .asFunction<double Function(spine_path_constraint_data)>();
  8156. void spine_path_constraint_data_set_position(
  8157. spine_path_constraint_data data,
  8158. double position,
  8159. ) {
  8160. return _spine_path_constraint_data_set_position(
  8161. data,
  8162. position,
  8163. );
  8164. }
  8165. late final _spine_path_constraint_data_set_positionPtr = _lookup<
  8166. ffi.NativeFunction<
  8167. ffi.Void Function(spine_path_constraint_data,
  8168. ffi.Float)>>('spine_path_constraint_data_set_position');
  8169. late final _spine_path_constraint_data_set_position =
  8170. _spine_path_constraint_data_set_positionPtr
  8171. .asFunction<void Function(spine_path_constraint_data, double)>();
  8172. double spine_path_constraint_data_get_spacing(
  8173. spine_path_constraint_data data,
  8174. ) {
  8175. return _spine_path_constraint_data_get_spacing(
  8176. data,
  8177. );
  8178. }
  8179. late final _spine_path_constraint_data_get_spacingPtr = _lookup<
  8180. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8181. 'spine_path_constraint_data_get_spacing');
  8182. late final _spine_path_constraint_data_get_spacing =
  8183. _spine_path_constraint_data_get_spacingPtr
  8184. .asFunction<double Function(spine_path_constraint_data)>();
  8185. void spine_path_constraint_data_set_spacing(
  8186. spine_path_constraint_data data,
  8187. double spacing,
  8188. ) {
  8189. return _spine_path_constraint_data_set_spacing(
  8190. data,
  8191. spacing,
  8192. );
  8193. }
  8194. late final _spine_path_constraint_data_set_spacingPtr = _lookup<
  8195. ffi.NativeFunction<
  8196. ffi.Void Function(spine_path_constraint_data,
  8197. ffi.Float)>>('spine_path_constraint_data_set_spacing');
  8198. late final _spine_path_constraint_data_set_spacing =
  8199. _spine_path_constraint_data_set_spacingPtr
  8200. .asFunction<void Function(spine_path_constraint_data, double)>();
  8201. double spine_path_constraint_data_get_mix_rotate(
  8202. spine_path_constraint_data data,
  8203. ) {
  8204. return _spine_path_constraint_data_get_mix_rotate(
  8205. data,
  8206. );
  8207. }
  8208. late final _spine_path_constraint_data_get_mix_rotatePtr = _lookup<
  8209. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8210. 'spine_path_constraint_data_get_mix_rotate');
  8211. late final _spine_path_constraint_data_get_mix_rotate =
  8212. _spine_path_constraint_data_get_mix_rotatePtr
  8213. .asFunction<double Function(spine_path_constraint_data)>();
  8214. void spine_path_constraint_data_set_mix_rotate(
  8215. spine_path_constraint_data data,
  8216. double mixRotate,
  8217. ) {
  8218. return _spine_path_constraint_data_set_mix_rotate(
  8219. data,
  8220. mixRotate,
  8221. );
  8222. }
  8223. late final _spine_path_constraint_data_set_mix_rotatePtr = _lookup<
  8224. ffi.NativeFunction<
  8225. ffi.Void Function(spine_path_constraint_data,
  8226. ffi.Float)>>('spine_path_constraint_data_set_mix_rotate');
  8227. late final _spine_path_constraint_data_set_mix_rotate =
  8228. _spine_path_constraint_data_set_mix_rotatePtr
  8229. .asFunction<void Function(spine_path_constraint_data, double)>();
  8230. double spine_path_constraint_data_get_mix_x(
  8231. spine_path_constraint_data data,
  8232. ) {
  8233. return _spine_path_constraint_data_get_mix_x(
  8234. data,
  8235. );
  8236. }
  8237. late final _spine_path_constraint_data_get_mix_xPtr = _lookup<
  8238. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8239. 'spine_path_constraint_data_get_mix_x');
  8240. late final _spine_path_constraint_data_get_mix_x =
  8241. _spine_path_constraint_data_get_mix_xPtr
  8242. .asFunction<double Function(spine_path_constraint_data)>();
  8243. void spine_path_constraint_data_set_mix_x(
  8244. spine_path_constraint_data data,
  8245. double mixX,
  8246. ) {
  8247. return _spine_path_constraint_data_set_mix_x(
  8248. data,
  8249. mixX,
  8250. );
  8251. }
  8252. late final _spine_path_constraint_data_set_mix_xPtr = _lookup<
  8253. ffi.NativeFunction<
  8254. ffi.Void Function(spine_path_constraint_data,
  8255. ffi.Float)>>('spine_path_constraint_data_set_mix_x');
  8256. late final _spine_path_constraint_data_set_mix_x =
  8257. _spine_path_constraint_data_set_mix_xPtr
  8258. .asFunction<void Function(spine_path_constraint_data, double)>();
  8259. double spine_path_constraint_data_get_mix_y(
  8260. spine_path_constraint_data data,
  8261. ) {
  8262. return _spine_path_constraint_data_get_mix_y(
  8263. data,
  8264. );
  8265. }
  8266. late final _spine_path_constraint_data_get_mix_yPtr = _lookup<
  8267. ffi.NativeFunction<ffi.Float Function(spine_path_constraint_data)>>(
  8268. 'spine_path_constraint_data_get_mix_y');
  8269. late final _spine_path_constraint_data_get_mix_y =
  8270. _spine_path_constraint_data_get_mix_yPtr
  8271. .asFunction<double Function(spine_path_constraint_data)>();
  8272. void spine_path_constraint_data_set_mix_y(
  8273. spine_path_constraint_data data,
  8274. double mixY,
  8275. ) {
  8276. return _spine_path_constraint_data_set_mix_y(
  8277. data,
  8278. mixY,
  8279. );
  8280. }
  8281. late final _spine_path_constraint_data_set_mix_yPtr = _lookup<
  8282. ffi.NativeFunction<
  8283. ffi.Void Function(spine_path_constraint_data,
  8284. ffi.Float)>>('spine_path_constraint_data_set_mix_y');
  8285. late final _spine_path_constraint_data_set_mix_y =
  8286. _spine_path_constraint_data_set_mix_yPtr
  8287. .asFunction<void Function(spine_path_constraint_data, double)>();
  8288. void spine_path_constraint_update(
  8289. spine_path_constraint constraint,
  8290. ) {
  8291. return _spine_path_constraint_update(
  8292. constraint,
  8293. );
  8294. }
  8295. late final _spine_path_constraint_updatePtr =
  8296. _lookup<ffi.NativeFunction<ffi.Void Function(spine_path_constraint)>>(
  8297. 'spine_path_constraint_update');
  8298. late final _spine_path_constraint_update = _spine_path_constraint_updatePtr
  8299. .asFunction<void Function(spine_path_constraint)>();
  8300. int spine_path_constraint_get_order(
  8301. spine_path_constraint constraint,
  8302. ) {
  8303. return _spine_path_constraint_get_order(
  8304. constraint,
  8305. );
  8306. }
  8307. late final _spine_path_constraint_get_orderPtr =
  8308. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint)>>(
  8309. 'spine_path_constraint_get_order');
  8310. late final _spine_path_constraint_get_order =
  8311. _spine_path_constraint_get_orderPtr
  8312. .asFunction<int Function(spine_path_constraint)>();
  8313. spine_path_constraint_data spine_path_constraint_get_data(
  8314. spine_path_constraint constraint,
  8315. ) {
  8316. return _spine_path_constraint_get_data(
  8317. constraint,
  8318. );
  8319. }
  8320. late final _spine_path_constraint_get_dataPtr = _lookup<
  8321. ffi.NativeFunction<
  8322. spine_path_constraint_data Function(
  8323. spine_path_constraint)>>('spine_path_constraint_get_data');
  8324. late final _spine_path_constraint_get_data =
  8325. _spine_path_constraint_get_dataPtr.asFunction<
  8326. spine_path_constraint_data Function(spine_path_constraint)>();
  8327. int spine_path_constraint_get_num_bones(
  8328. spine_path_constraint constraint,
  8329. ) {
  8330. return _spine_path_constraint_get_num_bones(
  8331. constraint,
  8332. );
  8333. }
  8334. late final _spine_path_constraint_get_num_bonesPtr =
  8335. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_path_constraint)>>(
  8336. 'spine_path_constraint_get_num_bones');
  8337. late final _spine_path_constraint_get_num_bones =
  8338. _spine_path_constraint_get_num_bonesPtr
  8339. .asFunction<int Function(spine_path_constraint)>();
  8340. ffi.Pointer<spine_bone> spine_path_constraint_get_bones(
  8341. spine_path_constraint constraint,
  8342. ) {
  8343. return _spine_path_constraint_get_bones(
  8344. constraint,
  8345. );
  8346. }
  8347. late final _spine_path_constraint_get_bonesPtr = _lookup<
  8348. ffi.NativeFunction<
  8349. ffi.Pointer<spine_bone> Function(
  8350. spine_path_constraint)>>('spine_path_constraint_get_bones');
  8351. late final _spine_path_constraint_get_bones =
  8352. _spine_path_constraint_get_bonesPtr.asFunction<
  8353. ffi.Pointer<spine_bone> Function(spine_path_constraint)>();
  8354. spine_slot spine_path_constraint_get_target(
  8355. spine_path_constraint constraint,
  8356. ) {
  8357. return _spine_path_constraint_get_target(
  8358. constraint,
  8359. );
  8360. }
  8361. late final _spine_path_constraint_get_targetPtr =
  8362. _lookup<ffi.NativeFunction<spine_slot Function(spine_path_constraint)>>(
  8363. 'spine_path_constraint_get_target');
  8364. late final _spine_path_constraint_get_target =
  8365. _spine_path_constraint_get_targetPtr
  8366. .asFunction<spine_slot Function(spine_path_constraint)>();
  8367. void spine_path_constraint_set_target(
  8368. spine_path_constraint constraint,
  8369. spine_slot target,
  8370. ) {
  8371. return _spine_path_constraint_set_target(
  8372. constraint,
  8373. target,
  8374. );
  8375. }
  8376. late final _spine_path_constraint_set_targetPtr = _lookup<
  8377. ffi.NativeFunction<
  8378. ffi.Void Function(spine_path_constraint,
  8379. spine_slot)>>('spine_path_constraint_set_target');
  8380. late final _spine_path_constraint_set_target =
  8381. _spine_path_constraint_set_targetPtr
  8382. .asFunction<void Function(spine_path_constraint, spine_slot)>();
  8383. double spine_path_constraint_get_position(
  8384. spine_path_constraint constraint,
  8385. ) {
  8386. return _spine_path_constraint_get_position(
  8387. constraint,
  8388. );
  8389. }
  8390. late final _spine_path_constraint_get_positionPtr =
  8391. _lookup<ffi.NativeFunction<ffi.Float Function(spine_path_constraint)>>(
  8392. 'spine_path_constraint_get_position');
  8393. late final _spine_path_constraint_get_position =
  8394. _spine_path_constraint_get_positionPtr
  8395. .asFunction<double Function(spine_path_constraint)>();
  8396. void spine_path_constraint_set_position(
  8397. spine_path_constraint constraint,
  8398. double position,
  8399. ) {
  8400. return _spine_path_constraint_set_position(
  8401. constraint,
  8402. position,
  8403. );
  8404. }
  8405. late final _spine_path_constraint_set_positionPtr = _lookup<
  8406. ffi
  8407. .NativeFunction<ffi.Void Function(spine_path_constraint, ffi.Float)>>(
  8408. 'spine_path_constraint_set_position');
  8409. late final _spine_path_constraint_set_position =
  8410. _spine_path_constraint_set_positionPtr
  8411. .asFunction<void Function(spine_path_constraint, double)>();
  8412. double spine_path_constraint_get_spacing(
  8413. spine_path_constraint constraint,
  8414. ) {
  8415. return _spine_path_constraint_get_spacing(
  8416. constraint,
  8417. );
  8418. }
  8419. late final _spine_path_constraint_get_spacingPtr =
  8420. _lookup<ffi.NativeFunction<ffi.Float Function(spine_path_constraint)>>(
  8421. 'spine_path_constraint_get_spacing');
  8422. late final _spine_path_constraint_get_spacing =
  8423. _spine_path_constraint_get_spacingPtr
  8424. .asFunction<double Function(spine_path_constraint)>();
  8425. void spine_path_constraint_set_spacing(
  8426. spine_path_constraint constraint,
  8427. double spacing,
  8428. ) {
  8429. return _spine_path_constraint_set_spacing(
  8430. constraint,
  8431. spacing,
  8432. );
  8433. }
  8434. late final _spine_path_constraint_set_spacingPtr = _lookup<
  8435. ffi
  8436. .NativeFunction<ffi.Void Function(spine_path_constraint, ffi.Float)>>(
  8437. 'spine_path_constraint_set_spacing');
  8438. late final _spine_path_constraint_set_spacing =
  8439. _spine_path_constraint_set_spacingPtr
  8440. .asFunction<void Function(spine_path_constraint, double)>();
  8441. double spine_path_constraint_get_mix_rotate(
  8442. spine_path_constraint constraint,
  8443. ) {
  8444. return _spine_path_constraint_get_mix_rotate(
  8445. constraint,
  8446. );
  8447. }
  8448. late final _spine_path_constraint_get_mix_rotatePtr =
  8449. _lookup<ffi.NativeFunction<ffi.Float Function(spine_path_constraint)>>(
  8450. 'spine_path_constraint_get_mix_rotate');
  8451. late final _spine_path_constraint_get_mix_rotate =
  8452. _spine_path_constraint_get_mix_rotatePtr
  8453. .asFunction<double Function(spine_path_constraint)>();
  8454. void spine_path_constraint_set_mix_rotate(
  8455. spine_path_constraint constraint,
  8456. double mixRotate,
  8457. ) {
  8458. return _spine_path_constraint_set_mix_rotate(
  8459. constraint,
  8460. mixRotate,
  8461. );
  8462. }
  8463. late final _spine_path_constraint_set_mix_rotatePtr = _lookup<
  8464. ffi
  8465. .NativeFunction<ffi.Void Function(spine_path_constraint, ffi.Float)>>(
  8466. 'spine_path_constraint_set_mix_rotate');
  8467. late final _spine_path_constraint_set_mix_rotate =
  8468. _spine_path_constraint_set_mix_rotatePtr
  8469. .asFunction<void Function(spine_path_constraint, double)>();
  8470. double spine_path_constraint_get_mix_x(
  8471. spine_path_constraint constraint,
  8472. ) {
  8473. return _spine_path_constraint_get_mix_x(
  8474. constraint,
  8475. );
  8476. }
  8477. late final _spine_path_constraint_get_mix_xPtr =
  8478. _lookup<ffi.NativeFunction<ffi.Float Function(spine_path_constraint)>>(
  8479. 'spine_path_constraint_get_mix_x');
  8480. late final _spine_path_constraint_get_mix_x =
  8481. _spine_path_constraint_get_mix_xPtr
  8482. .asFunction<double Function(spine_path_constraint)>();
  8483. void spine_path_constraint_set_mix_x(
  8484. spine_path_constraint constraint,
  8485. double mixX,
  8486. ) {
  8487. return _spine_path_constraint_set_mix_x(
  8488. constraint,
  8489. mixX,
  8490. );
  8491. }
  8492. late final _spine_path_constraint_set_mix_xPtr = _lookup<
  8493. ffi
  8494. .NativeFunction<ffi.Void Function(spine_path_constraint, ffi.Float)>>(
  8495. 'spine_path_constraint_set_mix_x');
  8496. late final _spine_path_constraint_set_mix_x =
  8497. _spine_path_constraint_set_mix_xPtr
  8498. .asFunction<void Function(spine_path_constraint, double)>();
  8499. double spine_path_constraint_get_mix_y(
  8500. spine_path_constraint constraint,
  8501. ) {
  8502. return _spine_path_constraint_get_mix_y(
  8503. constraint,
  8504. );
  8505. }
  8506. late final _spine_path_constraint_get_mix_yPtr =
  8507. _lookup<ffi.NativeFunction<ffi.Float Function(spine_path_constraint)>>(
  8508. 'spine_path_constraint_get_mix_y');
  8509. late final _spine_path_constraint_get_mix_y =
  8510. _spine_path_constraint_get_mix_yPtr
  8511. .asFunction<double Function(spine_path_constraint)>();
  8512. void spine_path_constraint_set_mix_y(
  8513. spine_path_constraint constraint,
  8514. double mixY,
  8515. ) {
  8516. return _spine_path_constraint_set_mix_y(
  8517. constraint,
  8518. mixY,
  8519. );
  8520. }
  8521. late final _spine_path_constraint_set_mix_yPtr = _lookup<
  8522. ffi
  8523. .NativeFunction<ffi.Void Function(spine_path_constraint, ffi.Float)>>(
  8524. 'spine_path_constraint_set_mix_y');
  8525. late final _spine_path_constraint_set_mix_y =
  8526. _spine_path_constraint_set_mix_yPtr
  8527. .asFunction<void Function(spine_path_constraint, double)>();
  8528. int spine_path_constraint_get_is_active(
  8529. spine_path_constraint constraint,
  8530. ) {
  8531. return _spine_path_constraint_get_is_active(
  8532. constraint,
  8533. );
  8534. }
  8535. late final _spine_path_constraint_get_is_activePtr =
  8536. _lookup<ffi.NativeFunction<spine_bool Function(spine_path_constraint)>>(
  8537. 'spine_path_constraint_get_is_active');
  8538. late final _spine_path_constraint_get_is_active =
  8539. _spine_path_constraint_get_is_activePtr
  8540. .asFunction<int Function(spine_path_constraint)>();
  8541. void spine_path_constraint_set_is_active(
  8542. spine_path_constraint constraint,
  8543. int isActive,
  8544. ) {
  8545. return _spine_path_constraint_set_is_active(
  8546. constraint,
  8547. isActive,
  8548. );
  8549. }
  8550. late final _spine_path_constraint_set_is_activePtr = _lookup<
  8551. ffi.NativeFunction<
  8552. ffi.Void Function(spine_path_constraint,
  8553. spine_bool)>>('spine_path_constraint_set_is_active');
  8554. late final _spine_path_constraint_set_is_active =
  8555. _spine_path_constraint_set_is_activePtr
  8556. .asFunction<void Function(spine_path_constraint, int)>();
  8557. /// OMITTED setToSetupPose()
  8558. void spine_physics_constraint_data_set_bone(
  8559. spine_physics_constraint_data data,
  8560. spine_bone_data bone,
  8561. ) {
  8562. return _spine_physics_constraint_data_set_bone(
  8563. data,
  8564. bone,
  8565. );
  8566. }
  8567. late final _spine_physics_constraint_data_set_bonePtr = _lookup<
  8568. ffi.NativeFunction<
  8569. ffi.Void Function(spine_physics_constraint_data,
  8570. spine_bone_data)>>('spine_physics_constraint_data_set_bone');
  8571. late final _spine_physics_constraint_data_set_bone =
  8572. _spine_physics_constraint_data_set_bonePtr.asFunction<
  8573. void Function(spine_physics_constraint_data, spine_bone_data)>();
  8574. spine_bone_data spine_physics_constraint_data_get_bone(
  8575. spine_physics_constraint_data data,
  8576. ) {
  8577. return _spine_physics_constraint_data_get_bone(
  8578. data,
  8579. );
  8580. }
  8581. late final _spine_physics_constraint_data_get_bonePtr = _lookup<
  8582. ffi.NativeFunction<
  8583. spine_bone_data Function(spine_physics_constraint_data)>>(
  8584. 'spine_physics_constraint_data_get_bone');
  8585. late final _spine_physics_constraint_data_get_bone =
  8586. _spine_physics_constraint_data_get_bonePtr.asFunction<
  8587. spine_bone_data Function(spine_physics_constraint_data)>();
  8588. void spine_physics_constraint_data_set_x(
  8589. spine_physics_constraint_data data,
  8590. double x,
  8591. ) {
  8592. return _spine_physics_constraint_data_set_x(
  8593. data,
  8594. x,
  8595. );
  8596. }
  8597. late final _spine_physics_constraint_data_set_xPtr = _lookup<
  8598. ffi.NativeFunction<
  8599. ffi.Void Function(spine_physics_constraint_data,
  8600. ffi.Float)>>('spine_physics_constraint_data_set_x');
  8601. late final _spine_physics_constraint_data_set_x =
  8602. _spine_physics_constraint_data_set_xPtr
  8603. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8604. double spine_physics_constraint_data_get_x(
  8605. spine_physics_constraint_data data,
  8606. ) {
  8607. return _spine_physics_constraint_data_get_x(
  8608. data,
  8609. );
  8610. }
  8611. late final _spine_physics_constraint_data_get_xPtr = _lookup<
  8612. ffi
  8613. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8614. 'spine_physics_constraint_data_get_x');
  8615. late final _spine_physics_constraint_data_get_x =
  8616. _spine_physics_constraint_data_get_xPtr
  8617. .asFunction<double Function(spine_physics_constraint_data)>();
  8618. void spine_physics_constraint_data_set_y(
  8619. spine_physics_constraint_data data,
  8620. double y,
  8621. ) {
  8622. return _spine_physics_constraint_data_set_y(
  8623. data,
  8624. y,
  8625. );
  8626. }
  8627. late final _spine_physics_constraint_data_set_yPtr = _lookup<
  8628. ffi.NativeFunction<
  8629. ffi.Void Function(spine_physics_constraint_data,
  8630. ffi.Float)>>('spine_physics_constraint_data_set_y');
  8631. late final _spine_physics_constraint_data_set_y =
  8632. _spine_physics_constraint_data_set_yPtr
  8633. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8634. double spine_physics_constraint_data_get_y(
  8635. spine_physics_constraint_data data,
  8636. ) {
  8637. return _spine_physics_constraint_data_get_y(
  8638. data,
  8639. );
  8640. }
  8641. late final _spine_physics_constraint_data_get_yPtr = _lookup<
  8642. ffi
  8643. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8644. 'spine_physics_constraint_data_get_y');
  8645. late final _spine_physics_constraint_data_get_y =
  8646. _spine_physics_constraint_data_get_yPtr
  8647. .asFunction<double Function(spine_physics_constraint_data)>();
  8648. void spine_physics_constraint_data_set_rotate(
  8649. spine_physics_constraint_data data,
  8650. double rotate,
  8651. ) {
  8652. return _spine_physics_constraint_data_set_rotate(
  8653. data,
  8654. rotate,
  8655. );
  8656. }
  8657. late final _spine_physics_constraint_data_set_rotatePtr = _lookup<
  8658. ffi.NativeFunction<
  8659. ffi.Void Function(spine_physics_constraint_data,
  8660. ffi.Float)>>('spine_physics_constraint_data_set_rotate');
  8661. late final _spine_physics_constraint_data_set_rotate =
  8662. _spine_physics_constraint_data_set_rotatePtr
  8663. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8664. double spine_physics_constraint_data_get_rotate(
  8665. spine_physics_constraint_data data,
  8666. ) {
  8667. return _spine_physics_constraint_data_get_rotate(
  8668. data,
  8669. );
  8670. }
  8671. late final _spine_physics_constraint_data_get_rotatePtr = _lookup<
  8672. ffi
  8673. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8674. 'spine_physics_constraint_data_get_rotate');
  8675. late final _spine_physics_constraint_data_get_rotate =
  8676. _spine_physics_constraint_data_get_rotatePtr
  8677. .asFunction<double Function(spine_physics_constraint_data)>();
  8678. void spine_physics_constraint_data_set_scale_x(
  8679. spine_physics_constraint_data data,
  8680. double scaleX,
  8681. ) {
  8682. return _spine_physics_constraint_data_set_scale_x(
  8683. data,
  8684. scaleX,
  8685. );
  8686. }
  8687. late final _spine_physics_constraint_data_set_scale_xPtr = _lookup<
  8688. ffi.NativeFunction<
  8689. ffi.Void Function(spine_physics_constraint_data,
  8690. ffi.Float)>>('spine_physics_constraint_data_set_scale_x');
  8691. late final _spine_physics_constraint_data_set_scale_x =
  8692. _spine_physics_constraint_data_set_scale_xPtr
  8693. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8694. double spine_physics_constraint_data_get_scale_x(
  8695. spine_physics_constraint_data data,
  8696. ) {
  8697. return _spine_physics_constraint_data_get_scale_x(
  8698. data,
  8699. );
  8700. }
  8701. late final _spine_physics_constraint_data_get_scale_xPtr = _lookup<
  8702. ffi
  8703. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8704. 'spine_physics_constraint_data_get_scale_x');
  8705. late final _spine_physics_constraint_data_get_scale_x =
  8706. _spine_physics_constraint_data_get_scale_xPtr
  8707. .asFunction<double Function(spine_physics_constraint_data)>();
  8708. void spine_physics_constraint_data_set_shear_x(
  8709. spine_physics_constraint_data data,
  8710. double shearX,
  8711. ) {
  8712. return _spine_physics_constraint_data_set_shear_x(
  8713. data,
  8714. shearX,
  8715. );
  8716. }
  8717. late final _spine_physics_constraint_data_set_shear_xPtr = _lookup<
  8718. ffi.NativeFunction<
  8719. ffi.Void Function(spine_physics_constraint_data,
  8720. ffi.Float)>>('spine_physics_constraint_data_set_shear_x');
  8721. late final _spine_physics_constraint_data_set_shear_x =
  8722. _spine_physics_constraint_data_set_shear_xPtr
  8723. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8724. double spine_physics_constraint_data_get_shear_x(
  8725. spine_physics_constraint_data data,
  8726. ) {
  8727. return _spine_physics_constraint_data_get_shear_x(
  8728. data,
  8729. );
  8730. }
  8731. late final _spine_physics_constraint_data_get_shear_xPtr = _lookup<
  8732. ffi
  8733. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8734. 'spine_physics_constraint_data_get_shear_x');
  8735. late final _spine_physics_constraint_data_get_shear_x =
  8736. _spine_physics_constraint_data_get_shear_xPtr
  8737. .asFunction<double Function(spine_physics_constraint_data)>();
  8738. void spine_physics_constraint_data_set_limit(
  8739. spine_physics_constraint_data data,
  8740. double limit,
  8741. ) {
  8742. return _spine_physics_constraint_data_set_limit(
  8743. data,
  8744. limit,
  8745. );
  8746. }
  8747. late final _spine_physics_constraint_data_set_limitPtr = _lookup<
  8748. ffi.NativeFunction<
  8749. ffi.Void Function(spine_physics_constraint_data,
  8750. ffi.Float)>>('spine_physics_constraint_data_set_limit');
  8751. late final _spine_physics_constraint_data_set_limit =
  8752. _spine_physics_constraint_data_set_limitPtr
  8753. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8754. double spine_physics_constraint_data_get_limit(
  8755. spine_physics_constraint_data data,
  8756. ) {
  8757. return _spine_physics_constraint_data_get_limit(
  8758. data,
  8759. );
  8760. }
  8761. late final _spine_physics_constraint_data_get_limitPtr = _lookup<
  8762. ffi
  8763. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8764. 'spine_physics_constraint_data_get_limit');
  8765. late final _spine_physics_constraint_data_get_limit =
  8766. _spine_physics_constraint_data_get_limitPtr
  8767. .asFunction<double Function(spine_physics_constraint_data)>();
  8768. void spine_physics_constraint_data_set_step(
  8769. spine_physics_constraint_data data,
  8770. double step,
  8771. ) {
  8772. return _spine_physics_constraint_data_set_step(
  8773. data,
  8774. step,
  8775. );
  8776. }
  8777. late final _spine_physics_constraint_data_set_stepPtr = _lookup<
  8778. ffi.NativeFunction<
  8779. ffi.Void Function(spine_physics_constraint_data,
  8780. ffi.Float)>>('spine_physics_constraint_data_set_step');
  8781. late final _spine_physics_constraint_data_set_step =
  8782. _spine_physics_constraint_data_set_stepPtr
  8783. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8784. double spine_physics_constraint_data_get_step(
  8785. spine_physics_constraint_data data,
  8786. ) {
  8787. return _spine_physics_constraint_data_get_step(
  8788. data,
  8789. );
  8790. }
  8791. late final _spine_physics_constraint_data_get_stepPtr = _lookup<
  8792. ffi
  8793. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8794. 'spine_physics_constraint_data_get_step');
  8795. late final _spine_physics_constraint_data_get_step =
  8796. _spine_physics_constraint_data_get_stepPtr
  8797. .asFunction<double Function(spine_physics_constraint_data)>();
  8798. void spine_physics_constraint_data_set_inertia(
  8799. spine_physics_constraint_data data,
  8800. double inertia,
  8801. ) {
  8802. return _spine_physics_constraint_data_set_inertia(
  8803. data,
  8804. inertia,
  8805. );
  8806. }
  8807. late final _spine_physics_constraint_data_set_inertiaPtr = _lookup<
  8808. ffi.NativeFunction<
  8809. ffi.Void Function(spine_physics_constraint_data,
  8810. ffi.Float)>>('spine_physics_constraint_data_set_inertia');
  8811. late final _spine_physics_constraint_data_set_inertia =
  8812. _spine_physics_constraint_data_set_inertiaPtr
  8813. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8814. double spine_physics_constraint_data_get_inertia(
  8815. spine_physics_constraint_data data,
  8816. ) {
  8817. return _spine_physics_constraint_data_get_inertia(
  8818. data,
  8819. );
  8820. }
  8821. late final _spine_physics_constraint_data_get_inertiaPtr = _lookup<
  8822. ffi
  8823. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8824. 'spine_physics_constraint_data_get_inertia');
  8825. late final _spine_physics_constraint_data_get_inertia =
  8826. _spine_physics_constraint_data_get_inertiaPtr
  8827. .asFunction<double Function(spine_physics_constraint_data)>();
  8828. void spine_physics_constraint_data_set_strength(
  8829. spine_physics_constraint_data data,
  8830. double strength,
  8831. ) {
  8832. return _spine_physics_constraint_data_set_strength(
  8833. data,
  8834. strength,
  8835. );
  8836. }
  8837. late final _spine_physics_constraint_data_set_strengthPtr = _lookup<
  8838. ffi.NativeFunction<
  8839. ffi.Void Function(spine_physics_constraint_data,
  8840. ffi.Float)>>('spine_physics_constraint_data_set_strength');
  8841. late final _spine_physics_constraint_data_set_strength =
  8842. _spine_physics_constraint_data_set_strengthPtr
  8843. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8844. double spine_physics_constraint_data_get_strength(
  8845. spine_physics_constraint_data data,
  8846. ) {
  8847. return _spine_physics_constraint_data_get_strength(
  8848. data,
  8849. );
  8850. }
  8851. late final _spine_physics_constraint_data_get_strengthPtr = _lookup<
  8852. ffi
  8853. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8854. 'spine_physics_constraint_data_get_strength');
  8855. late final _spine_physics_constraint_data_get_strength =
  8856. _spine_physics_constraint_data_get_strengthPtr
  8857. .asFunction<double Function(spine_physics_constraint_data)>();
  8858. void spine_physics_constraint_data_set_damping(
  8859. spine_physics_constraint_data data,
  8860. double damping,
  8861. ) {
  8862. return _spine_physics_constraint_data_set_damping(
  8863. data,
  8864. damping,
  8865. );
  8866. }
  8867. late final _spine_physics_constraint_data_set_dampingPtr = _lookup<
  8868. ffi.NativeFunction<
  8869. ffi.Void Function(spine_physics_constraint_data,
  8870. ffi.Float)>>('spine_physics_constraint_data_set_damping');
  8871. late final _spine_physics_constraint_data_set_damping =
  8872. _spine_physics_constraint_data_set_dampingPtr
  8873. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8874. double spine_physics_constraint_data_get_damping(
  8875. spine_physics_constraint_data data,
  8876. ) {
  8877. return _spine_physics_constraint_data_get_damping(
  8878. data,
  8879. );
  8880. }
  8881. late final _spine_physics_constraint_data_get_dampingPtr = _lookup<
  8882. ffi
  8883. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8884. 'spine_physics_constraint_data_get_damping');
  8885. late final _spine_physics_constraint_data_get_damping =
  8886. _spine_physics_constraint_data_get_dampingPtr
  8887. .asFunction<double Function(spine_physics_constraint_data)>();
  8888. void spine_physics_constraint_data_set_mass_inverse(
  8889. spine_physics_constraint_data data,
  8890. double massInverse,
  8891. ) {
  8892. return _spine_physics_constraint_data_set_mass_inverse(
  8893. data,
  8894. massInverse,
  8895. );
  8896. }
  8897. late final _spine_physics_constraint_data_set_mass_inversePtr = _lookup<
  8898. ffi.NativeFunction<
  8899. ffi.Void Function(spine_physics_constraint_data,
  8900. ffi.Float)>>('spine_physics_constraint_data_set_mass_inverse');
  8901. late final _spine_physics_constraint_data_set_mass_inverse =
  8902. _spine_physics_constraint_data_set_mass_inversePtr
  8903. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8904. double spine_physics_constraint_data_get_mass_inverse(
  8905. spine_physics_constraint_data data,
  8906. ) {
  8907. return _spine_physics_constraint_data_get_mass_inverse(
  8908. data,
  8909. );
  8910. }
  8911. late final _spine_physics_constraint_data_get_mass_inversePtr = _lookup<
  8912. ffi
  8913. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8914. 'spine_physics_constraint_data_get_mass_inverse');
  8915. late final _spine_physics_constraint_data_get_mass_inverse =
  8916. _spine_physics_constraint_data_get_mass_inversePtr
  8917. .asFunction<double Function(spine_physics_constraint_data)>();
  8918. void spine_physics_constraint_data_set_wind(
  8919. spine_physics_constraint_data data,
  8920. double wind,
  8921. ) {
  8922. return _spine_physics_constraint_data_set_wind(
  8923. data,
  8924. wind,
  8925. );
  8926. }
  8927. late final _spine_physics_constraint_data_set_windPtr = _lookup<
  8928. ffi.NativeFunction<
  8929. ffi.Void Function(spine_physics_constraint_data,
  8930. ffi.Float)>>('spine_physics_constraint_data_set_wind');
  8931. late final _spine_physics_constraint_data_set_wind =
  8932. _spine_physics_constraint_data_set_windPtr
  8933. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8934. double spine_physics_constraint_data_get_wind(
  8935. spine_physics_constraint_data data,
  8936. ) {
  8937. return _spine_physics_constraint_data_get_wind(
  8938. data,
  8939. );
  8940. }
  8941. late final _spine_physics_constraint_data_get_windPtr = _lookup<
  8942. ffi
  8943. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8944. 'spine_physics_constraint_data_get_wind');
  8945. late final _spine_physics_constraint_data_get_wind =
  8946. _spine_physics_constraint_data_get_windPtr
  8947. .asFunction<double Function(spine_physics_constraint_data)>();
  8948. void spine_physics_constraint_data_set_gravity(
  8949. spine_physics_constraint_data data,
  8950. double gravity,
  8951. ) {
  8952. return _spine_physics_constraint_data_set_gravity(
  8953. data,
  8954. gravity,
  8955. );
  8956. }
  8957. late final _spine_physics_constraint_data_set_gravityPtr = _lookup<
  8958. ffi.NativeFunction<
  8959. ffi.Void Function(spine_physics_constraint_data,
  8960. ffi.Float)>>('spine_physics_constraint_data_set_gravity');
  8961. late final _spine_physics_constraint_data_set_gravity =
  8962. _spine_physics_constraint_data_set_gravityPtr
  8963. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8964. double spine_physics_constraint_data_get_gravity(
  8965. spine_physics_constraint_data data,
  8966. ) {
  8967. return _spine_physics_constraint_data_get_gravity(
  8968. data,
  8969. );
  8970. }
  8971. late final _spine_physics_constraint_data_get_gravityPtr = _lookup<
  8972. ffi
  8973. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  8974. 'spine_physics_constraint_data_get_gravity');
  8975. late final _spine_physics_constraint_data_get_gravity =
  8976. _spine_physics_constraint_data_get_gravityPtr
  8977. .asFunction<double Function(spine_physics_constraint_data)>();
  8978. void spine_physics_constraint_data_set_mix(
  8979. spine_physics_constraint_data data,
  8980. double mix,
  8981. ) {
  8982. return _spine_physics_constraint_data_set_mix(
  8983. data,
  8984. mix,
  8985. );
  8986. }
  8987. late final _spine_physics_constraint_data_set_mixPtr = _lookup<
  8988. ffi.NativeFunction<
  8989. ffi.Void Function(spine_physics_constraint_data,
  8990. ffi.Float)>>('spine_physics_constraint_data_set_mix');
  8991. late final _spine_physics_constraint_data_set_mix =
  8992. _spine_physics_constraint_data_set_mixPtr
  8993. .asFunction<void Function(spine_physics_constraint_data, double)>();
  8994. double spine_physics_constraint_data_get_mix(
  8995. spine_physics_constraint_data data,
  8996. ) {
  8997. return _spine_physics_constraint_data_get_mix(
  8998. data,
  8999. );
  9000. }
  9001. late final _spine_physics_constraint_data_get_mixPtr = _lookup<
  9002. ffi
  9003. .NativeFunction<ffi.Float Function(spine_physics_constraint_data)>>(
  9004. 'spine_physics_constraint_data_get_mix');
  9005. late final _spine_physics_constraint_data_get_mix =
  9006. _spine_physics_constraint_data_get_mixPtr
  9007. .asFunction<double Function(spine_physics_constraint_data)>();
  9008. void spine_physics_constraint_data_set_inertia_global(
  9009. spine_physics_constraint_data data,
  9010. int inertiaGlobal,
  9011. ) {
  9012. return _spine_physics_constraint_data_set_inertia_global(
  9013. data,
  9014. inertiaGlobal,
  9015. );
  9016. }
  9017. late final _spine_physics_constraint_data_set_inertia_globalPtr = _lookup<
  9018. ffi.NativeFunction<
  9019. ffi.Void Function(spine_physics_constraint_data,
  9020. spine_bool)>>('spine_physics_constraint_data_set_inertia_global');
  9021. late final _spine_physics_constraint_data_set_inertia_global =
  9022. _spine_physics_constraint_data_set_inertia_globalPtr
  9023. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9024. int spine_physics_constraint_data_is_inertia_global(
  9025. spine_physics_constraint_data data,
  9026. ) {
  9027. return _spine_physics_constraint_data_is_inertia_global(
  9028. data,
  9029. );
  9030. }
  9031. late final _spine_physics_constraint_data_is_inertia_globalPtr = _lookup<
  9032. ffi
  9033. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9034. 'spine_physics_constraint_data_is_inertia_global');
  9035. late final _spine_physics_constraint_data_is_inertia_global =
  9036. _spine_physics_constraint_data_is_inertia_globalPtr
  9037. .asFunction<int Function(spine_physics_constraint_data)>();
  9038. void spine_physics_constraint_data_set_strength_global(
  9039. spine_physics_constraint_data data,
  9040. int strengthGlobal,
  9041. ) {
  9042. return _spine_physics_constraint_data_set_strength_global(
  9043. data,
  9044. strengthGlobal,
  9045. );
  9046. }
  9047. late final _spine_physics_constraint_data_set_strength_globalPtr = _lookup<
  9048. ffi.NativeFunction<
  9049. ffi.Void Function(spine_physics_constraint_data, spine_bool)>>(
  9050. 'spine_physics_constraint_data_set_strength_global');
  9051. late final _spine_physics_constraint_data_set_strength_global =
  9052. _spine_physics_constraint_data_set_strength_globalPtr
  9053. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9054. int spine_physics_constraint_data_is_strength_global(
  9055. spine_physics_constraint_data data,
  9056. ) {
  9057. return _spine_physics_constraint_data_is_strength_global(
  9058. data,
  9059. );
  9060. }
  9061. late final _spine_physics_constraint_data_is_strength_globalPtr = _lookup<
  9062. ffi
  9063. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9064. 'spine_physics_constraint_data_is_strength_global');
  9065. late final _spine_physics_constraint_data_is_strength_global =
  9066. _spine_physics_constraint_data_is_strength_globalPtr
  9067. .asFunction<int Function(spine_physics_constraint_data)>();
  9068. void spine_physics_constraint_data_set_damping_global(
  9069. spine_physics_constraint_data data,
  9070. int dampingGlobal,
  9071. ) {
  9072. return _spine_physics_constraint_data_set_damping_global(
  9073. data,
  9074. dampingGlobal,
  9075. );
  9076. }
  9077. late final _spine_physics_constraint_data_set_damping_globalPtr = _lookup<
  9078. ffi.NativeFunction<
  9079. ffi.Void Function(spine_physics_constraint_data,
  9080. spine_bool)>>('spine_physics_constraint_data_set_damping_global');
  9081. late final _spine_physics_constraint_data_set_damping_global =
  9082. _spine_physics_constraint_data_set_damping_globalPtr
  9083. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9084. int spine_physics_constraint_data_is_damping_global(
  9085. spine_physics_constraint_data data,
  9086. ) {
  9087. return _spine_physics_constraint_data_is_damping_global(
  9088. data,
  9089. );
  9090. }
  9091. late final _spine_physics_constraint_data_is_damping_globalPtr = _lookup<
  9092. ffi
  9093. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9094. 'spine_physics_constraint_data_is_damping_global');
  9095. late final _spine_physics_constraint_data_is_damping_global =
  9096. _spine_physics_constraint_data_is_damping_globalPtr
  9097. .asFunction<int Function(spine_physics_constraint_data)>();
  9098. void spine_physics_constraint_data_set_mass_global(
  9099. spine_physics_constraint_data data,
  9100. int massGlobal,
  9101. ) {
  9102. return _spine_physics_constraint_data_set_mass_global(
  9103. data,
  9104. massGlobal,
  9105. );
  9106. }
  9107. late final _spine_physics_constraint_data_set_mass_globalPtr = _lookup<
  9108. ffi.NativeFunction<
  9109. ffi.Void Function(spine_physics_constraint_data,
  9110. spine_bool)>>('spine_physics_constraint_data_set_mass_global');
  9111. late final _spine_physics_constraint_data_set_mass_global =
  9112. _spine_physics_constraint_data_set_mass_globalPtr
  9113. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9114. int spine_physics_constraint_data_is_mass_global(
  9115. spine_physics_constraint_data data,
  9116. ) {
  9117. return _spine_physics_constraint_data_is_mass_global(
  9118. data,
  9119. );
  9120. }
  9121. late final _spine_physics_constraint_data_is_mass_globalPtr = _lookup<
  9122. ffi
  9123. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9124. 'spine_physics_constraint_data_is_mass_global');
  9125. late final _spine_physics_constraint_data_is_mass_global =
  9126. _spine_physics_constraint_data_is_mass_globalPtr
  9127. .asFunction<int Function(spine_physics_constraint_data)>();
  9128. void spine_physics_constraint_data_set_wind_global(
  9129. spine_physics_constraint_data data,
  9130. int windGlobal,
  9131. ) {
  9132. return _spine_physics_constraint_data_set_wind_global(
  9133. data,
  9134. windGlobal,
  9135. );
  9136. }
  9137. late final _spine_physics_constraint_data_set_wind_globalPtr = _lookup<
  9138. ffi.NativeFunction<
  9139. ffi.Void Function(spine_physics_constraint_data,
  9140. spine_bool)>>('spine_physics_constraint_data_set_wind_global');
  9141. late final _spine_physics_constraint_data_set_wind_global =
  9142. _spine_physics_constraint_data_set_wind_globalPtr
  9143. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9144. int spine_physics_constraint_data_is_wind_global(
  9145. spine_physics_constraint_data data,
  9146. ) {
  9147. return _spine_physics_constraint_data_is_wind_global(
  9148. data,
  9149. );
  9150. }
  9151. late final _spine_physics_constraint_data_is_wind_globalPtr = _lookup<
  9152. ffi
  9153. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9154. 'spine_physics_constraint_data_is_wind_global');
  9155. late final _spine_physics_constraint_data_is_wind_global =
  9156. _spine_physics_constraint_data_is_wind_globalPtr
  9157. .asFunction<int Function(spine_physics_constraint_data)>();
  9158. void spine_physics_constraint_data_set_gravity_global(
  9159. spine_physics_constraint_data data,
  9160. int gravityGlobal,
  9161. ) {
  9162. return _spine_physics_constraint_data_set_gravity_global(
  9163. data,
  9164. gravityGlobal,
  9165. );
  9166. }
  9167. late final _spine_physics_constraint_data_set_gravity_globalPtr = _lookup<
  9168. ffi.NativeFunction<
  9169. ffi.Void Function(spine_physics_constraint_data,
  9170. spine_bool)>>('spine_physics_constraint_data_set_gravity_global');
  9171. late final _spine_physics_constraint_data_set_gravity_global =
  9172. _spine_physics_constraint_data_set_gravity_globalPtr
  9173. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9174. int spine_physics_constraint_data_is_gravity_global(
  9175. spine_physics_constraint_data data,
  9176. ) {
  9177. return _spine_physics_constraint_data_is_gravity_global(
  9178. data,
  9179. );
  9180. }
  9181. late final _spine_physics_constraint_data_is_gravity_globalPtr = _lookup<
  9182. ffi
  9183. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9184. 'spine_physics_constraint_data_is_gravity_global');
  9185. late final _spine_physics_constraint_data_is_gravity_global =
  9186. _spine_physics_constraint_data_is_gravity_globalPtr
  9187. .asFunction<int Function(spine_physics_constraint_data)>();
  9188. void spine_physics_constraint_data_set_mix_global(
  9189. spine_physics_constraint_data data,
  9190. int mixGlobal,
  9191. ) {
  9192. return _spine_physics_constraint_data_set_mix_global(
  9193. data,
  9194. mixGlobal,
  9195. );
  9196. }
  9197. late final _spine_physics_constraint_data_set_mix_globalPtr = _lookup<
  9198. ffi.NativeFunction<
  9199. ffi.Void Function(spine_physics_constraint_data,
  9200. spine_bool)>>('spine_physics_constraint_data_set_mix_global');
  9201. late final _spine_physics_constraint_data_set_mix_global =
  9202. _spine_physics_constraint_data_set_mix_globalPtr
  9203. .asFunction<void Function(spine_physics_constraint_data, int)>();
  9204. int spine_physics_constraint_data_is_mix_global(
  9205. spine_physics_constraint_data data,
  9206. ) {
  9207. return _spine_physics_constraint_data_is_mix_global(
  9208. data,
  9209. );
  9210. }
  9211. late final _spine_physics_constraint_data_is_mix_globalPtr = _lookup<
  9212. ffi
  9213. .NativeFunction<spine_bool Function(spine_physics_constraint_data)>>(
  9214. 'spine_physics_constraint_data_is_mix_global');
  9215. late final _spine_physics_constraint_data_is_mix_global =
  9216. _spine_physics_constraint_data_is_mix_globalPtr
  9217. .asFunction<int Function(spine_physics_constraint_data)>();
  9218. void spine_physics_constraint_set_bone(
  9219. spine_physics_constraint constraint,
  9220. spine_bone bone,
  9221. ) {
  9222. return _spine_physics_constraint_set_bone(
  9223. constraint,
  9224. bone,
  9225. );
  9226. }
  9227. late final _spine_physics_constraint_set_bonePtr = _lookup<
  9228. ffi.NativeFunction<
  9229. ffi.Void Function(spine_physics_constraint,
  9230. spine_bone)>>('spine_physics_constraint_set_bone');
  9231. late final _spine_physics_constraint_set_bone =
  9232. _spine_physics_constraint_set_bonePtr
  9233. .asFunction<void Function(spine_physics_constraint, spine_bone)>();
  9234. spine_bone spine_physics_constraint_get_bone(
  9235. spine_physics_constraint constraint,
  9236. ) {
  9237. return _spine_physics_constraint_get_bone(
  9238. constraint,
  9239. );
  9240. }
  9241. late final _spine_physics_constraint_get_bonePtr = _lookup<
  9242. ffi.NativeFunction<spine_bone Function(spine_physics_constraint)>>(
  9243. 'spine_physics_constraint_get_bone');
  9244. late final _spine_physics_constraint_get_bone =
  9245. _spine_physics_constraint_get_bonePtr
  9246. .asFunction<spine_bone Function(spine_physics_constraint)>();
  9247. void spine_physics_constraint_set_inertia(
  9248. spine_physics_constraint constraint,
  9249. double value,
  9250. ) {
  9251. return _spine_physics_constraint_set_inertia(
  9252. constraint,
  9253. value,
  9254. );
  9255. }
  9256. late final _spine_physics_constraint_set_inertiaPtr = _lookup<
  9257. ffi.NativeFunction<
  9258. ffi.Void Function(spine_physics_constraint,
  9259. ffi.Float)>>('spine_physics_constraint_set_inertia');
  9260. late final _spine_physics_constraint_set_inertia =
  9261. _spine_physics_constraint_set_inertiaPtr
  9262. .asFunction<void Function(spine_physics_constraint, double)>();
  9263. double spine_physics_constraint_get_inertia(
  9264. spine_physics_constraint constraint,
  9265. ) {
  9266. return _spine_physics_constraint_get_inertia(
  9267. constraint,
  9268. );
  9269. }
  9270. late final _spine_physics_constraint_get_inertiaPtr =
  9271. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9272. 'spine_physics_constraint_get_inertia');
  9273. late final _spine_physics_constraint_get_inertia =
  9274. _spine_physics_constraint_get_inertiaPtr
  9275. .asFunction<double Function(spine_physics_constraint)>();
  9276. void spine_physics_constraint_set_strength(
  9277. spine_physics_constraint constraint,
  9278. double value,
  9279. ) {
  9280. return _spine_physics_constraint_set_strength(
  9281. constraint,
  9282. value,
  9283. );
  9284. }
  9285. late final _spine_physics_constraint_set_strengthPtr = _lookup<
  9286. ffi.NativeFunction<
  9287. ffi.Void Function(spine_physics_constraint,
  9288. ffi.Float)>>('spine_physics_constraint_set_strength');
  9289. late final _spine_physics_constraint_set_strength =
  9290. _spine_physics_constraint_set_strengthPtr
  9291. .asFunction<void Function(spine_physics_constraint, double)>();
  9292. double spine_physics_constraint_get_strength(
  9293. spine_physics_constraint constraint,
  9294. ) {
  9295. return _spine_physics_constraint_get_strength(
  9296. constraint,
  9297. );
  9298. }
  9299. late final _spine_physics_constraint_get_strengthPtr =
  9300. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9301. 'spine_physics_constraint_get_strength');
  9302. late final _spine_physics_constraint_get_strength =
  9303. _spine_physics_constraint_get_strengthPtr
  9304. .asFunction<double Function(spine_physics_constraint)>();
  9305. void spine_physics_constraint_set_damping(
  9306. spine_physics_constraint constraint,
  9307. double value,
  9308. ) {
  9309. return _spine_physics_constraint_set_damping(
  9310. constraint,
  9311. value,
  9312. );
  9313. }
  9314. late final _spine_physics_constraint_set_dampingPtr = _lookup<
  9315. ffi.NativeFunction<
  9316. ffi.Void Function(spine_physics_constraint,
  9317. ffi.Float)>>('spine_physics_constraint_set_damping');
  9318. late final _spine_physics_constraint_set_damping =
  9319. _spine_physics_constraint_set_dampingPtr
  9320. .asFunction<void Function(spine_physics_constraint, double)>();
  9321. double spine_physics_constraint_get_damping(
  9322. spine_physics_constraint constraint,
  9323. ) {
  9324. return _spine_physics_constraint_get_damping(
  9325. constraint,
  9326. );
  9327. }
  9328. late final _spine_physics_constraint_get_dampingPtr =
  9329. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9330. 'spine_physics_constraint_get_damping');
  9331. late final _spine_physics_constraint_get_damping =
  9332. _spine_physics_constraint_get_dampingPtr
  9333. .asFunction<double Function(spine_physics_constraint)>();
  9334. void spine_physics_constraint_set_mass_inverse(
  9335. spine_physics_constraint constraint,
  9336. double value,
  9337. ) {
  9338. return _spine_physics_constraint_set_mass_inverse(
  9339. constraint,
  9340. value,
  9341. );
  9342. }
  9343. late final _spine_physics_constraint_set_mass_inversePtr = _lookup<
  9344. ffi.NativeFunction<
  9345. ffi.Void Function(spine_physics_constraint,
  9346. ffi.Float)>>('spine_physics_constraint_set_mass_inverse');
  9347. late final _spine_physics_constraint_set_mass_inverse =
  9348. _spine_physics_constraint_set_mass_inversePtr
  9349. .asFunction<void Function(spine_physics_constraint, double)>();
  9350. double spine_physics_constraint_get_mass_inverse(
  9351. spine_physics_constraint constraint,
  9352. ) {
  9353. return _spine_physics_constraint_get_mass_inverse(
  9354. constraint,
  9355. );
  9356. }
  9357. late final _spine_physics_constraint_get_mass_inversePtr =
  9358. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9359. 'spine_physics_constraint_get_mass_inverse');
  9360. late final _spine_physics_constraint_get_mass_inverse =
  9361. _spine_physics_constraint_get_mass_inversePtr
  9362. .asFunction<double Function(spine_physics_constraint)>();
  9363. void spine_physics_constraint_set_wind(
  9364. spine_physics_constraint constraint,
  9365. double value,
  9366. ) {
  9367. return _spine_physics_constraint_set_wind(
  9368. constraint,
  9369. value,
  9370. );
  9371. }
  9372. late final _spine_physics_constraint_set_windPtr = _lookup<
  9373. ffi.NativeFunction<
  9374. ffi.Void Function(spine_physics_constraint,
  9375. ffi.Float)>>('spine_physics_constraint_set_wind');
  9376. late final _spine_physics_constraint_set_wind =
  9377. _spine_physics_constraint_set_windPtr
  9378. .asFunction<void Function(spine_physics_constraint, double)>();
  9379. double spine_physics_constraint_get_wind(
  9380. spine_physics_constraint constraint,
  9381. ) {
  9382. return _spine_physics_constraint_get_wind(
  9383. constraint,
  9384. );
  9385. }
  9386. late final _spine_physics_constraint_get_windPtr =
  9387. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9388. 'spine_physics_constraint_get_wind');
  9389. late final _spine_physics_constraint_get_wind =
  9390. _spine_physics_constraint_get_windPtr
  9391. .asFunction<double Function(spine_physics_constraint)>();
  9392. void spine_physics_constraint_set_gravity(
  9393. spine_physics_constraint constraint,
  9394. double value,
  9395. ) {
  9396. return _spine_physics_constraint_set_gravity(
  9397. constraint,
  9398. value,
  9399. );
  9400. }
  9401. late final _spine_physics_constraint_set_gravityPtr = _lookup<
  9402. ffi.NativeFunction<
  9403. ffi.Void Function(spine_physics_constraint,
  9404. ffi.Float)>>('spine_physics_constraint_set_gravity');
  9405. late final _spine_physics_constraint_set_gravity =
  9406. _spine_physics_constraint_set_gravityPtr
  9407. .asFunction<void Function(spine_physics_constraint, double)>();
  9408. double spine_physics_constraint_get_gravity(
  9409. spine_physics_constraint constraint,
  9410. ) {
  9411. return _spine_physics_constraint_get_gravity(
  9412. constraint,
  9413. );
  9414. }
  9415. late final _spine_physics_constraint_get_gravityPtr =
  9416. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9417. 'spine_physics_constraint_get_gravity');
  9418. late final _spine_physics_constraint_get_gravity =
  9419. _spine_physics_constraint_get_gravityPtr
  9420. .asFunction<double Function(spine_physics_constraint)>();
  9421. void spine_physics_constraint_set_mix(
  9422. spine_physics_constraint constraint,
  9423. double value,
  9424. ) {
  9425. return _spine_physics_constraint_set_mix(
  9426. constraint,
  9427. value,
  9428. );
  9429. }
  9430. late final _spine_physics_constraint_set_mixPtr = _lookup<
  9431. ffi.NativeFunction<
  9432. ffi.Void Function(spine_physics_constraint,
  9433. ffi.Float)>>('spine_physics_constraint_set_mix');
  9434. late final _spine_physics_constraint_set_mix =
  9435. _spine_physics_constraint_set_mixPtr
  9436. .asFunction<void Function(spine_physics_constraint, double)>();
  9437. double spine_physics_constraint_get_mix(
  9438. spine_physics_constraint constraint,
  9439. ) {
  9440. return _spine_physics_constraint_get_mix(
  9441. constraint,
  9442. );
  9443. }
  9444. late final _spine_physics_constraint_get_mixPtr =
  9445. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9446. 'spine_physics_constraint_get_mix');
  9447. late final _spine_physics_constraint_get_mix =
  9448. _spine_physics_constraint_get_mixPtr
  9449. .asFunction<double Function(spine_physics_constraint)>();
  9450. void spine_physics_constraint_set_reset(
  9451. spine_physics_constraint constraint,
  9452. int value,
  9453. ) {
  9454. return _spine_physics_constraint_set_reset(
  9455. constraint,
  9456. value,
  9457. );
  9458. }
  9459. late final _spine_physics_constraint_set_resetPtr = _lookup<
  9460. ffi.NativeFunction<
  9461. ffi.Void Function(spine_physics_constraint,
  9462. spine_bool)>>('spine_physics_constraint_set_reset');
  9463. late final _spine_physics_constraint_set_reset =
  9464. _spine_physics_constraint_set_resetPtr
  9465. .asFunction<void Function(spine_physics_constraint, int)>();
  9466. int spine_physics_constraint_get_reset(
  9467. spine_physics_constraint constraint,
  9468. ) {
  9469. return _spine_physics_constraint_get_reset(
  9470. constraint,
  9471. );
  9472. }
  9473. late final _spine_physics_constraint_get_resetPtr = _lookup<
  9474. ffi.NativeFunction<spine_bool Function(spine_physics_constraint)>>(
  9475. 'spine_physics_constraint_get_reset');
  9476. late final _spine_physics_constraint_get_reset =
  9477. _spine_physics_constraint_get_resetPtr
  9478. .asFunction<int Function(spine_physics_constraint)>();
  9479. void spine_physics_constraint_set_ux(
  9480. spine_physics_constraint constraint,
  9481. double value,
  9482. ) {
  9483. return _spine_physics_constraint_set_ux(
  9484. constraint,
  9485. value,
  9486. );
  9487. }
  9488. late final _spine_physics_constraint_set_uxPtr = _lookup<
  9489. ffi.NativeFunction<
  9490. ffi.Void Function(spine_physics_constraint,
  9491. ffi.Float)>>('spine_physics_constraint_set_ux');
  9492. late final _spine_physics_constraint_set_ux =
  9493. _spine_physics_constraint_set_uxPtr
  9494. .asFunction<void Function(spine_physics_constraint, double)>();
  9495. double spine_physics_constraint_get_ux(
  9496. spine_physics_constraint constraint,
  9497. ) {
  9498. return _spine_physics_constraint_get_ux(
  9499. constraint,
  9500. );
  9501. }
  9502. late final _spine_physics_constraint_get_uxPtr =
  9503. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9504. 'spine_physics_constraint_get_ux');
  9505. late final _spine_physics_constraint_get_ux =
  9506. _spine_physics_constraint_get_uxPtr
  9507. .asFunction<double Function(spine_physics_constraint)>();
  9508. void spine_physics_constraint_set_uy(
  9509. spine_physics_constraint constraint,
  9510. double value,
  9511. ) {
  9512. return _spine_physics_constraint_set_uy(
  9513. constraint,
  9514. value,
  9515. );
  9516. }
  9517. late final _spine_physics_constraint_set_uyPtr = _lookup<
  9518. ffi.NativeFunction<
  9519. ffi.Void Function(spine_physics_constraint,
  9520. ffi.Float)>>('spine_physics_constraint_set_uy');
  9521. late final _spine_physics_constraint_set_uy =
  9522. _spine_physics_constraint_set_uyPtr
  9523. .asFunction<void Function(spine_physics_constraint, double)>();
  9524. double spine_physics_constraint_get_uy(
  9525. spine_physics_constraint constraint,
  9526. ) {
  9527. return _spine_physics_constraint_get_uy(
  9528. constraint,
  9529. );
  9530. }
  9531. late final _spine_physics_constraint_get_uyPtr =
  9532. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9533. 'spine_physics_constraint_get_uy');
  9534. late final _spine_physics_constraint_get_uy =
  9535. _spine_physics_constraint_get_uyPtr
  9536. .asFunction<double Function(spine_physics_constraint)>();
  9537. void spine_physics_constraint_set_cx(
  9538. spine_physics_constraint constraint,
  9539. double value,
  9540. ) {
  9541. return _spine_physics_constraint_set_cx(
  9542. constraint,
  9543. value,
  9544. );
  9545. }
  9546. late final _spine_physics_constraint_set_cxPtr = _lookup<
  9547. ffi.NativeFunction<
  9548. ffi.Void Function(spine_physics_constraint,
  9549. ffi.Float)>>('spine_physics_constraint_set_cx');
  9550. late final _spine_physics_constraint_set_cx =
  9551. _spine_physics_constraint_set_cxPtr
  9552. .asFunction<void Function(spine_physics_constraint, double)>();
  9553. double spine_physics_constraint_get_cx(
  9554. spine_physics_constraint constraint,
  9555. ) {
  9556. return _spine_physics_constraint_get_cx(
  9557. constraint,
  9558. );
  9559. }
  9560. late final _spine_physics_constraint_get_cxPtr =
  9561. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9562. 'spine_physics_constraint_get_cx');
  9563. late final _spine_physics_constraint_get_cx =
  9564. _spine_physics_constraint_get_cxPtr
  9565. .asFunction<double Function(spine_physics_constraint)>();
  9566. void spine_physics_constraint_set_cy(
  9567. spine_physics_constraint constraint,
  9568. double value,
  9569. ) {
  9570. return _spine_physics_constraint_set_cy(
  9571. constraint,
  9572. value,
  9573. );
  9574. }
  9575. late final _spine_physics_constraint_set_cyPtr = _lookup<
  9576. ffi.NativeFunction<
  9577. ffi.Void Function(spine_physics_constraint,
  9578. ffi.Float)>>('spine_physics_constraint_set_cy');
  9579. late final _spine_physics_constraint_set_cy =
  9580. _spine_physics_constraint_set_cyPtr
  9581. .asFunction<void Function(spine_physics_constraint, double)>();
  9582. double spine_physics_constraint_get_cy(
  9583. spine_physics_constraint constraint,
  9584. ) {
  9585. return _spine_physics_constraint_get_cy(
  9586. constraint,
  9587. );
  9588. }
  9589. late final _spine_physics_constraint_get_cyPtr =
  9590. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9591. 'spine_physics_constraint_get_cy');
  9592. late final _spine_physics_constraint_get_cy =
  9593. _spine_physics_constraint_get_cyPtr
  9594. .asFunction<double Function(spine_physics_constraint)>();
  9595. void spine_physics_constraint_set_tx(
  9596. spine_physics_constraint constraint,
  9597. double value,
  9598. ) {
  9599. return _spine_physics_constraint_set_tx(
  9600. constraint,
  9601. value,
  9602. );
  9603. }
  9604. late final _spine_physics_constraint_set_txPtr = _lookup<
  9605. ffi.NativeFunction<
  9606. ffi.Void Function(spine_physics_constraint,
  9607. ffi.Float)>>('spine_physics_constraint_set_tx');
  9608. late final _spine_physics_constraint_set_tx =
  9609. _spine_physics_constraint_set_txPtr
  9610. .asFunction<void Function(spine_physics_constraint, double)>();
  9611. double spine_physics_constraint_get_tx(
  9612. spine_physics_constraint constraint,
  9613. ) {
  9614. return _spine_physics_constraint_get_tx(
  9615. constraint,
  9616. );
  9617. }
  9618. late final _spine_physics_constraint_get_txPtr =
  9619. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9620. 'spine_physics_constraint_get_tx');
  9621. late final _spine_physics_constraint_get_tx =
  9622. _spine_physics_constraint_get_txPtr
  9623. .asFunction<double Function(spine_physics_constraint)>();
  9624. void spine_physics_constraint_set_ty(
  9625. spine_physics_constraint constraint,
  9626. double value,
  9627. ) {
  9628. return _spine_physics_constraint_set_ty(
  9629. constraint,
  9630. value,
  9631. );
  9632. }
  9633. late final _spine_physics_constraint_set_tyPtr = _lookup<
  9634. ffi.NativeFunction<
  9635. ffi.Void Function(spine_physics_constraint,
  9636. ffi.Float)>>('spine_physics_constraint_set_ty');
  9637. late final _spine_physics_constraint_set_ty =
  9638. _spine_physics_constraint_set_tyPtr
  9639. .asFunction<void Function(spine_physics_constraint, double)>();
  9640. double spine_physics_constraint_get_ty(
  9641. spine_physics_constraint constraint,
  9642. ) {
  9643. return _spine_physics_constraint_get_ty(
  9644. constraint,
  9645. );
  9646. }
  9647. late final _spine_physics_constraint_get_tyPtr =
  9648. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9649. 'spine_physics_constraint_get_ty');
  9650. late final _spine_physics_constraint_get_ty =
  9651. _spine_physics_constraint_get_tyPtr
  9652. .asFunction<double Function(spine_physics_constraint)>();
  9653. void spine_physics_constraint_set_x_offset(
  9654. spine_physics_constraint constraint,
  9655. double value,
  9656. ) {
  9657. return _spine_physics_constraint_set_x_offset(
  9658. constraint,
  9659. value,
  9660. );
  9661. }
  9662. late final _spine_physics_constraint_set_x_offsetPtr = _lookup<
  9663. ffi.NativeFunction<
  9664. ffi.Void Function(spine_physics_constraint,
  9665. ffi.Float)>>('spine_physics_constraint_set_x_offset');
  9666. late final _spine_physics_constraint_set_x_offset =
  9667. _spine_physics_constraint_set_x_offsetPtr
  9668. .asFunction<void Function(spine_physics_constraint, double)>();
  9669. double spine_physics_constraint_get_x_offset(
  9670. spine_physics_constraint constraint,
  9671. ) {
  9672. return _spine_physics_constraint_get_x_offset(
  9673. constraint,
  9674. );
  9675. }
  9676. late final _spine_physics_constraint_get_x_offsetPtr =
  9677. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9678. 'spine_physics_constraint_get_x_offset');
  9679. late final _spine_physics_constraint_get_x_offset =
  9680. _spine_physics_constraint_get_x_offsetPtr
  9681. .asFunction<double Function(spine_physics_constraint)>();
  9682. void spine_physics_constraint_set_x_velocity(
  9683. spine_physics_constraint constraint,
  9684. double value,
  9685. ) {
  9686. return _spine_physics_constraint_set_x_velocity(
  9687. constraint,
  9688. value,
  9689. );
  9690. }
  9691. late final _spine_physics_constraint_set_x_velocityPtr = _lookup<
  9692. ffi.NativeFunction<
  9693. ffi.Void Function(spine_physics_constraint,
  9694. ffi.Float)>>('spine_physics_constraint_set_x_velocity');
  9695. late final _spine_physics_constraint_set_x_velocity =
  9696. _spine_physics_constraint_set_x_velocityPtr
  9697. .asFunction<void Function(spine_physics_constraint, double)>();
  9698. double spine_physics_constraint_get_x_velocity(
  9699. spine_physics_constraint constraint,
  9700. ) {
  9701. return _spine_physics_constraint_get_x_velocity(
  9702. constraint,
  9703. );
  9704. }
  9705. late final _spine_physics_constraint_get_x_velocityPtr =
  9706. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9707. 'spine_physics_constraint_get_x_velocity');
  9708. late final _spine_physics_constraint_get_x_velocity =
  9709. _spine_physics_constraint_get_x_velocityPtr
  9710. .asFunction<double Function(spine_physics_constraint)>();
  9711. void spine_physics_constraint_set_y_offset(
  9712. spine_physics_constraint constraint,
  9713. double value,
  9714. ) {
  9715. return _spine_physics_constraint_set_y_offset(
  9716. constraint,
  9717. value,
  9718. );
  9719. }
  9720. late final _spine_physics_constraint_set_y_offsetPtr = _lookup<
  9721. ffi.NativeFunction<
  9722. ffi.Void Function(spine_physics_constraint,
  9723. ffi.Float)>>('spine_physics_constraint_set_y_offset');
  9724. late final _spine_physics_constraint_set_y_offset =
  9725. _spine_physics_constraint_set_y_offsetPtr
  9726. .asFunction<void Function(spine_physics_constraint, double)>();
  9727. double spine_physics_constraint_get_y_offset(
  9728. spine_physics_constraint constraint,
  9729. ) {
  9730. return _spine_physics_constraint_get_y_offset(
  9731. constraint,
  9732. );
  9733. }
  9734. late final _spine_physics_constraint_get_y_offsetPtr =
  9735. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9736. 'spine_physics_constraint_get_y_offset');
  9737. late final _spine_physics_constraint_get_y_offset =
  9738. _spine_physics_constraint_get_y_offsetPtr
  9739. .asFunction<double Function(spine_physics_constraint)>();
  9740. void spine_physics_constraint_set_y_velocity(
  9741. spine_physics_constraint constraint,
  9742. double value,
  9743. ) {
  9744. return _spine_physics_constraint_set_y_velocity(
  9745. constraint,
  9746. value,
  9747. );
  9748. }
  9749. late final _spine_physics_constraint_set_y_velocityPtr = _lookup<
  9750. ffi.NativeFunction<
  9751. ffi.Void Function(spine_physics_constraint,
  9752. ffi.Float)>>('spine_physics_constraint_set_y_velocity');
  9753. late final _spine_physics_constraint_set_y_velocity =
  9754. _spine_physics_constraint_set_y_velocityPtr
  9755. .asFunction<void Function(spine_physics_constraint, double)>();
  9756. double spine_physics_constraint_get_y_velocity(
  9757. spine_physics_constraint constraint,
  9758. ) {
  9759. return _spine_physics_constraint_get_y_velocity(
  9760. constraint,
  9761. );
  9762. }
  9763. late final _spine_physics_constraint_get_y_velocityPtr =
  9764. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9765. 'spine_physics_constraint_get_y_velocity');
  9766. late final _spine_physics_constraint_get_y_velocity =
  9767. _spine_physics_constraint_get_y_velocityPtr
  9768. .asFunction<double Function(spine_physics_constraint)>();
  9769. void spine_physics_constraint_set_rotate_offset(
  9770. spine_physics_constraint constraint,
  9771. double value,
  9772. ) {
  9773. return _spine_physics_constraint_set_rotate_offset(
  9774. constraint,
  9775. value,
  9776. );
  9777. }
  9778. late final _spine_physics_constraint_set_rotate_offsetPtr = _lookup<
  9779. ffi.NativeFunction<
  9780. ffi.Void Function(spine_physics_constraint,
  9781. ffi.Float)>>('spine_physics_constraint_set_rotate_offset');
  9782. late final _spine_physics_constraint_set_rotate_offset =
  9783. _spine_physics_constraint_set_rotate_offsetPtr
  9784. .asFunction<void Function(spine_physics_constraint, double)>();
  9785. double spine_physics_constraint_get_rotate_offset(
  9786. spine_physics_constraint constraint,
  9787. ) {
  9788. return _spine_physics_constraint_get_rotate_offset(
  9789. constraint,
  9790. );
  9791. }
  9792. late final _spine_physics_constraint_get_rotate_offsetPtr =
  9793. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9794. 'spine_physics_constraint_get_rotate_offset');
  9795. late final _spine_physics_constraint_get_rotate_offset =
  9796. _spine_physics_constraint_get_rotate_offsetPtr
  9797. .asFunction<double Function(spine_physics_constraint)>();
  9798. void spine_physics_constraint_set_rotate_velocity(
  9799. spine_physics_constraint constraint,
  9800. double value,
  9801. ) {
  9802. return _spine_physics_constraint_set_rotate_velocity(
  9803. constraint,
  9804. value,
  9805. );
  9806. }
  9807. late final _spine_physics_constraint_set_rotate_velocityPtr = _lookup<
  9808. ffi.NativeFunction<
  9809. ffi.Void Function(spine_physics_constraint,
  9810. ffi.Float)>>('spine_physics_constraint_set_rotate_velocity');
  9811. late final _spine_physics_constraint_set_rotate_velocity =
  9812. _spine_physics_constraint_set_rotate_velocityPtr
  9813. .asFunction<void Function(spine_physics_constraint, double)>();
  9814. double spine_physics_constraint_get_rotate_velocity(
  9815. spine_physics_constraint constraint,
  9816. ) {
  9817. return _spine_physics_constraint_get_rotate_velocity(
  9818. constraint,
  9819. );
  9820. }
  9821. late final _spine_physics_constraint_get_rotate_velocityPtr =
  9822. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9823. 'spine_physics_constraint_get_rotate_velocity');
  9824. late final _spine_physics_constraint_get_rotate_velocity =
  9825. _spine_physics_constraint_get_rotate_velocityPtr
  9826. .asFunction<double Function(spine_physics_constraint)>();
  9827. void spine_physics_constraint_set_scale_offset(
  9828. spine_physics_constraint constraint,
  9829. double value,
  9830. ) {
  9831. return _spine_physics_constraint_set_scale_offset(
  9832. constraint,
  9833. value,
  9834. );
  9835. }
  9836. late final _spine_physics_constraint_set_scale_offsetPtr = _lookup<
  9837. ffi.NativeFunction<
  9838. ffi.Void Function(spine_physics_constraint,
  9839. ffi.Float)>>('spine_physics_constraint_set_scale_offset');
  9840. late final _spine_physics_constraint_set_scale_offset =
  9841. _spine_physics_constraint_set_scale_offsetPtr
  9842. .asFunction<void Function(spine_physics_constraint, double)>();
  9843. double spine_physics_constraint_get_scale_offset(
  9844. spine_physics_constraint constraint,
  9845. ) {
  9846. return _spine_physics_constraint_get_scale_offset(
  9847. constraint,
  9848. );
  9849. }
  9850. late final _spine_physics_constraint_get_scale_offsetPtr =
  9851. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9852. 'spine_physics_constraint_get_scale_offset');
  9853. late final _spine_physics_constraint_get_scale_offset =
  9854. _spine_physics_constraint_get_scale_offsetPtr
  9855. .asFunction<double Function(spine_physics_constraint)>();
  9856. void spine_physics_constraint_set_scale_velocity(
  9857. spine_physics_constraint constraint,
  9858. double value,
  9859. ) {
  9860. return _spine_physics_constraint_set_scale_velocity(
  9861. constraint,
  9862. value,
  9863. );
  9864. }
  9865. late final _spine_physics_constraint_set_scale_velocityPtr = _lookup<
  9866. ffi.NativeFunction<
  9867. ffi.Void Function(spine_physics_constraint,
  9868. ffi.Float)>>('spine_physics_constraint_set_scale_velocity');
  9869. late final _spine_physics_constraint_set_scale_velocity =
  9870. _spine_physics_constraint_set_scale_velocityPtr
  9871. .asFunction<void Function(spine_physics_constraint, double)>();
  9872. double spine_physics_constraint_get_scale_velocity(
  9873. spine_physics_constraint constraint,
  9874. ) {
  9875. return _spine_physics_constraint_get_scale_velocity(
  9876. constraint,
  9877. );
  9878. }
  9879. late final _spine_physics_constraint_get_scale_velocityPtr =
  9880. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9881. 'spine_physics_constraint_get_scale_velocity');
  9882. late final _spine_physics_constraint_get_scale_velocity =
  9883. _spine_physics_constraint_get_scale_velocityPtr
  9884. .asFunction<double Function(spine_physics_constraint)>();
  9885. void spine_physics_constraint_set_active(
  9886. spine_physics_constraint constraint,
  9887. int value,
  9888. ) {
  9889. return _spine_physics_constraint_set_active(
  9890. constraint,
  9891. value,
  9892. );
  9893. }
  9894. late final _spine_physics_constraint_set_activePtr = _lookup<
  9895. ffi.NativeFunction<
  9896. ffi.Void Function(spine_physics_constraint,
  9897. spine_bool)>>('spine_physics_constraint_set_active');
  9898. late final _spine_physics_constraint_set_active =
  9899. _spine_physics_constraint_set_activePtr
  9900. .asFunction<void Function(spine_physics_constraint, int)>();
  9901. int spine_physics_constraint_is_active(
  9902. spine_physics_constraint constraint,
  9903. ) {
  9904. return _spine_physics_constraint_is_active(
  9905. constraint,
  9906. );
  9907. }
  9908. late final _spine_physics_constraint_is_activePtr = _lookup<
  9909. ffi.NativeFunction<spine_bool Function(spine_physics_constraint)>>(
  9910. 'spine_physics_constraint_is_active');
  9911. late final _spine_physics_constraint_is_active =
  9912. _spine_physics_constraint_is_activePtr
  9913. .asFunction<int Function(spine_physics_constraint)>();
  9914. void spine_physics_constraint_set_remaining(
  9915. spine_physics_constraint constraint,
  9916. double value,
  9917. ) {
  9918. return _spine_physics_constraint_set_remaining(
  9919. constraint,
  9920. value,
  9921. );
  9922. }
  9923. late final _spine_physics_constraint_set_remainingPtr = _lookup<
  9924. ffi.NativeFunction<
  9925. ffi.Void Function(spine_physics_constraint,
  9926. ffi.Float)>>('spine_physics_constraint_set_remaining');
  9927. late final _spine_physics_constraint_set_remaining =
  9928. _spine_physics_constraint_set_remainingPtr
  9929. .asFunction<void Function(spine_physics_constraint, double)>();
  9930. double spine_physics_constraint_get_remaining(
  9931. spine_physics_constraint constraint,
  9932. ) {
  9933. return _spine_physics_constraint_get_remaining(
  9934. constraint,
  9935. );
  9936. }
  9937. late final _spine_physics_constraint_get_remainingPtr =
  9938. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9939. 'spine_physics_constraint_get_remaining');
  9940. late final _spine_physics_constraint_get_remaining =
  9941. _spine_physics_constraint_get_remainingPtr
  9942. .asFunction<double Function(spine_physics_constraint)>();
  9943. void spine_physics_constraint_set_last_time(
  9944. spine_physics_constraint constraint,
  9945. double value,
  9946. ) {
  9947. return _spine_physics_constraint_set_last_time(
  9948. constraint,
  9949. value,
  9950. );
  9951. }
  9952. late final _spine_physics_constraint_set_last_timePtr = _lookup<
  9953. ffi.NativeFunction<
  9954. ffi.Void Function(spine_physics_constraint,
  9955. ffi.Float)>>('spine_physics_constraint_set_last_time');
  9956. late final _spine_physics_constraint_set_last_time =
  9957. _spine_physics_constraint_set_last_timePtr
  9958. .asFunction<void Function(spine_physics_constraint, double)>();
  9959. double spine_physics_constraint_get_last_time(
  9960. spine_physics_constraint constraint,
  9961. ) {
  9962. return _spine_physics_constraint_get_last_time(
  9963. constraint,
  9964. );
  9965. }
  9966. late final _spine_physics_constraint_get_last_timePtr =
  9967. _lookup<ffi.NativeFunction<ffi.Float Function(spine_physics_constraint)>>(
  9968. 'spine_physics_constraint_get_last_time');
  9969. late final _spine_physics_constraint_get_last_time =
  9970. _spine_physics_constraint_get_last_timePtr
  9971. .asFunction<double Function(spine_physics_constraint)>();
  9972. void spine_physics_constraint_reset(
  9973. spine_physics_constraint constraint,
  9974. ) {
  9975. return _spine_physics_constraint_reset(
  9976. constraint,
  9977. );
  9978. }
  9979. late final _spine_physics_constraint_resetPtr =
  9980. _lookup<ffi.NativeFunction<ffi.Void Function(spine_physics_constraint)>>(
  9981. 'spine_physics_constraint_reset');
  9982. late final _spine_physics_constraint_reset =
  9983. _spine_physics_constraint_resetPtr
  9984. .asFunction<void Function(spine_physics_constraint)>();
  9985. /// Omitted setToSetupPose()
  9986. void spine_physics_constraint_update(
  9987. spine_physics_constraint data,
  9988. int physics,
  9989. ) {
  9990. return _spine_physics_constraint_update(
  9991. data,
  9992. physics,
  9993. );
  9994. }
  9995. late final _spine_physics_constraint_updatePtr = _lookup<
  9996. ffi.NativeFunction<
  9997. ffi.Void Function(spine_physics_constraint,
  9998. ffi.Int32)>>('spine_physics_constraint_update');
  9999. late final _spine_physics_constraint_update =
  10000. _spine_physics_constraint_updatePtr
  10001. .asFunction<void Function(spine_physics_constraint, int)>();
  10002. void spine_physics_constraint_translate(
  10003. spine_physics_constraint data,
  10004. double x,
  10005. double y,
  10006. ) {
  10007. return _spine_physics_constraint_translate(
  10008. data,
  10009. x,
  10010. y,
  10011. );
  10012. }
  10013. late final _spine_physics_constraint_translatePtr = _lookup<
  10014. ffi.NativeFunction<
  10015. ffi.Void Function(spine_physics_constraint, ffi.Float,
  10016. ffi.Float)>>('spine_physics_constraint_translate');
  10017. late final _spine_physics_constraint_translate =
  10018. _spine_physics_constraint_translatePtr.asFunction<
  10019. void Function(spine_physics_constraint, double, double)>();
  10020. void spine_physics_constraint_rotate(
  10021. spine_physics_constraint data,
  10022. double x,
  10023. double y,
  10024. double degrees,
  10025. ) {
  10026. return _spine_physics_constraint_rotate(
  10027. data,
  10028. x,
  10029. y,
  10030. degrees,
  10031. );
  10032. }
  10033. late final _spine_physics_constraint_rotatePtr = _lookup<
  10034. ffi.NativeFunction<
  10035. ffi.Void Function(spine_physics_constraint, ffi.Float, ffi.Float,
  10036. ffi.Float)>>('spine_physics_constraint_rotate');
  10037. late final _spine_physics_constraint_rotate =
  10038. _spine_physics_constraint_rotatePtr.asFunction<
  10039. void Function(spine_physics_constraint, double, double, double)>();
  10040. /// OMITTED copy()
  10041. void spine_sequence_apply(
  10042. spine_sequence sequence,
  10043. spine_slot slot,
  10044. spine_attachment attachment,
  10045. ) {
  10046. return _spine_sequence_apply(
  10047. sequence,
  10048. slot,
  10049. attachment,
  10050. );
  10051. }
  10052. late final _spine_sequence_applyPtr = _lookup<
  10053. ffi.NativeFunction<
  10054. ffi.Void Function(spine_sequence, spine_slot,
  10055. spine_attachment)>>('spine_sequence_apply');
  10056. late final _spine_sequence_apply = _spine_sequence_applyPtr.asFunction<
  10057. void Function(spine_sequence, spine_slot, spine_attachment)>();
  10058. ffi.Pointer<utf8> spine_sequence_get_path(
  10059. spine_sequence sequence,
  10060. ffi.Pointer<utf8> basePath,
  10061. int index,
  10062. ) {
  10063. return _spine_sequence_get_path(
  10064. sequence,
  10065. basePath,
  10066. index,
  10067. );
  10068. }
  10069. late final _spine_sequence_get_pathPtr = _lookup<
  10070. ffi.NativeFunction<
  10071. ffi.Pointer<utf8> Function(spine_sequence, ffi.Pointer<utf8>,
  10072. ffi.Int32)>>('spine_sequence_get_path');
  10073. late final _spine_sequence_get_path = _spine_sequence_get_pathPtr.asFunction<
  10074. ffi.Pointer<utf8> Function(spine_sequence, ffi.Pointer<utf8>, int)>();
  10075. int spine_sequence_get_id(
  10076. spine_sequence sequence,
  10077. ) {
  10078. return _spine_sequence_get_id(
  10079. sequence,
  10080. );
  10081. }
  10082. late final _spine_sequence_get_idPtr =
  10083. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_sequence)>>(
  10084. 'spine_sequence_get_id');
  10085. late final _spine_sequence_get_id =
  10086. _spine_sequence_get_idPtr.asFunction<int Function(spine_sequence)>();
  10087. void spine_sequence_set_id(
  10088. spine_sequence sequence,
  10089. int id,
  10090. ) {
  10091. return _spine_sequence_set_id(
  10092. sequence,
  10093. id,
  10094. );
  10095. }
  10096. late final _spine_sequence_set_idPtr =
  10097. _lookup<ffi.NativeFunction<ffi.Void Function(spine_sequence, ffi.Int32)>>(
  10098. 'spine_sequence_set_id');
  10099. late final _spine_sequence_set_id = _spine_sequence_set_idPtr
  10100. .asFunction<void Function(spine_sequence, int)>();
  10101. int spine_sequence_get_start(
  10102. spine_sequence sequence,
  10103. ) {
  10104. return _spine_sequence_get_start(
  10105. sequence,
  10106. );
  10107. }
  10108. late final _spine_sequence_get_startPtr =
  10109. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_sequence)>>(
  10110. 'spine_sequence_get_start');
  10111. late final _spine_sequence_get_start =
  10112. _spine_sequence_get_startPtr.asFunction<int Function(spine_sequence)>();
  10113. void spine_sequence_set_start(
  10114. spine_sequence sequence,
  10115. int start,
  10116. ) {
  10117. return _spine_sequence_set_start(
  10118. sequence,
  10119. start,
  10120. );
  10121. }
  10122. late final _spine_sequence_set_startPtr =
  10123. _lookup<ffi.NativeFunction<ffi.Void Function(spine_sequence, ffi.Int32)>>(
  10124. 'spine_sequence_set_start');
  10125. late final _spine_sequence_set_start = _spine_sequence_set_startPtr
  10126. .asFunction<void Function(spine_sequence, int)>();
  10127. int spine_sequence_get_digits(
  10128. spine_sequence sequence,
  10129. ) {
  10130. return _spine_sequence_get_digits(
  10131. sequence,
  10132. );
  10133. }
  10134. late final _spine_sequence_get_digitsPtr =
  10135. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_sequence)>>(
  10136. 'spine_sequence_get_digits');
  10137. late final _spine_sequence_get_digits =
  10138. _spine_sequence_get_digitsPtr.asFunction<int Function(spine_sequence)>();
  10139. void spine_sequence_set_digits(
  10140. spine_sequence sequence,
  10141. int digits,
  10142. ) {
  10143. return _spine_sequence_set_digits(
  10144. sequence,
  10145. digits,
  10146. );
  10147. }
  10148. late final _spine_sequence_set_digitsPtr =
  10149. _lookup<ffi.NativeFunction<ffi.Void Function(spine_sequence, ffi.Int32)>>(
  10150. 'spine_sequence_set_digits');
  10151. late final _spine_sequence_set_digits = _spine_sequence_set_digitsPtr
  10152. .asFunction<void Function(spine_sequence, int)>();
  10153. int spine_sequence_get_setup_index(
  10154. spine_sequence sequence,
  10155. ) {
  10156. return _spine_sequence_get_setup_index(
  10157. sequence,
  10158. );
  10159. }
  10160. late final _spine_sequence_get_setup_indexPtr =
  10161. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_sequence)>>(
  10162. 'spine_sequence_get_setup_index');
  10163. late final _spine_sequence_get_setup_index =
  10164. _spine_sequence_get_setup_indexPtr
  10165. .asFunction<int Function(spine_sequence)>();
  10166. void spine_sequence_set_setup_index(
  10167. spine_sequence sequence,
  10168. int setupIndex,
  10169. ) {
  10170. return _spine_sequence_set_setup_index(
  10171. sequence,
  10172. setupIndex,
  10173. );
  10174. }
  10175. late final _spine_sequence_set_setup_indexPtr =
  10176. _lookup<ffi.NativeFunction<ffi.Void Function(spine_sequence, ffi.Int32)>>(
  10177. 'spine_sequence_set_setup_index');
  10178. late final _spine_sequence_set_setup_index =
  10179. _spine_sequence_set_setup_indexPtr
  10180. .asFunction<void Function(spine_sequence, int)>();
  10181. int spine_sequence_get_num_regions(
  10182. spine_sequence sequence,
  10183. ) {
  10184. return _spine_sequence_get_num_regions(
  10185. sequence,
  10186. );
  10187. }
  10188. late final _spine_sequence_get_num_regionsPtr =
  10189. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_sequence)>>(
  10190. 'spine_sequence_get_num_regions');
  10191. late final _spine_sequence_get_num_regions =
  10192. _spine_sequence_get_num_regionsPtr
  10193. .asFunction<int Function(spine_sequence)>();
  10194. ffi.Pointer<spine_texture_region> spine_sequence_get_regions(
  10195. spine_sequence sequence,
  10196. ) {
  10197. return _spine_sequence_get_regions(
  10198. sequence,
  10199. );
  10200. }
  10201. late final _spine_sequence_get_regionsPtr = _lookup<
  10202. ffi.NativeFunction<
  10203. ffi.Pointer<spine_texture_region> Function(
  10204. spine_sequence)>>('spine_sequence_get_regions');
  10205. late final _spine_sequence_get_regions = _spine_sequence_get_regionsPtr
  10206. .asFunction<ffi.Pointer<spine_texture_region> Function(spine_sequence)>();
  10207. ffi.Pointer<ffi.Void> spine_texture_region_get_texture(
  10208. spine_texture_region textureRegion,
  10209. ) {
  10210. return _spine_texture_region_get_texture(
  10211. textureRegion,
  10212. );
  10213. }
  10214. late final _spine_texture_region_get_texturePtr = _lookup<
  10215. ffi.NativeFunction<
  10216. ffi.Pointer<ffi.Void> Function(
  10217. spine_texture_region)>>('spine_texture_region_get_texture');
  10218. late final _spine_texture_region_get_texture =
  10219. _spine_texture_region_get_texturePtr
  10220. .asFunction<ffi.Pointer<ffi.Void> Function(spine_texture_region)>();
  10221. void spine_texture_region_set_texture(
  10222. spine_texture_region textureRegion,
  10223. ffi.Pointer<ffi.Void> texture,
  10224. ) {
  10225. return _spine_texture_region_set_texture(
  10226. textureRegion,
  10227. texture,
  10228. );
  10229. }
  10230. late final _spine_texture_region_set_texturePtr = _lookup<
  10231. ffi.NativeFunction<
  10232. ffi.Void Function(spine_texture_region,
  10233. ffi.Pointer<ffi.Void>)>>('spine_texture_region_set_texture');
  10234. late final _spine_texture_region_set_texture =
  10235. _spine_texture_region_set_texturePtr.asFunction<
  10236. void Function(spine_texture_region, ffi.Pointer<ffi.Void>)>();
  10237. double spine_texture_region_get_u(
  10238. spine_texture_region textureRegion,
  10239. ) {
  10240. return _spine_texture_region_get_u(
  10241. textureRegion,
  10242. );
  10243. }
  10244. late final _spine_texture_region_get_uPtr =
  10245. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10246. 'spine_texture_region_get_u');
  10247. late final _spine_texture_region_get_u = _spine_texture_region_get_uPtr
  10248. .asFunction<double Function(spine_texture_region)>();
  10249. void spine_texture_region_set_u(
  10250. spine_texture_region textureRegion,
  10251. double u,
  10252. ) {
  10253. return _spine_texture_region_set_u(
  10254. textureRegion,
  10255. u,
  10256. );
  10257. }
  10258. late final _spine_texture_region_set_uPtr = _lookup<
  10259. ffi
  10260. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10261. 'spine_texture_region_set_u');
  10262. late final _spine_texture_region_set_u = _spine_texture_region_set_uPtr
  10263. .asFunction<void Function(spine_texture_region, double)>();
  10264. double spine_texture_region_get_v(
  10265. spine_texture_region textureRegion,
  10266. ) {
  10267. return _spine_texture_region_get_v(
  10268. textureRegion,
  10269. );
  10270. }
  10271. late final _spine_texture_region_get_vPtr =
  10272. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10273. 'spine_texture_region_get_v');
  10274. late final _spine_texture_region_get_v = _spine_texture_region_get_vPtr
  10275. .asFunction<double Function(spine_texture_region)>();
  10276. void spine_texture_region_set_v(
  10277. spine_texture_region textureRegion,
  10278. double v,
  10279. ) {
  10280. return _spine_texture_region_set_v(
  10281. textureRegion,
  10282. v,
  10283. );
  10284. }
  10285. late final _spine_texture_region_set_vPtr = _lookup<
  10286. ffi
  10287. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10288. 'spine_texture_region_set_v');
  10289. late final _spine_texture_region_set_v = _spine_texture_region_set_vPtr
  10290. .asFunction<void Function(spine_texture_region, double)>();
  10291. double spine_texture_region_get_u2(
  10292. spine_texture_region textureRegion,
  10293. ) {
  10294. return _spine_texture_region_get_u2(
  10295. textureRegion,
  10296. );
  10297. }
  10298. late final _spine_texture_region_get_u2Ptr =
  10299. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10300. 'spine_texture_region_get_u2');
  10301. late final _spine_texture_region_get_u2 = _spine_texture_region_get_u2Ptr
  10302. .asFunction<double Function(spine_texture_region)>();
  10303. void spine_texture_region_set_u2(
  10304. spine_texture_region textureRegion,
  10305. double u2,
  10306. ) {
  10307. return _spine_texture_region_set_u2(
  10308. textureRegion,
  10309. u2,
  10310. );
  10311. }
  10312. late final _spine_texture_region_set_u2Ptr = _lookup<
  10313. ffi
  10314. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10315. 'spine_texture_region_set_u2');
  10316. late final _spine_texture_region_set_u2 = _spine_texture_region_set_u2Ptr
  10317. .asFunction<void Function(spine_texture_region, double)>();
  10318. double spine_texture_region_get_v2(
  10319. spine_texture_region textureRegion,
  10320. ) {
  10321. return _spine_texture_region_get_v2(
  10322. textureRegion,
  10323. );
  10324. }
  10325. late final _spine_texture_region_get_v2Ptr =
  10326. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10327. 'spine_texture_region_get_v2');
  10328. late final _spine_texture_region_get_v2 = _spine_texture_region_get_v2Ptr
  10329. .asFunction<double Function(spine_texture_region)>();
  10330. void spine_texture_region_set_v2(
  10331. spine_texture_region textureRegion,
  10332. double v2,
  10333. ) {
  10334. return _spine_texture_region_set_v2(
  10335. textureRegion,
  10336. v2,
  10337. );
  10338. }
  10339. late final _spine_texture_region_set_v2Ptr = _lookup<
  10340. ffi
  10341. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10342. 'spine_texture_region_set_v2');
  10343. late final _spine_texture_region_set_v2 = _spine_texture_region_set_v2Ptr
  10344. .asFunction<void Function(spine_texture_region, double)>();
  10345. int spine_texture_region_get_degrees(
  10346. spine_texture_region textureRegion,
  10347. ) {
  10348. return _spine_texture_region_get_degrees(
  10349. textureRegion,
  10350. );
  10351. }
  10352. late final _spine_texture_region_get_degreesPtr =
  10353. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_texture_region)>>(
  10354. 'spine_texture_region_get_degrees');
  10355. late final _spine_texture_region_get_degrees =
  10356. _spine_texture_region_get_degreesPtr
  10357. .asFunction<int Function(spine_texture_region)>();
  10358. void spine_texture_region_set_degrees(
  10359. spine_texture_region textureRegion,
  10360. int degrees,
  10361. ) {
  10362. return _spine_texture_region_set_degrees(
  10363. textureRegion,
  10364. degrees,
  10365. );
  10366. }
  10367. late final _spine_texture_region_set_degreesPtr = _lookup<
  10368. ffi
  10369. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Int32)>>(
  10370. 'spine_texture_region_set_degrees');
  10371. late final _spine_texture_region_set_degrees =
  10372. _spine_texture_region_set_degreesPtr
  10373. .asFunction<void Function(spine_texture_region, int)>();
  10374. double spine_texture_region_get_offset_x(
  10375. spine_texture_region textureRegion,
  10376. ) {
  10377. return _spine_texture_region_get_offset_x(
  10378. textureRegion,
  10379. );
  10380. }
  10381. late final _spine_texture_region_get_offset_xPtr =
  10382. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10383. 'spine_texture_region_get_offset_x');
  10384. late final _spine_texture_region_get_offset_x =
  10385. _spine_texture_region_get_offset_xPtr
  10386. .asFunction<double Function(spine_texture_region)>();
  10387. void spine_texture_region_set_offset_x(
  10388. spine_texture_region textureRegion,
  10389. double offsetX,
  10390. ) {
  10391. return _spine_texture_region_set_offset_x(
  10392. textureRegion,
  10393. offsetX,
  10394. );
  10395. }
  10396. late final _spine_texture_region_set_offset_xPtr = _lookup<
  10397. ffi
  10398. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10399. 'spine_texture_region_set_offset_x');
  10400. late final _spine_texture_region_set_offset_x =
  10401. _spine_texture_region_set_offset_xPtr
  10402. .asFunction<void Function(spine_texture_region, double)>();
  10403. double spine_texture_region_get_offset_y(
  10404. spine_texture_region textureRegion,
  10405. ) {
  10406. return _spine_texture_region_get_offset_y(
  10407. textureRegion,
  10408. );
  10409. }
  10410. late final _spine_texture_region_get_offset_yPtr =
  10411. _lookup<ffi.NativeFunction<ffi.Float Function(spine_texture_region)>>(
  10412. 'spine_texture_region_get_offset_y');
  10413. late final _spine_texture_region_get_offset_y =
  10414. _spine_texture_region_get_offset_yPtr
  10415. .asFunction<double Function(spine_texture_region)>();
  10416. void spine_texture_region_set_offset_y(
  10417. spine_texture_region textureRegion,
  10418. double offsetY,
  10419. ) {
  10420. return _spine_texture_region_set_offset_y(
  10421. textureRegion,
  10422. offsetY,
  10423. );
  10424. }
  10425. late final _spine_texture_region_set_offset_yPtr = _lookup<
  10426. ffi
  10427. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Float)>>(
  10428. 'spine_texture_region_set_offset_y');
  10429. late final _spine_texture_region_set_offset_y =
  10430. _spine_texture_region_set_offset_yPtr
  10431. .asFunction<void Function(spine_texture_region, double)>();
  10432. int spine_texture_region_get_width(
  10433. spine_texture_region textureRegion,
  10434. ) {
  10435. return _spine_texture_region_get_width(
  10436. textureRegion,
  10437. );
  10438. }
  10439. late final _spine_texture_region_get_widthPtr =
  10440. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_texture_region)>>(
  10441. 'spine_texture_region_get_width');
  10442. late final _spine_texture_region_get_width =
  10443. _spine_texture_region_get_widthPtr
  10444. .asFunction<int Function(spine_texture_region)>();
  10445. void spine_texture_region_set_width(
  10446. spine_texture_region textureRegion,
  10447. int width,
  10448. ) {
  10449. return _spine_texture_region_set_width(
  10450. textureRegion,
  10451. width,
  10452. );
  10453. }
  10454. late final _spine_texture_region_set_widthPtr = _lookup<
  10455. ffi
  10456. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Int32)>>(
  10457. 'spine_texture_region_set_width');
  10458. late final _spine_texture_region_set_width =
  10459. _spine_texture_region_set_widthPtr
  10460. .asFunction<void Function(spine_texture_region, int)>();
  10461. int spine_texture_region_get_height(
  10462. spine_texture_region textureRegion,
  10463. ) {
  10464. return _spine_texture_region_get_height(
  10465. textureRegion,
  10466. );
  10467. }
  10468. late final _spine_texture_region_get_heightPtr =
  10469. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_texture_region)>>(
  10470. 'spine_texture_region_get_height');
  10471. late final _spine_texture_region_get_height =
  10472. _spine_texture_region_get_heightPtr
  10473. .asFunction<int Function(spine_texture_region)>();
  10474. void spine_texture_region_set_height(
  10475. spine_texture_region textureRegion,
  10476. int height,
  10477. ) {
  10478. return _spine_texture_region_set_height(
  10479. textureRegion,
  10480. height,
  10481. );
  10482. }
  10483. late final _spine_texture_region_set_heightPtr = _lookup<
  10484. ffi
  10485. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Int32)>>(
  10486. 'spine_texture_region_set_height');
  10487. late final _spine_texture_region_set_height =
  10488. _spine_texture_region_set_heightPtr
  10489. .asFunction<void Function(spine_texture_region, int)>();
  10490. int spine_texture_region_get_original_width(
  10491. spine_texture_region textureRegion,
  10492. ) {
  10493. return _spine_texture_region_get_original_width(
  10494. textureRegion,
  10495. );
  10496. }
  10497. late final _spine_texture_region_get_original_widthPtr =
  10498. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_texture_region)>>(
  10499. 'spine_texture_region_get_original_width');
  10500. late final _spine_texture_region_get_original_width =
  10501. _spine_texture_region_get_original_widthPtr
  10502. .asFunction<int Function(spine_texture_region)>();
  10503. void spine_texture_region_set_original_width(
  10504. spine_texture_region textureRegion,
  10505. int originalWidth,
  10506. ) {
  10507. return _spine_texture_region_set_original_width(
  10508. textureRegion,
  10509. originalWidth,
  10510. );
  10511. }
  10512. late final _spine_texture_region_set_original_widthPtr = _lookup<
  10513. ffi
  10514. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Int32)>>(
  10515. 'spine_texture_region_set_original_width');
  10516. late final _spine_texture_region_set_original_width =
  10517. _spine_texture_region_set_original_widthPtr
  10518. .asFunction<void Function(spine_texture_region, int)>();
  10519. int spine_texture_region_get_original_height(
  10520. spine_texture_region textureRegion,
  10521. ) {
  10522. return _spine_texture_region_get_original_height(
  10523. textureRegion,
  10524. );
  10525. }
  10526. late final _spine_texture_region_get_original_heightPtr =
  10527. _lookup<ffi.NativeFunction<ffi.Int32 Function(spine_texture_region)>>(
  10528. 'spine_texture_region_get_original_height');
  10529. late final _spine_texture_region_get_original_height =
  10530. _spine_texture_region_get_original_heightPtr
  10531. .asFunction<int Function(spine_texture_region)>();
  10532. void spine_texture_region_set_original_height(
  10533. spine_texture_region textureRegion,
  10534. int originalHeight,
  10535. ) {
  10536. return _spine_texture_region_set_original_height(
  10537. textureRegion,
  10538. originalHeight,
  10539. );
  10540. }
  10541. late final _spine_texture_region_set_original_heightPtr = _lookup<
  10542. ffi
  10543. .NativeFunction<ffi.Void Function(spine_texture_region, ffi.Int32)>>(
  10544. 'spine_texture_region_set_original_height');
  10545. late final _spine_texture_region_set_original_height =
  10546. _spine_texture_region_set_original_heightPtr
  10547. .asFunction<void Function(spine_texture_region, int)>();
  10548. }
  10549. class spine_skeleton_wrapper extends ffi.Opaque {}
  10550. class spine_skeleton_data_wrapper extends ffi.Opaque {}
  10551. class spine_bone_wrapper extends ffi.Opaque {}
  10552. class spine_bone_data_wrapper extends ffi.Opaque {}
  10553. class spine_slot_wrapper extends ffi.Opaque {}
  10554. class spine_slot_data_wrapper extends ffi.Opaque {}
  10555. class spine_skin_wrapper extends ffi.Opaque {}
  10556. class spine_attachment_wrapper extends ffi.Opaque {}
  10557. class spine_region_attachment_wrapper extends ffi.Opaque {}
  10558. class spine_vertex_attachment_wrapper extends ffi.Opaque {}
  10559. class spine_mesh_attachment_wrapper extends ffi.Opaque {}
  10560. class spine_clipping_attachment_wrapper extends ffi.Opaque {}
  10561. class spine_bounding_box_attachment_wrapper extends ffi.Opaque {}
  10562. class spine_path_attachment_wrapper extends ffi.Opaque {}
  10563. class spine_point_attachment_wrapper extends ffi.Opaque {}
  10564. class spine_texture_region_wrapper extends ffi.Opaque {}
  10565. class spine_sequence_wrapper extends ffi.Opaque {}
  10566. class spine_constraint_wrapper extends ffi.Opaque {}
  10567. class spine_constraint_data_wrapper extends ffi.Opaque {}
  10568. class spine_ik_constraint_wrapper extends ffi.Opaque {}
  10569. class spine_ik_constraint_data_wrapper extends ffi.Opaque {}
  10570. class spine_transform_constraint_wrapper extends ffi.Opaque {}
  10571. class spine_transform_constraint_data_wrapper extends ffi.Opaque {}
  10572. class spine_path_constraint_wrapper extends ffi.Opaque {}
  10573. class spine_path_constraint_data_wrapper extends ffi.Opaque {}
  10574. class spine_physics_constraint_wrapper extends ffi.Opaque {}
  10575. class spine_physics_constraint_data_wrapper extends ffi.Opaque {}
  10576. class spine_animation_state_wrapper extends ffi.Opaque {}
  10577. class spine_animation_state_data_wrapper extends ffi.Opaque {}
  10578. class spine_animation_state_events_wrapper extends ffi.Opaque {}
  10579. class spine_event_wrapper extends ffi.Opaque {}
  10580. class spine_event_data_wrapper extends ffi.Opaque {}
  10581. class spine_track_entry_wrapper extends ffi.Opaque {}
  10582. class spine_animation_wrapper extends ffi.Opaque {}
  10583. class spine_atlas_wrapper extends ffi.Opaque {}
  10584. class spine_skeleton_data_result_wrapper extends ffi.Opaque {}
  10585. class spine_render_command_wrapper extends ffi.Opaque {}
  10586. class spine_bounds_wrapper extends ffi.Opaque {}
  10587. class spine_color_wrapper extends ffi.Opaque {}
  10588. class spine_vector_wrapper extends ffi.Opaque {}
  10589. class spine_skeleton_drawable_wrapper extends ffi.Opaque {}
  10590. class spine_skin_entry_wrapper extends ffi.Opaque {}
  10591. class spine_skin_entries_wrapper extends ffi.Opaque {}
  10592. abstract class spine_blend_mode {
  10593. static const int SPINE_BLEND_MODE_NORMAL = 0;
  10594. static const int SPINE_BLEND_MODE_ADDITIVE = 1;
  10595. static const int SPINE_BLEND_MODE_MULTIPLY = 2;
  10596. static const int SPINE_BLEND_MODE_SCREEN = 3;
  10597. }
  10598. abstract class spine_mix_blend {
  10599. static const int SPINE_MIX_BLEND_SETUP = 0;
  10600. static const int SPINE_MIX_BLEND_FIRST = 1;
  10601. static const int SPINE_MIX_BLEND_REPLACE = 2;
  10602. static const int SPINE_MIX_BLEND_ADD = 3;
  10603. }
  10604. abstract class spine_event_type {
  10605. static const int SPINE_EVENT_TYPE_START = 0;
  10606. static const int SPINE_EVENT_TYPE_INTERRUPT = 1;
  10607. static const int SPINE_EVENT_TYPE_END = 2;
  10608. static const int SPINE_EVENT_TYPE_COMPLETE = 3;
  10609. static const int SPINE_EVENT_TYPE_DISPOSE = 4;
  10610. static const int SPINE_EVENT_TYPE_EVENT = 5;
  10611. }
  10612. abstract class spine_attachment_type {
  10613. static const int SPINE_ATTACHMENT_REGION = 0;
  10614. static const int SPINE_ATTACHMENT_MESH = 1;
  10615. static const int SPINE_ATTACHMENT_CLIPPING = 2;
  10616. static const int SPINE_ATTACHMENT_BOUNDING_BOX = 3;
  10617. static const int SPINE_ATTACHMENT_PATH = 4;
  10618. static const int SPINE_ATTACHMENT_POINT = 5;
  10619. }
  10620. abstract class spine_constraint_type {
  10621. static const int SPINE_CONSTRAINT_IK = 0;
  10622. static const int SPINE_CONSTRAINT_TRANSFORM = 1;
  10623. static const int SPINE_CONSTRAINT_PATH = 2;
  10624. }
  10625. abstract class spine_inherit {
  10626. static const int SPINE_INHERIT_NORMAL = 0;
  10627. static const int SPINE_INHERIT_ONLY_TRANSLATION = 1;
  10628. static const int SPINE_INHERIT_NO_ROTATION_OR_REFLECTION = 2;
  10629. static const int SPINE_INHERIT_NO_SCALE = 3;
  10630. static const int SPINE_INHERIT_NO_SCALE_OR_REFLECTION = 4;
  10631. }
  10632. abstract class spine_position_mode {
  10633. static const int SPINE_POSITION_MODE_FIXED = 0;
  10634. static const int SPINE_POSITION_MODE_PERCENT = 1;
  10635. }
  10636. abstract class spine_spacing_mode {
  10637. static const int SPINE_SPACING_MODE_LENGTH = 0;
  10638. static const int SPINE_SPACING_MODE_FIXED = 1;
  10639. static const int SPINE_SPACING_MODE_PERCENT = 2;
  10640. static const int SPINE_SPACING_MODE_PROPORTIONAL = 3;
  10641. }
  10642. abstract class spine_rotate_mode {
  10643. static const int SPINE_ROTATE_MODE_TANGENT = 0;
  10644. static const int SPINE_ROTATE_MODE_CHAIN = 1;
  10645. static const int SPINE_ROTATE_MODE_CHAIN_SCALE = 2;
  10646. }
  10647. abstract class spine_physics {
  10648. static const int SPINE_PHYSICS_NONE = 0;
  10649. static const int SPINE_PHYSICS_RESET = 1;
  10650. static const int SPINE_PHYSICS_UPDATE = 2;
  10651. static const int SPINE_PHYSICS_POSE = 3;
  10652. }
  10653. typedef spine_bool = ffi.Int32;
  10654. typedef Dartspine_bool = int;
  10655. typedef spine_color = ffi.Pointer<spine_color_wrapper>;
  10656. typedef spine_bounds = ffi.Pointer<spine_bounds_wrapper>;
  10657. typedef spine_vector = ffi.Pointer<spine_vector_wrapper>;
  10658. typedef spine_atlas = ffi.Pointer<spine_atlas_wrapper>;
  10659. typedef utf8 = ffi.Char;
  10660. typedef Dartutf8 = int;
  10661. typedef spine_skeleton_data_result
  10662. = ffi.Pointer<spine_skeleton_data_result_wrapper>;
  10663. typedef spine_skeleton_data = ffi.Pointer<spine_skeleton_data_wrapper>;
  10664. typedef spine_bone_data = ffi.Pointer<spine_bone_data_wrapper>;
  10665. typedef spine_slot_data = ffi.Pointer<spine_slot_data_wrapper>;
  10666. typedef spine_skin = ffi.Pointer<spine_skin_wrapper>;
  10667. typedef spine_event_data = ffi.Pointer<spine_event_data_wrapper>;
  10668. typedef spine_animation = ffi.Pointer<spine_animation_wrapper>;
  10669. typedef spine_ik_constraint_data
  10670. = ffi.Pointer<spine_ik_constraint_data_wrapper>;
  10671. typedef spine_transform_constraint_data
  10672. = ffi.Pointer<spine_transform_constraint_data_wrapper>;
  10673. typedef spine_path_constraint_data
  10674. = ffi.Pointer<spine_path_constraint_data_wrapper>;
  10675. typedef spine_physics_constraint_data
  10676. = ffi.Pointer<spine_physics_constraint_data_wrapper>;
  10677. typedef spine_skeleton_drawable = ffi.Pointer<spine_skeleton_drawable_wrapper>;
  10678. typedef spine_render_command = ffi.Pointer<spine_render_command_wrapper>;
  10679. typedef spine_skeleton = ffi.Pointer<spine_skeleton_wrapper>;
  10680. typedef spine_animation_state = ffi.Pointer<spine_animation_state_wrapper>;
  10681. typedef spine_animation_state_data
  10682. = ffi.Pointer<spine_animation_state_data_wrapper>;
  10683. typedef spine_animation_state_events
  10684. = ffi.Pointer<spine_animation_state_events_wrapper>;
  10685. typedef spine_track_entry = ffi.Pointer<spine_track_entry_wrapper>;
  10686. typedef spine_event = ffi.Pointer<spine_event_wrapper>;
  10687. typedef spine_bone = ffi.Pointer<spine_bone_wrapper>;
  10688. typedef spine_slot = ffi.Pointer<spine_slot_wrapper>;
  10689. typedef spine_attachment = ffi.Pointer<spine_attachment_wrapper>;
  10690. typedef spine_ik_constraint = ffi.Pointer<spine_ik_constraint_wrapper>;
  10691. typedef spine_transform_constraint
  10692. = ffi.Pointer<spine_transform_constraint_wrapper>;
  10693. typedef spine_path_constraint = ffi.Pointer<spine_path_constraint_wrapper>;
  10694. typedef spine_physics_constraint
  10695. = ffi.Pointer<spine_physics_constraint_wrapper>;
  10696. typedef spine_point_attachment = ffi.Pointer<spine_point_attachment_wrapper>;
  10697. typedef spine_region_attachment = ffi.Pointer<spine_region_attachment_wrapper>;
  10698. typedef spine_texture_region = ffi.Pointer<spine_texture_region_wrapper>;
  10699. typedef spine_sequence = ffi.Pointer<spine_sequence_wrapper>;
  10700. typedef spine_vertex_attachment = ffi.Pointer<spine_vertex_attachment_wrapper>;
  10701. typedef spine_mesh_attachment = ffi.Pointer<spine_mesh_attachment_wrapper>;
  10702. typedef spine_clipping_attachment
  10703. = ffi.Pointer<spine_clipping_attachment_wrapper>;
  10704. typedef spine_bounding_box_attachment
  10705. = ffi.Pointer<spine_bounding_box_attachment_wrapper>;
  10706. typedef spine_path_attachment = ffi.Pointer<spine_path_attachment_wrapper>;
  10707. typedef spine_skin_entries = ffi.Pointer<spine_skin_entries_wrapper>;
  10708. typedef spine_skin_entry = ffi.Pointer<spine_skin_entry_wrapper>;
  10709. typedef spine_constraint_data = ffi.Pointer<spine_constraint_data_wrapper>;