From be210403bf4ade1731a9a981181b4a032e500321 Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 17:55:12 +0200 Subject: [PATCH 1/6] build fix --- .vs/flecs/v17/.suo | Bin 0 -> 49664 bytes .../Flecs.Examples.Entities.Basics/Program.cs | 2 +- src/cs/production/Flecs/EntityIterator.cs | 4 +- src/cs/production/Flecs/Flecs.csproj | 3 + src/cs/production/Flecs/Iterator.cs | 2 +- src/cs/production/Flecs/World.cs | 19 +- src/cs/production/Flecs/flecs.cs | 12295 ++++++++-------- 7 files changed, 6165 insertions(+), 6160 deletions(-) create mode 100644 .vs/flecs/v17/.suo diff --git a/.vs/flecs/v17/.suo b/.vs/flecs/v17/.suo new file mode 100644 index 0000000000000000000000000000000000000000..5a682405daa76e705b78640970d9009441530bfa GIT binary patch literal 49664 zcmeHQeUKc*b)VITg&;N%35D1SI)wPN=DZ(syL%@r-`(CW!ja%W(h1@z=-y+uPln*`1SaVS4NB^vrbk>yP)kU%z>8=9QPve*ON(-~Z2AO<1oj)ZTh~srDY* z^#I}v)cIMOcA9nm*4uBt&C3e`i29*}df-~Egx`eLr6sj79Lw4P4yEI;LR&mF=8I;@ z^^G5YsBq5%KMS0TbjNj>co-N<+Ai%%U@st+)b`I(%JkbSK#}(Do_@Ff+4pf7uPN;uoSgXw4boUhIt5A%8d|P*MUDk z9$gGzKg^O`+`bq8e`hiB62yOP??5X~o?ec7ESvG)!0|T$O94#6Yrlo~*?=7@k_-Ed=|5;4 z8TUGTyv?$=BL4_r8{j&?^?=_4d<>8Vu-~@h$a*icj$XIHO?fAi|6k7^nd1M$-Do_5 z;=hy0|4#$2&;O$Pr+Ag~2j>CB_lkx%O)-8Bj^uyFnTDa3|GRLX{Qq76(>US(6-evz zzv#|W^7m=<|7QS405=0Z3-}!14*^F3w*o#7;CTK4j$gFmkK=ed;7fon1MUFa3AhXJ zM}V&YnCFkJBja|s57)l|xF7HU;6cDcfNugG27C+fCxAZ%JOcO*;8B1o<1xhl%sT(B zb$kNHC$0DoaD2*&GmjtY_rM?|o|3j(+XHE*jH6Sz2VE<|O2{7p#3(BegS^`O|LeGY ziIrpv@K%6#BV?TlB%#gPP9cL$XgMJnRhk#2QT|zgG?YD@;{O`ba__=00<2p^9~8AL zj{8vq%72rnPi|J}k8{@oG2c->a*F?}NXvPZVE{5;2J+tl)Pp^+8CXk@L`_IMLs|mz za0I^rEv)t8Kc+>sxXft%N6~)DRFt!v;=c!JxmRO&r}Dqg^Q4B^gU|o(ZvI#6>1;>J zbxcFqj&rTr^Kt)2xsZDqt^t%2DbrClJQu)usnPzg3-`_kDEV&<;uiwc{*P+}_ki60 zanH9FpaZyd_z)ln2m!)?2*3dJ0HS~xfHP$;pbxMPa5><^fM#t?;(iKn1z-c z8rcDwD1*zkfdWly{CPA5g-*v1ZlV1g`+lpKX804JLCSbc;JysbO+oRR zwjT1&X(&tefmLkN1LZ}^YYa~DE8ZX6E}Ln6*aHtNS2xlIN-UTj z^riGcCT7Ihu?zWI;3sYdRc^DR8~n5Bqc1}Hxz2IDn+yCy=#@##gIwF{g|$}ya}90< zzZ3f7`r0Uv{)ktFM(OO=zkn0YfecRYb3Jbqh@bL+8~nE+{asdp)Uk8MQ~Yh854zFw z&Dzc)TG9V=?*9i1{}wTy3}ckb;5E4iCg*YQsm4Aiq#r9o&EYb%pE8k~_S@x~Cqm{{hOPms(>`7h%ms`}*&M{u}W=i)}^z_&)Lx7()H4R&BrPiPfY)Kj}GX;D1_A_NHquI?H2!!g%|$f-n+|B zf9tiQ#~;4ru6y?W#}&sOd+E*>e;A0r_{95u!M(r~h9@6cqHV_Nwfxu;?Z}JO>$ysI zt} zEz5|dt+R0rU;556pGl=`(G%&+W*3qf9m?z%NHN` zm-YYii3K}j%RhQ}`*T0(K0ExszdUMhqw2*l- zN({C52hqtUx_dXItP+Mq${_Zd$b9M_`;P$kjcWl;@h?SM%8U%P_$4MOb+RS{sK+=Y zW6DIM77@st@}K%Q;_bqzQ~boeNM;AI4M4{i#QL6u)*`rC$^l}`81;WDddQBwIKfw zAm4JUkXrop>EDiVdc2kSzaK?V7s61BpYkqckH$NGnNR&g{uMR=oY$T9|3{Fv5&sdt z+;{5=UIK@xi%UTRr z+y7Pk2SE9JB2jFN9Cz6N#H&Kn#MVta{ck{f^J4EchBg;5%cTTP_C6)j*#h~WxX(aB z9%oC>`*!?;;O-n|`yIf>9;Ys1BVybS4hhbuhOBW={ZHHsjZ;?d*zwouy43EMwJA2$ ze97{7;vMThW+ErCMLV za3~9D#fXM;vBJU=Ym8hr5{*ZrdN7zP=(rryGvQ!fkHs@Rp-?0m?g@tiC)NZ*k=~Gz zkLmevGz_enupTdD41v`!BjI=^WTLd*XdzUHm~p)jW3pTx$;^DO9*vv1a8C|6!{LR` zz0_~X*?--o{mpk@xj{Q_6El?rmK>WHoj7pigjvo^l*$mrszRZ(!GhM=l_)kgxAN;Y zkZ~D=oVO&`4L=?E)fIQHc>Uu0K7Gf1lh^;}h?;N9pesIy3qnEtQk z--~hCDgJFpJ7N{%WdGSr2Qm-zKT~7xwEe#Rr@Bs7w8dY2^WVSs%OkHo_2l8tt=zWq z#(%rz&)5Cr*y`P1_`iMIKk}(FZzrL!XYIiv9vo`-uhl!vW7JtQIHA9YOj`G!^mhsF zxY57Z^*?nBb$PLV&$uk4jpXg%ceelBf^}gN_NN(0Ak$}IC4Z|rIBCXvkVx(SXl+Bw zBks7k%jVAeT3n;t&Gq0K%)*pJ`D}vHk<^e@vBWX{%W&!jzg_;buQ#>NzlMQr3_tEe zQmBLdxs$3vEA3y5%$E2+ZN00-KO$N_0bNN3tAuJhYn(^V>=Yx>kM>{aviFIpI>-UcJK4Kg)gk{8@zX9*=5_8?z)EY@)Hj%zIDN&oi8DteB=H%KED0g z6}-+`_gnbcrdIN^A6Wlt8^-%_>NvF9{^X|A7UE7OHV->SYD*X%**x4%ep^v3MXUWb zJ^O;`r{b*MHQuOqy`5`mOLpa+l04gGlWNnLWoX&Q{app10>we<#1lfDEO%v2@)y8~ zUET=q|{V6Nu-5r-a>A82Y?0erfS!br0&pT`r~C1GqMVtLdqyPuz`dLVkIb zPyM=~{|j0FA(RwB3eHM7U?L6^=bH8x9a{4op0G`b7ChUbE!YDp;#ibBdK@ak{*;u| zDLg<9CgmvIMd$E9ZO!+?#>wa?>Zxr3<+nYe1IVv=cY)z-kS=2-pQR@O)QC;`cd8fBSwytx>W2Q_F(sB^m+kIE{DDEC3R4eA& z|6mh!3hjRm2i%REn#*X0l*S6leQdJ^B(2$wyUlvWOx(W*0q$y1r61;RH=K^P^0U5^r}*@R3$ z4Y9LP8fxCQ4JfXNUkR#d_3XIbVE?y`X(x9It=S}+DQBczC`8)tw`zo05F9LLxoTXR zUn(4&FUC$T>aA9*Hv}V{^vd}^(%z2(yWx*ny`laQWP za;4mbk^QjcueT1hp)X-C)&pv%V`A;ygw#c`r;_%m)S@`eA4NYVVe6U{I&#Jg{8H!x z9lbV)y9Q#t=!Ym$^x*mst`6c}FMcN5K^+IowjvAjF6XD`8<~L6y*UEUZi|y!2zuceKHJx*KSZJWd&(9OCHEiqZnFy z9uz(4RWDR+Cf(LWQf~w_#9j}B4kGy10ld3|$Z{)?f6$_0E24!MulxDt~i6F73-q<0M8h?5YUNza)9 zTyeivdWW@rj^tYDU47ae5%w&5o)S@y=yUocadza0P@19~!!4*e{{uj=e+jAhaUXe;+I~zV*kV0Z-p)Nv#WaKBtMd=p4kTQ*MoeMrenm_EM5pNlBfq|F4xl znmQ}PQ8p6nF`_Z!rqh%!Z6LOxFFjHjhPSbqn`q#rTh9r1RxjPTE7?Q;-`V%hav$O4 ztmDOu>}7r0osnnbF|LVnKSv3LdJXRBX?Z;W{!9oS4Pr%gx{u&952f)qq-|9!T0suaLZY96(|AmfgBe3u51*iU7%F|CjPjpAVzq`+w0IzV@vF zr($G$|F7!1$>!g9bgKUs_iw)ckMI9e>)+%1|KK4T-A|l3OZomkSR;M^AA0n3mj93M z|3QBcTF&|YAM|&r=XK(Ry^fduC{>%4)~t+u{}1{fk>=fbop?b9zW>Mk^8fJd|Gl-h z_ku@!`+qO(?Y$TgFYD9p>gA>7s}tW@yS3?T*5=;TZ5`w>`i**5Vz+p&aJzo2Ue>2w zN}%0wyY|1%ZIjiAcxmnI1#fy;pLR!t-)W}@DZRw$IZodk#<|0gUvrZ7-@G?~Yuqo= z6FC73ar)`-mq2Q#mf*Cc9)OyHR;iOvSS0W?c?Yi1|AQYGXxyH4Fnbj5*7N;;roWPB z`uE@Fz5Qo1-yY|@?d&ZIaz^%&-+cZ*)%;)cIYQ~^B)(Lb-e-Mn(5Xw+cLGCwLHrK( zBnJ({h@|vT#7OE!WFUx7;sj%QZz|Fgg!fe_X~b?i)aWCJ;!}r?zyCNUKdb1vvcCTp zmIo1D|4Y7~g8uMBkI%sf?(9oXif?(&=3OU=PW)r^JA&xkR`xWN!L@6k%Gl89P$ihV zl09%blms{Zp9a9{V=&Y2I67-&f9fc+2Z^qGnKD@GVGSfi`EELX=dz4m%Z3d-ZiMoBC=%hlf$pI2;QMCXEU98+M+wZ`HVPz%^-zdyG+`{cV~ ze76h1B5i0Maoaqq%9L2DUE*|lbDq)zv2i;;t}McN$IFOchWLEgtGFdVe}kMVnou}w zvlI)i_bMu5!(EU{-~rL`gQ_ANHjYOTp^@a!Tr4v#m&g_t$4(Q^&bYEFf(H6rzMjXH z_ku<$CR>`hF5d%6Ke+T+q(&mg3E^S1i zGg6*RTprM@^>#~qpR@n?`Jh+z$y252nNskPxZBZR`0p>D?F%5y-(T+L^-*K=ft0$jM(;1b7SAiW{b~8-cfhWKdN(`Yg)`|wAExwoyYUY8X8O03 zcmuZl9)aE1+o}GJIdx%BUj23xubpc8_w|4C>amnBV7gw=TM&rn(cXI=RmB%6Pqs+u z>;I%epfyR}t@_2+{~4)7RFB7_c)$_0zYDiOwG1X+=UP4IDLvRs`1-%S_7@PJ9Bz5H z8_4+jzj7(>0o}DAp85JeYgc=&7Qj2teEnZ8ji&~9IOqjE`ue}xew?9e^kB)JP5&qK zKGgp(w4?t~`kPkuKTh>Gjr2dKT7RS3-Rk!jef^)*QNCOCf9=u_zeO*#qVlV(Zk#FJ n?ceX@{MU#6YiItWKO6gBjiX!rx60S*{Nay(>)&sk599y;`3wK- literal 0 HcmV?d00001 diff --git a/src/cs/examples/entities/Flecs.Examples.Entities.Basics/Program.cs b/src/cs/examples/entities/Flecs.Examples.Entities.Basics/Program.cs index 33c38d4..fa3a30e 100644 --- a/src/cs/examples/entities/Flecs.Examples.Entities.Basics/Program.cs +++ b/src/cs/examples/entities/Flecs.Examples.Entities.Basics/Program.cs @@ -50,7 +50,7 @@ static int Main(string[] args) var it = world.EntityIterator(); while (it.HasNext()) { - var p = it.Term(1); + var p = it.Field(1); for (var i = 0; i < it.Count; i ++) { var entity = it.Entity(i); diff --git a/src/cs/production/Flecs/EntityIterator.cs b/src/cs/production/Flecs/EntityIterator.cs index 52e25db..8f9ae59 100644 --- a/src/cs/production/Flecs/EntityIterator.cs +++ b/src/cs/production/Flecs/EntityIterator.cs @@ -33,13 +33,13 @@ public bool HasNext() } } - public Span Term(int index) + public Span Field(int index) { fixed (EntityIterator* @this = &this) { var handlePointer = &@this->Handle; var structSize = Marshal.SizeOf(); - var pointer = ecs_term_w_size(handlePointer, (ulong) structSize, index); + var pointer = ecs_field_w_size(handlePointer, (ulong) structSize, index); return new Span(pointer, Handle.count); } } diff --git a/src/cs/production/Flecs/Flecs.csproj b/src/cs/production/Flecs/Flecs.csproj index e846516..ac851e0 100644 --- a/src/cs/production/Flecs/Flecs.csproj +++ b/src/cs/production/Flecs/Flecs.csproj @@ -21,6 +21,9 @@ true $(MSBuildThisFileDirectory)/Properties/StyleCop.json + + + diff --git a/src/cs/production/Flecs/Iterator.cs b/src/cs/production/Flecs/Iterator.cs index da7c04b..b0ccf3a 100644 --- a/src/cs/production/Flecs/Iterator.cs +++ b/src/cs/production/Flecs/Iterator.cs @@ -25,7 +25,7 @@ internal Iterator(World world, ecs_iter_t* it) public Span Term(int index) { var structSize = Marshal.SizeOf(); - var pointer = ecs_term_w_size(Handle, (ulong) structSize, index); + var pointer = ecs_field_w_size(Handle, (ulong) structSize, index); return new Span(pointer, Handle->count); } diff --git a/src/cs/production/Flecs/World.cs b/src/cs/production/Flecs/World.cs index ea3b457..a51eef8 100644 --- a/src/cs/production/Flecs/World.cs +++ b/src/cs/production/Flecs/World.cs @@ -50,9 +50,9 @@ public void RegisterComponent(ComponentHooks? hooks = null) var id = default(ecs_entity_t); ecs_component_desc_t desc; - desc.entity.entity = id; - desc.entity.name = componentNameC; - desc.entity.symbol = componentNameC; + desc.entity = id; + ////desc.entity.name = componentNameC; + ////desc.entity.symbol = componentNameC; desc.type.size = structSize; desc.type.alignment = structAlignment; id = ecs_component_init(Handle, &desc); @@ -97,26 +97,25 @@ public void RegisterSystem( CallbackIterator callback, string? name = null) { ecs_system_desc_t desc = default; - desc.entity.name = name ?? callback.Method.Name; + desc.query.filter.name = name ?? callback.Method.Name; var phase = EcsOnUpdate; - desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; - desc.entity.add[1] = phase; + ////desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; + ////desc.entity.add[1] = phase; desc.callback.Data.Pointer = &SystemCallback; desc.binding_ctx = (void*)CallbacksHelper.CreateSystemCallbackContext(this, callback); var componentName1 = GetFlecsTypeName(); var componentName2 = GetFlecsTypeName(); desc.query.filter.expr = componentName1 + ", " + componentName2; - ecs_system_init(Handle, &desc); } private void FillSystemDescriptorCommon( ref ecs_system_desc_t desc, CallbackIterator callback, ecs_entity_t phase, string? name) { - desc.entity.name = name ?? callback.Method.Name; - desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; - desc.entity.add[1] = phase; + desc.query.filter.name = name ?? callback.Method.Name; + ////desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; + ////desc.entity.add[1] = phase; desc.callback.Data.Pointer = &SystemCallback; desc.binding_ctx = (void*)CallbacksHelper.CreateSystemCallbackContext(this, callback); } diff --git a/src/cs/production/Flecs/flecs.cs b/src/cs/production/Flecs/flecs.cs index 826bbdd..a1c3258 100644 --- a/src/cs/production/Flecs/flecs.cs +++ b/src/cs/production/Flecs/flecs.cs @@ -1,5 +1,5 @@ // -// This code was generated by the following tool on 2022-07-25 01:23:38 GMT+00:00: +// This code was generated by the following tool on 2022-07-28 00:52:40 GMT+00:00: // https://github.com/bottlenoselabs/c2cs (v3.2.8.0) // // Changes to this file may cause incorrect behavior and will be lost if the code is @@ -24,27 +24,7 @@ public static unsafe partial class flecs #region API - // Function @ parser.h:72:13 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out); - - // Function @ meta.h:376:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); - - // Function @ flecs.h:3126:7 + // Function @ flecs.h:3057:5 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -52,19 +32,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); + public static extern int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); - // Function @ strbuf.h:180:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ vector.h:95:6 + // aarch64-apple-darwin (flecs/private/vector.h) + // x86_64-pc-windows-msvc (flecs\private\vector.h) + // x86_64-apple-darwin (flecs/private/vector.h) + // x86_64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-pc-windows-msvc (flecs\private\vector.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_next(ecs_strbuf_t* buffer); + public static extern void ecs_vector_free(ecs_vector_t* vector); + + // Function @ flecs_pinvoke.h:38:26 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsOnUpdate(); - // Function @ flecs.h:1537:14 + // Function @ flecs.h:4296:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -72,9 +62,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_id(ecs_world_t* world); + public static extern ecs_world_t* ecs_async_stage_new(ecs_world_t* world); - // Function @ stats.h:262:6 + // Function @ stats.h:186:6 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) @@ -82,19 +72,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); + public static extern void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); - // Function @ map.h:180:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ strbuf.h:145:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_clear(ecs_map_t* map); + public static extern CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + + // Function @ snapshot.h:89:6 + // aarch64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) + // x86_64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_snapshot_free(ecs_snapshot_t* snapshot); - // Function @ flecs.h:1305:6 + // Function @ flecs.h:2120:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -102,9 +102,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); + public static extern ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); - // Function @ flecs.h:2605:14 + // Function @ flecs.h:2253:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -112,9 +112,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path); + public static extern ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); + + // Function @ os_api.h:420:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_err(CString file, int line, CString msg); + + // Function @ stats.h:324:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); - // Function @ flecs_pinvoke.h:6:22 + // Function @ flecs_pinvoke.h:32:26 // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) @@ -122,9 +142,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_OVERRIDE(); + public static extern ecs_entity_t pinvoke_EcsPrefab(); + + // Function @ rules.h:102:9 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_rule_var_count(ecs_rule_t* rule); + + // Function @ flecs_cpp.h:101:9 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_cpp_reset_count_get(); - // Function @ flecs.h:2251:24 + // Function @ flecs.h:2495:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -132,9 +172,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); + public static extern void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); - // Function @ sparse.h:95:6 + // Function @ sparse.h:144:6 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -142,9 +182,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_set_id_source(ecs_sparse_t* sparse, ulong* id_source); + public static extern CBool flecs_sparse_exists(ecs_sparse_t* sparse, ulong id); - // Function @ meta.h:434:5 + // Function @ flecs.h:3813:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_worker_next(ecs_iter_t* it); + + // Function @ system.h:258:6 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsSystemImport(ecs_world_t* world); + + // Function @ meta.h:483:6 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -152,29 +212,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); + public static extern CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); - // Function @ expr.h:145:7 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ strbuf.h:174:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); + public static extern void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); - // Function @ map.h:195:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ flecs_cpp.h:39:7 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_iter_t ecs_map_iter(ecs_map_t* map); + public static extern CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len); - // Function @ flecs.h:1639:14 + // Function @ flecs.h:3030:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -182,19 +242,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); + public static extern ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); - // Function @ app.h:96:5 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) + // Function @ flecs.h:1988:7 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_frame_action(ecs_app_frame_action_t callback); + public static extern void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); - // Function @ meta.h:428:5 + // Function @ flecs.h:2100:10 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_id_t ecs_strip_generation(ecs_entity_t e); + + // Function @ meta.h:512:14 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -202,9 +272,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); + public static extern ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); - // Function @ flecs.h:4098:6 + // Function @ flecs.h:3090:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -212,19 +282,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_readonly_begin(ecs_world_t* world); + public static extern CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); - // Function @ sparse.h:300:9 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ strbuf.h:94:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_sparse_count(ecs_sparse_t* sparse); + public static extern CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); - // Function @ flecs.h:4480:14 + // Function @ flecs.h:2168:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -232,19 +302,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); + public static extern void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); - // Function @ json.h:142:5 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ flecs.h:2529:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); + public static extern ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); - // Function @ flecs.h:2381:6 + // Function @ flecs.h:4493:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -252,9 +322,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); + public static extern int ecs_table_count(ecs_table_t* table); - // Function @ flecs.h:3553:7 + // Function @ flecs.h:2815:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -262,39 +332,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); + public static extern ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); - // Function @ snapshot.h:62:6 - // aarch64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) - // x86_64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); - - // Function @ plecs.h:72:5 - // aarch64-apple-darwin (flecs/addons/plecs.h) - // x86_64-pc-windows-msvc (flecs\addons\plecs.h) - // x86_64-apple-darwin (flecs/addons/plecs.h) - // x86_64-unknown-linux-gnu (flecs/addons/plecs.h) - // aarch64-unknown-linux-gnu (flecs/addons/plecs.h) - // aarch64-pc-windows-msvc (flecs\addons\plecs.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename); - - // Function @ module.h:53:14 - // aarch64-apple-darwin (flecs/addons/module.h) - // x86_64-pc-windows-msvc (flecs\addons\module.h) - // x86_64-apple-darwin (flecs/addons/module.h) - // x86_64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-pc-windows-msvc (flecs\addons\module.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); - - // Function @ flecs.h:2979:6 + // Function @ flecs.h:3614:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -302,9 +342,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_term_fini(ecs_term_t* term); + public static extern CBool ecs_iter_is_true(ecs_iter_t* it); - // Function @ flecs.h:1410:6 + // Function @ flecs.h:4104:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -312,9 +352,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); + public static extern void ecs_readonly_end(ecs_world_t* world); + + // Function @ meta.h:434:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_int(ecs_meta_cursor_t* cursor, long value); - // Function @ flecs.h:1341:7 + // Function @ flecs.h:1204:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -322,9 +372,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_context(ecs_world_t* world); + public static extern ecs_world_t* ecs_init_w_args(int argc, CString* argv); - // Function @ flecs.h:2589:14 + // Function @ flecs.h:4616:15 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -332,19 +382,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); + public static extern ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); - // Function @ os_api.h:411:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ snapshot.h:71:12 + // aarch64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) + // x86_64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_dbg(CString file, int line, CString msg); + public static extern ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); - // Function @ flecs.h:4385:9 + // Function @ flecs.h:1493:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -352,39 +402,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); - - // Function @ meta.h:422:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); + public static extern int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); - // Function @ strbuf.h:86:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ flecs.h:4306:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); + public static extern void ecs_async_stage_free(ecs_world_t* stage); - // Function @ expr.h:195:13 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ log.h:460:5 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); + public static extern int ecs_log_last_error(); - // Function @ flecs.h:2045:6 + // Function @ flecs.h:4253:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -392,19 +432,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - - // Function @ stats.h:339:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_copy(ecs_metric_t* m, int dst, int src); + public static extern ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); - // Function @ flecs.h:2319:13 + // Function @ flecs.h:4018:8 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -412,9 +442,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); + public static extern ulong ecs_iter_column_size(ecs_iter_t* it, int index); + + // Function @ app.h:96:5 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_set_frame_action(ecs_app_frame_action_t callback); - // Function @ system.h:167:14 + // Function @ rules.h:83:6 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_rule_fini(ecs_rule_t* rule); + + // Function @ system.h:174:14 // aarch64-apple-darwin (flecs/addons/system.h) // x86_64-pc-windows-msvc (flecs\addons\system.h) // x86_64-apple-darwin (flecs/addons/system.h) @@ -424,47 +474,37 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern ecs_entity_t ecs_run_worker(ecs_world_t* world, ecs_entity_t system, int stage_current, int stage_count, float delta_time, void* param); - // Function @ stats.h:169:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); - - // Function @ log.h:423:6 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) + // Function @ flecs.h:4131:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_colors(CBool enabled); + public static extern CBool ecs_defer_begin(ecs_world_t* world); - // Function @ map.h:167:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ flecs.h:2955:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_free(ecs_map_t* map); + public static extern CBool ecs_id_is_pair(ecs_id_t id); - // Function @ sparse.h:241:15 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ parser.h:35:13 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_sparse_t* flecs_sparse_copy(ecs_sparse_t* src); + public static extern CString ecs_parse_eol_and_whitespace(CString ptr); - // Function @ flecs.h:4023:8 + // Function @ flecs.h:2454:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -472,9 +512,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_iter_column_size(ecs_iter_t* it, int index); + public static extern ecs_entity_t ecs_get_target(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); - // Function @ rules.h:168:6 + // Function @ rules.h:125:13 // aarch64-apple-darwin (flecs/addons/rules.h) // x86_64-pc-windows-msvc (flecs\addons\rules.h) // x86_64-apple-darwin (flecs/addons/rules.h) @@ -482,29 +522,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/rules.h) // aarch64-pc-windows-msvc (flecs\addons\rules.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next_instanced(ecs_iter_t* it); - - // Function @ flecs.h:3331:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next(ecs_iter_t* iter); + public static extern CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); - // Function @ pipeline.h:166:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ sparse.h:235:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_threads(ecs_world_t* world, int threads); + public static extern void flecs_sparse_set_size(ecs_sparse_t* sparse, int elem_count); - // Function @ json.h:255:5 + // Function @ json.h:191:5 // aarch64-apple-darwin (flecs/addons/json.h) // x86_64-pc-windows-msvc (flecs\addons\json.h) // x86_64-apple-darwin (flecs/addons/json.h) @@ -512,19 +542,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/json.h) // aarch64-pc-windows-msvc (flecs\addons\json.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); - - // Function @ stats.h:186:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_log(ecs_world_t* world, ecs_world_stats_t* stats); + public static extern int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); - // Function @ flecs.h:4631:7 + // Function @ flecs.h:3664:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -532,9 +552,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); + public static extern void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); - // Function @ app.h:77:5 + // Function @ parser.h:25:13 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_whitespace(CString ptr); + + // Function @ app.h:64:5 // aarch64-apple-darwin (flecs/addons/app.h) // x86_64-pc-windows-msvc (flecs\addons\app.h) // x86_64-apple-darwin (flecs/addons/app.h) @@ -542,29 +572,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/app.h) // aarch64-pc-windows-msvc (flecs\addons\app.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); + public static extern int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); - // Function @ meta.h:648:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ sparse.h:156:10 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + public static extern ulong flecs_sparse_get_alive(ecs_sparse_t* sparse, ulong id); - // Function @ pipeline.h:85:14 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ sparse.h:128:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_pipeline(ecs_world_t* world); + public static extern void flecs_sparse_remove(ecs_sparse_t* sparse, ulong id); + + // Function @ sparse.h:178:9 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int flecs_sparse_not_alive_count(ecs_sparse_t* sparse); + + // Function @ timer.h:234:6 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsTimerImport(ecs_world_t* world); - // Function @ flecs.h:2190:6 + // Function @ flecs.h:1599:21 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -572,29 +622,59 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure_id(ecs_world_t* world, ecs_id_t id); + public static extern ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); - // Function @ flecs_cpp.h:81:14 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // Function @ meta.h:366:7 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component); + public static extern void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); - // Function @ flecs_cpp.h:93:14 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // Function @ http.h:167:13 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); + public static extern CString ecs_http_get_header(ecs_http_request_t* req, CString name); + + // Function @ meta.h:458:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); + + // Function @ api_support.h:41:7 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_module_path_from_c(CString c_name); + + // Function @ doc.h:67:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); - // Function @ flecs.h:2853:12 + // Function @ flecs.h:3801:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -602,29 +682,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); + public static extern ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); - // Function @ parser.h:35:13 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) + // Function @ vector.h:309:9 + // aarch64-apple-darwin (flecs/private/vector.h) + // x86_64-pc-windows-msvc (flecs\private\vector.h) + // x86_64-apple-darwin (flecs/private/vector.h) + // x86_64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-pc-windows-msvc (flecs\private\vector.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_eol_and_whitespace(CString ptr); + public static extern int ecs_vector_size(ecs_vector_t* vector); - // Function @ api_support.h:44:6 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) + // Function @ http.h:178:13 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_identifier_is_0(CString id); + public static extern CString ecs_http_get_param(ecs_http_request_t* req, CString name); - // Function @ flecs.h:3925:6 + // Function @ flecs.h:3711:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -632,9 +712,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_set(ecs_iter_t* it, int index); + public static extern ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); - // Function @ sparse.h:128:6 + // Function @ flecs.h:1947:21 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); + + // Function @ sparse.h:115:10 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -642,9 +732,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_remove(ecs_sparse_t* sparse, ulong id); + public static extern ulong flecs_sparse_new_id(ecs_sparse_t* sparse); - // Function @ flecs.h:3218:6 + // Function @ flecs.h:4060:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -652,19 +742,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); + public static extern void ecs_frame_end(ecs_world_t* world); - // Function @ pipeline.h:74:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ doc.h:111:13 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); + public static extern CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); + + // Function @ coredoc.h:29:6 + // aarch64-apple-darwin (flecs/addons/coredoc.h) + // x86_64-pc-windows-msvc (flecs\addons\coredoc.h) + // x86_64-apple-darwin (flecs/addons/coredoc.h) + // x86_64-unknown-linux-gnu (flecs/addons/coredoc.h) + // aarch64-unknown-linux-gnu (flecs/addons/coredoc.h) + // aarch64-pc-windows-msvc (flecs\addons\coredoc.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsCoreDocImport(ecs_world_t* world); - // Function @ flecs.h:2840:12 + // Function @ flecs.h:2866:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -672,9 +772,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_term_iter(ecs_world_t* world, ecs_term_t* term); + public static extern CBool ecs_term_is_initialized(ecs_term_t* term); + + // Function @ hashmap.h:116:6 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); - // Function @ flecs.h:3135:7 + // Function @ flecs.h:2215:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -682,29 +792,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_filter_str(ecs_world_t* world, ecs_filter_t* filter); - - // Function @ strbuf.h:138:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); - - // Function @ os_api.h:447:8 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_measure(ecs_time_t* start); + public static extern ecs_table_t* ecs_get_storage_table(ecs_world_t* world, ecs_entity_t entity); - // Function @ meta.h:452:5 + // Function @ meta.h:413:13 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -712,9 +802,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); + public static extern CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); + + // Function @ timer.h:97:13 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); + + // Function @ rules.h:139:6 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); - // Function @ flecs.h:3659:6 + // Function @ flecs.h:3765:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -722,9 +832,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_is_true(ecs_iter_t* it); + public static extern ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); - // Function @ meta.h:359:19 + // Function @ meta.h:597:14 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -732,29 +842,89 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); - - // Function @ flecs.h:1946:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_write_end(ecs_record_t* @record); + public static extern ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); - // Function @ flecs.h:2551:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc + // Function @ expr.h:86:12 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); + + // Function @ rules.h:154:12 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); + + // Function @ app.h:77:5 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_run_frame(ecs_world_t* world, ecs_app_desc_t* desc); + + // Function @ json.h:177:7 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); + + // Function @ timer.h:147:6 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); + + // Function @ stats.h:163:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); + + // Function @ flecs.h:2874:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup(ecs_world_t* world, CString name); + public static extern CBool ecs_term_match_0(ecs_term_t* term); + + // Function @ meta.h:632:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); - // Function @ flecs.h:4258:14 + // Function @ flecs.h:3326:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -762,9 +932,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_stage(ecs_world_t* world, int stage_id); + public static extern CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); - // Function @ flecs.h:2701:14 + // Function @ flecs.h:2342:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -772,39 +942,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); + public static extern ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); - // Function @ map.h:231:12 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ meta.h:422:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_map_t* ecs_map_copy(ecs_map_t* map); + public static extern int ecs_meta_set_bool(ecs_meta_cursor_t* cursor, CBool value); - // Function @ sparse.h:122:17 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ stats.h:287:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong* flecs_sparse_new_ids(ecs_sparse_t* sparse, int count); + public static extern void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); - // Function @ rules.h:150:12 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ os_api.h:458:8 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_rule_iter(ecs_world_t* world, ecs_rule_t* rule); + public static extern double ecs_time_to_double(ecs_time_t t); - // Function @ flecs.h:1820:6 + // Function @ flecs.h:4152:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -812,19 +982,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete_with(ecs_world_t* world, ecs_id_t id); - - // Function @ meta.h:538:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); + public static extern CBool ecs_defer_end(ecs_world_t* world); - // Function @ flecs.h:3739:14 + // Function @ flecs.h:2272:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -832,19 +992,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); + public static extern ecs_entity_t ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); - // Function @ flecs_pinvoke.h:14:26 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // Function @ map.h:225:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsPrefab(); + public static extern void ecs_map_set_size(ecs_map_t* map, int elem_count); - // Function @ vector.h:304:9 + // Function @ sparse.h:230:17 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ulong* flecs_sparse_ids(ecs_sparse_t* sparse); + + // Function @ vector.h:105:6 // aarch64-apple-darwin (flecs/private/vector.h) // x86_64-pc-windows-msvc (flecs\private\vector.h) // x86_64-apple-darwin (flecs/private/vector.h) @@ -852,39 +1022,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/vector.h) // aarch64-pc-windows-msvc (flecs\private\vector.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vector_count(ecs_vector_t* vector); - - // Function @ os_api.h:458:8 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_time_to_double(ecs_time_t t); + public static extern void ecs_vector_assert_size(ecs_vector_t* vector_inout, ecs_size_t elem_size); - // Function @ pipeline.h:175:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ expr.h:160:5 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsPipelineImport(ecs_world_t* world); + public static extern int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); - // Function @ parser.h:106:7 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) + // Function @ flecs.h:1713:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); + public static extern void ecs_enable_component_w_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); - // Function @ flecs.h:1395:6 + // Function @ flecs.h:1373:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -894,7 +1054,7 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern void ecs_set_entity_generation(ecs_world_t* world, ecs_entity_t entity_with_generation); - // Function @ flecs.h:1237:5 + // Function @ flecs.h:2583:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -902,9 +1062,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_fini(ecs_world_t* world); + public static extern ecs_entity_t ecs_lookup_symbol(ecs_world_t* world, CString symbol, CBool lookup_as_path); - // Function @ flecs.h:1477:6 + // Function @ flecs.h:1913:15 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -912,9 +1072,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); + public static extern ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:4157:6 + // Function @ flecs.h:2145:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -922,9 +1082,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_end(ecs_world_t* world); + public static extern void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:1209:14 + // Function @ flecs.h:2371:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -932,59 +1092,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init(); + public static extern CString ecs_role_str(ecs_id_t role); - // Function @ http.h:118:20 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) + // Function @ flecs.h:2924:12 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); + public static extern ecs_term_t ecs_term_move(ecs_term_t* src); - // Function @ meta.h:413:13 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ flecs.h:2910:12 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_member(ecs_meta_cursor_t* cursor); + public static extern ecs_term_t ecs_term_copy(ecs_term_t* src); - // Function @ sparse.h:235:6 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ flecs.h:3173:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_set_size(ecs_sparse_t* sparse, int elem_count); - - // Function @ system.h:98:14 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); - - // Function @ meta.h:483:6 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CChar ecs_meta_get_char(ecs_meta_cursor_t* cursor); + public static extern void ecs_filter_copy(ecs_filter_t* dst, ecs_filter_t* src); - // Function @ flecs.h:1773:10 + // Function @ flecs.h:3241:21 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -992,9 +1132,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_make_pair(ecs_entity_t relation, ecs_entity_t @object); + public static extern ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); - // Function @ timer.h:72:14 + // Function @ stats.h:339:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_copy(ecs_metric_t* m, int dst, int src); + + // Function @ stats.h:277:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); + + // Function @ timer.h:159:6 // aarch64-apple-darwin (flecs/addons/timer.h) // x86_64-pc-windows-msvc (flecs\addons\timer.h) // x86_64-apple-darwin (flecs/addons/timer.h) @@ -1002,9 +1162,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/timer.h) // aarch64-pc-windows-msvc (flecs\addons\timer.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); + public static extern void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); - // Function @ flecs.h:1979:6 + // Function @ flecs.h:1545:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1012,19 +1172,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_read_end(ecs_record_t* @record); - - // Function @ system.h:251:6 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsSystemImport(ecs_world_t* world); + public static extern ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:3955:7 + // Function @ flecs.h:2741:10 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1032,29 +1182,99 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_str(ecs_iter_t* it); + public static extern ecs_id_t ecs_get_with(ecs_world_t* world); - // Function @ flecs.h:3722:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ sparse.h:183:9 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); + public static extern int flecs_sparse_size(ecs_sparse_t* sparse); - // Function @ os_api_impl.h:16:6 - // aarch64-apple-darwin (flecs/addons/os_api_impl.h) - // x86_64-pc-windows-msvc (flecs\addons\os_api_impl.h) - // x86_64-apple-darwin (flecs/addons/os_api_impl.h) - // x86_64-unknown-linux-gnu (flecs/addons/os_api_impl.h) - // aarch64-unknown-linux-gnu (flecs/addons/os_api_impl.h) - // aarch64-pc-windows-msvc (flecs\addons\os_api_impl.h) + // Function @ pipeline.h:187:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_os_api_impl(); + public static extern void FlecsPipelineImport(ecs_world_t* world); + + // Function @ map.h:97:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_map_fini(ecs_map_t* map); + + // Function @ os_api.h:468:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_heap(); + + // Function @ parser.h:106:7 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_term(ecs_world_t* world, CString name, CString expr, CString ptr, ecs_term_t* term_out); + + // Function @ strbuf.h:162:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_strbuf_reset(ecs_strbuf_t* buffer); + + // Function @ rules.h:172:6 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_next_instanced(ecs_iter_t* it); + + // Function @ pipeline.h:75:14 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); + + // Function @ map.h:195:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_map_iter_t ecs_map_iter(ecs_map_t* map); - // Function @ flecs.h:3914:6 + // Function @ flecs.h:1974:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1062,19 +1282,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_writeonly(ecs_iter_t* it, int index); + public static extern void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); - // Function @ meta.h:458:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ parser.h:72:13 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_string_literal(ecs_meta_cursor_t* cursor, CString value); + public static extern CString ecs_parse_token(CString name, CString expr, CString ptr, CString token_out); - // Function @ flecs.h:4502:9 + // Function @ flecs.h:2994:15 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1082,9 +1302,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_count(ecs_table_t* table); + public static extern ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); - // Function @ timer.h:147:6 + // Function @ timer.h:119:14 // aarch64-apple-darwin (flecs/addons/timer.h) // x86_64-pc-windows-msvc (flecs\addons\timer.h) // x86_64-apple-darwin (flecs/addons/timer.h) @@ -1092,9 +1312,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/timer.h) // aarch64-pc-windows-msvc (flecs\addons\timer.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_start_timer(ecs_world_t* world, ecs_entity_t tick_source); + public static extern ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); - // Function @ flecs.h:4530:14 + // Function @ flecs.h:1786:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1102,29 +1322,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); + public static extern void ecs_delete(ecs_world_t* world, ecs_entity_t entity); - // Function @ sparse.h:150:6 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ strbuf.h:124:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); + public static extern CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); - // Function @ pipeline.h:107:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ strbuf.h:197:9 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_progress(ecs_world_t* world, float delta_time); + public static extern int ecs_strbuf_written(ecs_strbuf_t* buffer); - // Function @ meta.h:403:14 + // Function @ flecs.h:2359:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_alias(ecs_world_t* world, ecs_entity_t entity, CString alias); + + // Function @ meta.h:371:5 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -1132,19 +1362,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); + public static extern int ecs_meta_next(ecs_meta_cursor_t* cursor); - // Function @ stats.h:205:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ hashmap.h:123:6 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); + public static extern void flecs_hashmap_copy(ecs_hashmap_t* src, ecs_hashmap_t* dst); + + // Function @ meta.h:650:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); - // Function @ flecs.h:1317:25 + // Function @ flecs.h:3073:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1152,9 +1392,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); + public static extern int ecs_filter_find_this_var(ecs_filter_t* filter); - // Function @ flecs.h:2729:14 + // Function @ flecs.h:3293:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1162,29 +1402,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); + public static extern CBool ecs_query_next_instanced(ecs_iter_t* iter); - // Function @ strbuf.h:124:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ stats.h:211:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_mergebuff(ecs_strbuf_t* dst_buffer, ecs_strbuf_t* src_buffer); + public static extern void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); - // Function @ flecs.h:4170:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ json.h:142:5 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_suspend(ecs_world_t* world); + public static extern int ecs_type_info_to_json_buf(ecs_world_t* world, ecs_entity_t type, ecs_strbuf_t* buf_out); + + // Function @ system.h:98:14 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_system_init(ecs_world_t* world, ecs_system_desc_t* desc); + + // Function @ rules.h:74:13 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); - // Function @ flecs.h:3102:5 + // Function @ flecs.h:2077:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1192,9 +1452,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_finalize(ecs_world_t* world, ecs_filter_t* filter); + public static extern CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); - // Function @ flecs.h:3207:6 + // Function @ flecs.h:4194:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1202,19 +1462,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next_instanced(ecs_iter_t* it); + public static extern void ecs_set_automerge(ecs_world_t* world, CBool automerge); - // Function @ json.h:177:7 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ meta.h:498:8 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_entity_to_json(ecs_world_t* world, ecs_entity_t entity, ecs_entity_to_json_desc_t* desc); + public static extern double ecs_meta_get_float(ecs_meta_cursor_t* cursor); + + // Function @ pipeline.h:140:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_reset_clock(ecs_world_t* world); - // Function @ flecs.h:2565:14 + // Function @ flecs.h:1194:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1222,19 +1492,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); - - // Function @ rest.h:53:6 - // aarch64-apple-darwin (flecs/addons/rest.h) - // x86_64-pc-windows-msvc (flecs\addons\rest.h) - // x86_64-apple-darwin (flecs/addons/rest.h) - // x86_64-unknown-linux-gnu (flecs/addons/rest.h) - // aarch64-unknown-linux-gnu (flecs/addons/rest.h) - // aarch64-pc-windows-msvc (flecs\addons\rest.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsRestImport(ecs_world_t* world); + public static extern ecs_world_t* ecs_mini(); - // Function @ flecs.h:4065:6 + // Function @ flecs.h:2202:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1242,9 +1502,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_frame_end(ecs_world_t* world); + public static extern ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:3436:9 + // Function @ flecs.h:2420:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1252,29 +1512,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_entity_count(ecs_query_t* query); - - // Function @ meta.h:551:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); + public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); - // Function @ sparse.h:178:9 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ strbuf.h:167:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_sparse_not_alive_count(ecs_sparse_t* sparse); + public static extern void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); - // Function @ flecs.h:2679:14 + // Function @ flecs.h:3972:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1282,19 +1532,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); - - // Function @ os_api.h:480:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_logging(); + public static extern int ecs_iter_find_column(ecs_iter_t* it, ecs_id_t id); - // Function @ flecs.h:4489:9 + // Function @ flecs.h:3651:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1302,19 +1542,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index); + public static extern void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); - // Function @ log.h:451:6 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) + // Function @ strbuf.h:86:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timedelta(CBool enabled); + public static extern CBool ecs_strbuf_append(ecs_strbuf_t* buffer, CString fmt); - // Function @ flecs.h:1969:21 + // Function @ flecs.h:3104:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1322,9 +1562,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_read_begin(ecs_world_t* world, ecs_entity_t entity); + public static extern ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); - // Function @ sparse.h:246:6 + // Function @ sparse.h:300:9 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -1332,9 +1572,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_restore(ecs_sparse_t* dst, ecs_sparse_t* src); + public static extern int ecs_sparse_count(ecs_sparse_t* sparse); - // Function @ meta.h:446:5 + // Function @ meta.h:428:5 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -1342,39 +1582,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); - - // Function @ stats.h:218:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); - - // Function @ hashmap.h:128:22 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); + public static extern int ecs_meta_set_char(ecs_meta_cursor_t* cursor, CChar value); - // Function @ flecs.h:3386:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ doc.h:122:13 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_skip(ecs_iter_t* it); + public static extern CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:3612:6 + // Function @ flecs.h:3583:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1382,29 +1602,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_next(ecs_iter_t* it); + public static extern void ecs_iter_fini(ecs_iter_t* it); - // Function @ stats.h:237:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ strbuf.h:131:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); + public static extern CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); - // Function @ rules.h:79:6 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ doc.h:133:13 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_rule_fini(ecs_rule_t* rule); + public static extern CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:1708:6 + // Function @ flecs.h:2730:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1412,9 +1632,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:3338:6 + // Function @ flecs.h:2325:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1422,39 +1642,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_next_instanced(ecs_iter_t* iter); + public static extern ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); - // Function @ map.h:190:9 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ meta.h:554:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_map_bucket_count(ecs_map_t* map); + public static extern ecs_entity_t ecs_bitmask_init(ecs_world_t* world, ecs_bitmask_desc_t* desc); - // Function @ stats.h:292:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + // Function @ hashmap.h:128:22 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern flecs_hashmap_iter_t flecs_hashmap_iter(ecs_hashmap_t* map); - // Function @ flecs.h:4239:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ pipeline.h:119:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_id(ecs_world_t* world); + public static extern CBool ecs_progress(ecs_world_t* world, float delta_time); + + // Function @ http.h:118:20 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_http_server_t* ecs_http_server_init(ecs_http_server_desc_t* desc); - // Function @ flecs.h:2393:13 + // Function @ flecs.h:4118:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1462,29 +1692,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_role_str(ecs_id_t role); + public static extern void ecs_merge(ecs_world_t* world); - // Function @ strbuf.h:152:7 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ flecs_cpp.h:51:7 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get(ecs_strbuf_t* buffer); + public static extern CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len); - // Function @ http.h:178:13 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) + // Function @ hashmap.h:111:18 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_param(ecs_http_request_t* req, CString name); + public static extern ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); - // Function @ flecs.h:3000:6 + // Function @ flecs.h:1515:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1492,29 +1722,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_pair(ecs_id_t id); + public static extern ecs_entity_t ecs_new_id(ecs_world_t* world); - // Function @ map.h:185:9 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ doc.h:161:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_map_count(ecs_map_t* map); + public static extern void FlecsDocImport(ecs_world_t* world); - // Function @ vector.h:95:6 - // aarch64-apple-darwin (flecs/private/vector.h) - // x86_64-pc-windows-msvc (flecs\private\vector.h) - // x86_64-apple-darwin (flecs/private/vector.h) - // x86_64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-pc-windows-msvc (flecs\private\vector.h) + // Function @ parser.h:47:13 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vector_free(ecs_vector_t* vector); + public static extern CString ecs_parse_digit(CString ptr, CString token); - // Function @ flecs.h:2456:6 + // Function @ flecs.h:1215:5 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1522,9 +1752,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern int ecs_fini(ecs_world_t* world); - // Function @ expr.h:69:13 + // Function @ expr.h:128:13 // aarch64-apple-darwin (flecs/addons/expr.h) // x86_64-pc-windows-msvc (flecs\addons\expr.h) // x86_64-apple-darwin (flecs/addons/expr.h) @@ -1532,69 +1762,89 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/expr.h) // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chrparse(CString @in, CString @out); + public static extern CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_entity_t type, void* data_out, ecs_parse_expr_desc_t* desc); - // Function @ app.h:64:5 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) + // Function @ snapshot.h:33:17 + // aarch64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) + // x86_64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_run(ecs_world_t* world, ecs_app_desc_t* desc); + public static extern ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); - // Function @ pipeline.h:128:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ flecs.h:1341:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_reset_clock(ecs_world_t* world); + public static extern void ecs_dim(ecs_world_t* world, int entity_count); - // Function @ hashmap.h:55:6 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + // Function @ flecs.h:3777:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_fini(ecs_hashmap_t* map); + public static extern CBool ecs_page_next(ecs_iter_t* it); - // Function @ parser.h:25:13 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) + // Function @ flecs.h:2945:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_whitespace(CString ptr); + public static extern CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); - // Function @ system.h:150:14 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) + // Function @ rules.h:93:21 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); + public static extern ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); - // Function @ meta.h:398:6 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ os_api.h:462:7 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); + public static extern void* ecs_os_memdup(void* src, ecs_size_t size); - // Function @ sparse.h:89:6 + // Function @ flecs.h:2934:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_term_fini(ecs_term_t* term); + + // Function @ timer.h:72:14 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_set_timeout(ecs_world_t* world, ecs_entity_t tick_source, float timeout); + + // Function @ sparse.h:246:6 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -1602,9 +1852,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_clear(ecs_sparse_t* sparse); + public static extern void flecs_sparse_restore(ecs_sparse_t* dst, ecs_sparse_t* src); - // Function @ flecs.h:3790:6 + // Function @ flecs.h:4576:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1612,9 +1862,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); + public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); - // Function @ flecs.h:1270:6 + // Function @ flecs.h:2042:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1622,39 +1872,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); - - // Function @ json.h:81:5 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); - - // Function @ timer.h:234:6 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsTimerImport(ecs_world_t* world); - - // Function @ flecs_pinvoke.h:11:26 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsChildOf(); + public static extern ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); - // Function @ flecs.h:2275:14 + // Function @ flecs.h:2719:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1662,9 +1882,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_typeid(ecs_world_t* world, ecs_id_t id); + public static extern ecs_entity_t ecs_get_scope(ecs_world_t* world); - // Function @ flecs.h:3939:6 + // Function @ flecs.h:3391:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1672,9 +1892,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_owned(ecs_iter_t* it, int index); + public static extern int ecs_query_entity_count(ecs_query_t* query); - // Function @ flecs.h:2876:6 + // Function @ flecs.h:3513:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1682,39 +1902,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_id_is_set(ecs_term_id_t* id); - - // Function @ meta.h:565:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); - - // Function @ system.h:196:14 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); + public static extern void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); - // Function @ json.h:241:7 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ pipeline.h:162:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); + public static extern void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); - // Function @ strbuf.h:109:6 + // Function @ strbuf.h:185:6 // aarch64-apple-darwin (flecs/private/strbuf.h) // x86_64-pc-windows-msvc (flecs\private\strbuf.h) // x86_64-apple-darwin (flecs/private/strbuf.h) @@ -1722,79 +1922,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); - - // Function @ meta.h:506:13 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); - - // Function @ flecs.h:4585:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2); - - // Function @ flecs.h:3756:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_iter_get_var_as_table(ecs_iter_t* it, int var_id); - - // Function @ flecs.h:4179:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_defer_resume(ecs_world_t* world); - - // Function @ flecs.h:1555:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_low_id(ecs_world_t* world); - - // Function @ http.h:127:6 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_fini(ecs_http_server_t* server); - - // Function @ flecs.h:1567:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_new_w_id(ecs_world_t* world, ecs_id_t id); + public static extern CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); - // Function @ flecs.h:1621:21 + // Function @ flecs.h:2394:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1802,19 +1932,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_init(ecs_world_t* world, ecs_bulk_desc_t* desc); + public static extern void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); - // Function @ flecs.h:3773:19 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ json.h:129:7 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); + public static extern CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); - // Function @ stats.h:316:6 + // Function @ stats.h:305:6 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) @@ -1822,9 +1952,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + public static extern void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); - // Function @ flecs.h:3810:12 + // Function @ flecs.h:2309:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1832,19 +1962,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_page_iter(ecs_iter_t* it, int offset, int limit); + public static extern CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:1329:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ os_api.h:423:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_context(ecs_world_t* world, void* ctx); + public static extern void ecs_os_fatal(CString file, int line, CString msg); + + // Function @ map.h:185:9 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_map_count(ecs_map_t* map); + + // Function @ meta_c.h:67:5 + // aarch64-apple-darwin (flecs/addons/meta_c.h) + // x86_64-pc-windows-msvc (flecs\addons\meta_c.h) + // x86_64-apple-darwin (flecs/addons/meta_c.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta_c.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta_c.h) + // aarch64-pc-windows-msvc (flecs\addons\meta_c.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); + + // Function @ vector.h:100:6 + // aarch64-apple-darwin (flecs/private/vector.h) + // x86_64-pc-windows-msvc (flecs\private\vector.h) + // x86_64-apple-darwin (flecs/private/vector.h) + // x86_64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-pc-windows-msvc (flecs\private\vector.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_vector_clear(ecs_vector_t* vector); - // Function @ flecs.h:1439:16 + // Function @ flecs.h:2191:19 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1852,39 +2012,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_system_time(ecs_world_t* world, CBool enable); - - // Function @ flecs_cpp.h:45:7 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); + public static extern ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); - // Function @ stats.h:157:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ module.h:77:14 + // aarch64-apple-darwin (flecs/addons/module.h) + // x86_64-pc-windows-msvc (flecs\addons\module.h) + // x86_64-apple-darwin (flecs/addons/module.h) + // x86_64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-pc-windows-msvc (flecs\addons\module.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); + public static extern ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); - // Function @ strbuf.h:131:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ snapshot.h:80:6 + // aarch64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) + // x86_64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr_zerocpy(ecs_strbuf_t* buffer, CString str); + public static extern CBool ecs_snapshot_next(ecs_iter_t* iter); - // Function @ flecs.h:4615:6 + // Function @ flecs.h:4380:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1892,19 +2042,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); - - // Function @ strbuf.h:102:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); + public static extern int ecs_search_offset(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_id_t* id_out); - // Function @ meta.h:493:10 + // Function @ meta.h:540:14 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -1912,9 +2052,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); + public static extern ecs_entity_t ecs_enum_init(ecs_world_t* world, ecs_enum_desc_t* desc); - // Function @ flecs.h:1693:6 + // Function @ flecs.h:1568:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1922,9 +2062,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); - // Function @ flecs.h:4470:7 + // Function @ flecs.h:1671:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -1932,27 +2072,17 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_table_get_column(ecs_table_t* table, int index); + public static extern void ecs_add_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ sparse.h:230:17 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ http.h:157:6 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong* flecs_sparse_ids(ecs_sparse_t* sparse); - - // Function @ expr.h:101:7 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_astresc(CChar delimiter, CString @in); + public static extern void ecs_http_server_stop(ecs_http_server_t* server); // Function @ api_support.h:56:7 // aarch64-apple-darwin (flecs/private/api_support.h) @@ -1964,27 +2094,67 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern CString ecs_vasprintf(CString fmt, void* args); - // Function @ system.h:241:7 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) + // Function @ doc.h:79:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); + public static extern void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); - // Function @ flecs.h:1363:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ strbuf.h:180:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_dim(ecs_world_t* world, int entity_count); + public static extern void ecs_strbuf_list_next(ecs_strbuf_t* buffer); - // Function @ stats.h:223:6 + // Function @ doc.h:92:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); + + // Function @ json.h:81:5 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_array_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, int count, ecs_strbuf_t* buf_out); + + // Function @ sparse.h:110:10 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ulong flecs_sparse_last_id(ecs_sparse_t* sparse); + + // Function @ module.h:39:14 + // aarch64-apple-darwin (flecs/addons/module.h) + // x86_64-pc-windows-msvc (flecs\addons\module.h) + // x86_64-apple-darwin (flecs/addons/module.h) + // x86_64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-pc-windows-msvc (flecs\addons\module.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); + + // Function @ stats.h:257:6 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) @@ -1992,9 +2162,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); + public static extern void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); - // Function @ meta.h:498:8 + // Function @ flecs_pinvoke.h:16:26 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsIsA(); + + // Function @ meta.h:506:13 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -2002,49 +2182,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern double ecs_meta_get_float(ecs_meta_cursor_t* cursor); - - // Function @ http.h:137:5 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_http_server_start(ecs_http_server_t* server); - - // Function @ flecs.h:1794:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_clear(ecs_world_t* world, ecs_entity_t entity); + public static extern CString ecs_meta_get_string(ecs_meta_cursor_t* cursor); - // Function @ parser.h:47:13 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) + // Function @ meta.h:452:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_digit(CString ptr, CString token); + public static extern int ecs_meta_set_string(ecs_meta_cursor_t* cursor, CString value); - // Function @ flecs.h:2752:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ map.h:180:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_with(ecs_world_t* world, ecs_id_t id); + public static extern void ecs_map_clear(ecs_map_t* map); - // Function @ flecs.h:3398:6 + // Function @ flecs.h:3547:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2052,7 +2212,7 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_orphaned(ecs_query_t* query); + public static extern void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); // Function @ doc.h:144:13 // aarch64-apple-darwin (flecs/addons/doc.h) @@ -2064,7 +2224,17 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern CString ecs_doc_get_link(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:1854:13 + // Function @ plecs.h:72:5 + // aarch64-apple-darwin (flecs/addons/plecs.h) + // x86_64-pc-windows-msvc (flecs\addons\plecs.h) + // x86_64-apple-darwin (flecs/addons/plecs.h) + // x86_64-unknown-linux-gnu (flecs/addons/plecs.h) + // aarch64-unknown-linux-gnu (flecs/addons/plecs.h) + // aarch64-pc-windows-msvc (flecs\addons\plecs.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename); + + // Function @ flecs.h:3567:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2072,9 +2242,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern CBool ecs_iter_next(ecs_iter_t* it); - // Function @ flecs.h:3709:6 + // Function @ flecs.h:2783:15 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2082,9 +2252,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var_as_table(ecs_iter_t* it, int var_id, ecs_table_t* table); + public static extern ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); - // Function @ flecs.h:2891:6 + // Function @ flecs.h:3504:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2092,19 +2262,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_initialized(ecs_term_t* term); - - // Function @ system.h:227:7 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); + public static extern CBool ecs_observer_default_run_action(ecs_iter_t* it); - // Function @ flecs.h:4279:6 + // Function @ flecs.h:4343:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2112,9 +2272,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_readonly(ecs_world_t* world); + public static extern int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); - // Function @ flecs.h:2655:6 + // Function @ flecs.h:3677:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2122,9 +2282,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); + public static extern void ecs_iter_set_var_as_range(ecs_iter_t* it, int var_id, ecs_table_range_t* range); + + // Function @ http.h:147:6 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); + + // Function @ expr.h:145:7 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_ptr_to_expr(ecs_world_t* world, ecs_entity_t type, void* data); - // Function @ meta.h:578:14 + // Function @ meta.h:478:6 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -2132,19 +2312,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); + public static extern CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); - // Function @ stats.h:257:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ expr.h:195:13 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_repeat_last(ecs_system_stats_t* stats); + public static extern CString ecs_parse_expr_token(CString name, CString expr, CString ptr, CString token); - // Function @ flecs.h:3264:14 + // Function @ flecs.h:2407:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2152,9 +2332,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); + public static extern CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); - // Function @ os_api.h:414:6 + // Function @ os_api.h:480:6 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -2162,29 +2342,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_trace(CString file, int line, CString msg); - - // Function @ rules.h:110:9 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_find_var(ecs_rule_t* rule, CString name); - - // Function @ flecs.h:2941:5 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_term_finalize(ecs_world_t* world, CString name, ecs_term_t* term); + public static extern CBool ecs_os_has_logging(); - // Function @ flecs.h:3186:9 + // Function @ flecs.h:4263:20 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2192,19 +2352,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); + public static extern ecs_world_t* ecs_get_world(ecs_poly_t* world); - // Function @ doc.h:155:13 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) + // Function @ map.h:167:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); + public static extern void ecs_map_free(ecs_map_t* map); - // Function @ strbuf.h:174:6 + // Function @ strbuf.h:152:7 // aarch64-apple-darwin (flecs/private/strbuf.h) // x86_64-pc-windows-msvc (flecs\private\strbuf.h) // x86_64-apple-darwin (flecs/private/strbuf.h) @@ -2212,9 +2372,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_pop(ecs_strbuf_t* buffer, CString list_close); + public static extern CString ecs_strbuf_get(ecs_strbuf_t* buffer); - // Function @ flecs.h:4054:13 + // Function @ flecs.h:2382:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2222,29 +2382,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_frame_begin(ecs_world_t* world, float delta_time); - - // Function @ strbuf.h:185:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_append(ecs_strbuf_t* buffer, CString fmt); + public static extern CString ecs_id_str(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:2202:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ pipeline.h:97:14 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); + public static extern ecs_entity_t ecs_get_pipeline(ecs_world_t* world); - // Function @ os_api.h:278:6 + // Function @ os_api.h:414:6 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -2252,19 +2402,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fini(); + public static extern void ecs_os_trace(CString file, int line, CString msg); - // Function @ units.h:170:6 - // aarch64-apple-darwin (flecs/addons/units.h) - // x86_64-pc-windows-msvc (flecs\addons\units.h) - // x86_64-apple-darwin (flecs/addons/units.h) - // x86_64-unknown-linux-gnu (flecs/addons/units.h) - // aarch64-unknown-linux-gnu (flecs/addons/units.h) - // aarch64-pc-windows-msvc (flecs\addons\units.h) + // Function @ expr.h:178:5 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsUnitsImport(ecs_world_t* world); + public static extern int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); + + // Function @ meta.h:403:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_meta_get_type(ecs_meta_cursor_t* cursor); + + // Function @ sparse.h:150:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool flecs_sparse_is_alive(ecs_sparse_t* sparse, ulong id); - // Function @ flecs.h:2955:12 + // Function @ flecs.h:2434:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2272,7 +2442,47 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_copy(ecs_term_t* src); + public static extern CBool ecs_has_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + + // Function @ flecs.h:2543:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_lookup_child(ecs_world_t* world, ecs_entity_t parent, CString name); + + // Function @ flecs.h:4452:19 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table); + + // Function @ stats.h:292:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_reduce(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + + // Function @ log.h:451:6 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_log_enable_timedelta(CBool enabled); // Function @ stats.h:176:6 // aarch64-apple-darwin (flecs/addons/stats.h) @@ -2284,27 +2494,37 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern void ecs_world_stats_repeat_last(ecs_world_stats_t* stats); - // Function @ map.h:110:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ os_api.h:442:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_map_is_initialized(ecs_map_t* result); + public static extern void ecs_sleepf(double t); - // Function @ flecs.h:1590:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ timer.h:133:13 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_entity_init(ecs_world_t* world, ecs_entity_desc_t* desc); + public static extern float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); + + // Function @ os_api.h:278:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_fini(); - // Function @ flecs.h:2517:6 + // Function @ flecs.h:1686:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2312,19 +2532,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable(ecs_world_t* world, ecs_entity_t entity, CBool enabled); + public static extern void ecs_remove_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ strbuf.h:116:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ timer.h:194:14 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); + public static extern ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); - // Function @ log.h:434:6 + // Function @ meta.h:470:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_null(ecs_meta_cursor_t* cursor); + + // Function @ log.h:413:5 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) @@ -2332,19 +2562,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_log_enable_timestamp(CBool enabled); + public static extern int ecs_log_set_level(int level); - // Function @ rules.h:181:7 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ system.h:234:7 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_str(ecs_rule_t* rule); + public static extern void* ecs_get_system_ctx(ecs_world_t* world, ecs_entity_t system); + + // Function @ json.h:112:5 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); + + // Function @ flecs_cpp.h:93:14 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_cpp_enum_constant_register(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t id, CString name, int value); - // Function @ flecs.h:2331:13 + // Function @ flecs.h:2896:5 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2352,9 +2602,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_symbol(ecs_world_t* world, ecs_entity_t entity); + public static extern int ecs_term_finalize(ecs_world_t* world, ecs_term_t* term); - // Function @ flecs.h:3514:6 + // Function @ flecs.h:4521:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2362,29 +2612,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); + public static extern ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - // Function @ hashmap.h:111:18 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + // Function @ json.h:241:7 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_hm_bucket_t* flecs_hashmap_get_bucket(ecs_hashmap_t* map, ulong hash); + public static extern CString ecs_iter_to_json(ecs_world_t* world, ecs_iter_t* iter, ecs_iter_to_json_desc_t* desc); - // Function @ os_api.h:488:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ stats.h:223:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_modules(); + public static extern void ecs_query_stats_copy_last(ecs_query_stats_t* dst, ecs_query_stats_t* src); - // Function @ flecs.h:3416:9 + // Function @ flecs.h:1417:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2392,9 +2642,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_table_count(ecs_query_t* query); + public static extern void ecs_measure_system_time(ecs_world_t* world, CBool enable); - // Function @ flecs.h:1425:16 + // Function @ flecs.h:2007:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2402,29 +2652,69 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_measure_frame_time(ecs_world_t* world, CBool enable); + public static extern void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ flecs.h:1351:25 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin + // Function @ expr.h:57:7 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_chresc(CString @out, CChar @in, CChar delimiter); + + // Function @ sparse.h:173:9 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int flecs_sparse_count(ecs_sparse_t* sparse); + + // Function @ hashmap.h:55:6 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_hashmap_fini(ecs_hashmap_t* map); + + // Function @ flecs.h:2297:13 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); + public static extern CString ecs_get_name(ecs_world_t* world, ecs_entity_t entity); - // Function @ doc.h:122:13 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) + // Function @ flecs.h:2851:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_brief(ecs_world_t* world, ecs_entity_t entity); + public static extern CBool ecs_term_id_is_set(ecs_term_id_t* id); + + // Function @ http.h:127:6 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_http_server_fini(ecs_http_server_t* server); - // Function @ meta.h:526:14 + // Function @ meta.h:359:19 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -2432,9 +2722,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); + public static extern ecs_meta_cursor_t ecs_meta_cursor(ecs_world_t* world, ecs_entity_t type, void* ptr); - // Function @ meta.h:371:5 + // Function @ meta.h:464:5 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -2442,9 +2732,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_next(ecs_meta_cursor_t* cursor); + public static extern int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); - // Function @ flecs.h:4268:20 + // Function @ flecs.h:2180:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2452,19 +2742,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_get_world(ecs_poly_t* world); + public static extern CBool ecs_exists(ecs_world_t* world, ecs_entity_t entity); - // Function @ stats.h:298:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ meta.h:569:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); + public static extern ecs_entity_t ecs_array_init(ecs_world_t* world, ecs_array_desc_t* desc); - // Function @ flecs.h:4515:14 + // Function @ flecs.h:1329:25 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2472,19 +2762,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - - // Function @ timer.h:223:6 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); + public static extern ecs_world_info_t* ecs_get_world_info(ecs_world_t* world); - // Function @ flecs.h:2404:7 + // Function @ flecs.h:1283:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2492,29 +2772,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_id_str(ecs_world_t* world, ecs_id_t id); + public static extern void ecs_set_hooks_id(ecs_world_t* world, ecs_entity_t id, ecs_type_hooks_t* hooks); - // Function @ meta.h:625:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ stats.h:218:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_init(ecs_world_t* world, ecs_unit_desc_t* desc); + public static extern void ecs_query_stats_repeat_last(ecs_query_stats_t* stats); - // Function @ flecs_cpp.h:39:7 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // Function @ stats.h:244:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_type_name(CString type_name, CString func_name, ulong len); + public static extern void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); + + // Function @ sparse.h:241:15 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_sparse_t* flecs_sparse_copy(ecs_sparse_t* src); - // Function @ flecs.h:1832:6 + // Function @ flecs.h:4093:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2522,29 +2812,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_remove_all(ecs_world_t* world, ecs_id_t id); - - // Function @ snapshot.h:33:17 - // aarch64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) - // x86_64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take(ecs_world_t* world); - - // Function @ map.h:174:9 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); + public static extern CBool ecs_readonly_begin(ecs_world_t* world); - // Function @ flecs.h:2442:7 + // Function @ flecs.h:4553:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2552,9 +2822,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table); + public static extern void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); - // Function @ flecs.h:1870:11 + // Function @ flecs.h:2023:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2562,9 +2832,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern void ecs_modified_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + + // Function @ os_api.h:488:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_os_has_modules(); + + // Function @ os_api.h:447:8 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern double ecs_time_measure(ecs_time_t* start); - // Function @ flecs.h:1752:6 + // Function @ flecs.h:4471:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2572,9 +2862,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_component_enabled_w_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table); - // Function @ flecs.h:3822:6 + // Function @ flecs.h:1751:10 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2582,29 +2872,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_page_next(ecs_iter_t* it); + public static extern ecs_id_t ecs_make_pair(ecs_entity_t first, ecs_entity_t second); - // Function @ json.h:129:7 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ meta.h:440:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_info_to_json(ecs_world_t* world, ecs_entity_t type); + public static extern int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); - // Function @ sparse.h:296:10 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ map.h:236:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong ecs_sparse_last_id(ecs_sparse_t* sparse); + public static extern void ecs_map_memory(ecs_map_t* map, int* allocd, int* used); + + // Function @ stats.h:316:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_pipeline_stats_copy_last(ecs_pipeline_stats_t* dst, ecs_pipeline_stats_t* src); + + // Function @ doc.h:43:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); - // Function @ flecs.h:3696:6 + // Function @ flecs.h:3840:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2612,9 +2922,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_set_var(ecs_iter_t* it, int var_id, ecs_entity_t entity); + public static extern void* ecs_field_w_size(ecs_iter_t* it, ulong size, int index); - // Function @ sparse.h:84:6 + // Function @ sparse.h:296:10 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -2622,49 +2932,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_free(ecs_sparse_t* sparse); - - // Function @ os_api.h:468:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_heap(); + public static extern ulong ecs_sparse_last_id(ecs_sparse_t* sparse); - // Function @ flecs.h:4217:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_stage_count(ecs_world_t* world, int stages); - - // Function @ monitor.h:54:6 - // aarch64-apple-darwin (flecs/addons/monitor.h) - // x86_64-pc-windows-msvc (flecs\addons\monitor.h) - // x86_64-apple-darwin (flecs/addons/monitor.h) - // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-pc-windows-msvc (flecs\addons\monitor.h) + // Function @ meta.h:656:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMonitorImport(ecs_world_t* world); + public static extern ecs_entity_t ecs_quantity_init(ecs_world_t* world, ecs_entity_desc_t* desc); - // Function @ flecs.h:3858:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ pinvoke.h:186:25 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\pinvoke.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_worker_next(ecs_iter_t* it); + public static extern CString pinvoke_get_platform_name(); - // Function @ flecs.h:3039:15 + // Function @ flecs.h:4475:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2672,19 +2962,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_flags32_t ecs_id_get_flags(ecs_world_t* world, ecs_id_t id); - - // Function @ stats.h:163:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_reduce(ecs_world_stats_t* dst, ecs_world_stats_t* src); + public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index); - // Function @ flecs.h:3899:6 + // Function @ flecs.h:2633:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2692,9 +2972,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_readonly(ecs_iter_t* it, int index); + public static extern void ecs_get_path_w_sep_buf(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix, ecs_strbuf_t* buf); - // Function @ flecs_cpp.h:104:9 + // Function @ flecs_cpp.h:81:14 // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) @@ -2702,9 +2982,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_inc(); + public static extern ecs_entity_t ecs_cpp_component_register_explicit(ecs_world_t* world, ecs_entity_t s_id, ecs_entity_t id, CString name, CString type_name, CString symbol, ulong size, ulong alignment, CBool is_component); + + // Function @ meta.h:691:6 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsMetaImport(ecs_world_t* world); - // Function @ flecs.h:2969:12 + // Function @ flecs.h:1268:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2712,9 +3002,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_term_t ecs_term_move(ecs_term_t* src); + public static extern CBool ecs_should_quit(ecs_world_t* world); - // Function @ sparse.h:115:10 + // Function @ sparse.h:89:6 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -2722,9 +3012,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_new_id(ecs_sparse_t* sparse); + public static extern void flecs_sparse_clear(ecs_sparse_t* sparse); - // Function @ flecs.h:2763:10 + // Function @ flecs.h:3117:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2732,19 +3022,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_get_with(ecs_world_t* world); - - // Function @ meta.h:388:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_push(ecs_meta_cursor_t* cursor); + public static extern ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); - // Function @ flecs.h:2416:6 + // Function @ flecs.h:3353:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2752,39 +3032,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_id_str_buf(ecs_world_t* world, ecs_id_t id, ecs_strbuf_t* buf); - - // Function @ strbuf.h:192:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); - - // Function @ strbuf.h:157:7 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); + public static extern CBool ecs_query_orphaned(ecs_query_t* query); - // Function @ flecs.h:2237:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ sparse.h:95:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_get_storage_table(ecs_world_t* world, ecs_entity_t entity); + public static extern void flecs_sparse_set_id_source(ecs_sparse_t* sparse, ulong* id_source); - // Function @ flecs.h:1459:6 + // Function @ flecs.h:1455:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2792,39 +3052,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_target_fps(ecs_world_t* world, float fps); - - // Function @ log.h:73:6 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_log(int level); + public static extern void ecs_run_aperiodic(ecs_world_t* world, ecs_flags32_t flags); - // Function @ log.h:81:13 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) + // Function @ sparse.h:84:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_strerror(int error_code); + public static extern void flecs_sparse_free(ecs_sparse_t* sparse); - // Function @ json.h:64:7 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ http.h:137:5 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); + public static extern int ecs_http_server_start(ecs_http_server_t* server); - // Function @ flecs.h:2122:10 + // Function @ flecs.h:4506:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2832,19 +3082,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t ecs_strip_generation(ecs_entity_t e); + public static extern ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id); - // Function @ map.h:236:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ system.h:157:14 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_memory(ecs_map_t* map, int* allocd, int* used); + public static extern ecs_entity_t ecs_run(ecs_world_t* world, ecs_entity_t system, float delta_time, void* param); - // Function @ flecs.h:4574:6 + // Function @ flecs.h:2657:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2852,9 +3102,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_table_has_module(ecs_table_t* table); + public static extern ecs_entity_t ecs_new_from_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix); + + // Function @ stats.h:157:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_world_stats_get(ecs_world_t* world, ecs_world_stats_t* stats); - // Function @ flecs.h:2776:13 + // Function @ flecs.h:1810:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2862,9 +3122,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); + public static extern void ecs_remove_all(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:1911:7 + // Function @ flecs.h:2567:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2872,39 +3132,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - - // Function @ stats.h:198:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); - - // Function @ pipeline.h:118:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_time_scale(ecs_world_t* world, float scale); - - // Function @ log.h:413:5 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_set_level(int level); + public static extern ecs_entity_t ecs_lookup_path_w_sep(ecs_world_t* world, ecs_entity_t parent, CString path, CString sep, CString prefix, CBool recursive); - // Function @ flecs.h:2741:14 + // Function @ flecs.h:1862:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2912,9 +3142,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_scope(ecs_world_t* world); + public static extern void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); - // Function @ expr.h:128:13 + // Function @ expr.h:69:13 // aarch64-apple-darwin (flecs/addons/expr.h) // x86_64-pc-windows-msvc (flecs\addons\expr.h) // x86_64-apple-darwin (flecs/addons/expr.h) @@ -2922,29 +3152,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/expr.h) // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_expr(ecs_world_t* world, CString ptr, ecs_entity_t type, void* data_out, ecs_parse_expr_desc_t* desc); - - // Function @ flecs_cpp.h:51:7 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_get_constant_name(CString constant_name, CString func_name, ulong len); - - // Function @ flecs.h:3535:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); + public static extern CString ecs_chrparse(CString @in, CString @out); - // Function @ meta.h:408:14 + // Function @ meta.h:527:14 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -2952,9 +3162,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); + public static extern ecs_entity_t ecs_primitive_init(ecs_world_t* world, ecs_primitive_desc_t* desc); - // Function @ flecs.h:3075:16 + // Function @ flecs.h:2707:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -2962,39 +3172,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_filter_init(ecs_world_t* world, ecs_filter_desc_t* desc); + public static extern ecs_entity_t ecs_set_scope(ecs_world_t* world, ecs_entity_t scope); - // Function @ app.h:87:5 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_app_set_run_action(ecs_app_run_action_t callback); - - // Function @ flecs.h:2429:7 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ rules.h:114:9 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_type_str(ecs_world_t* world, ecs_type_t* type); + public static extern int ecs_rule_find_var(ecs_rule_t* rule, CString name); - // Function @ meta.h:464:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ timer.h:223:6 + // aarch64-apple-darwin (flecs/addons/timer.h) + // x86_64-pc-windows-msvc (flecs\addons\timer.h) + // x86_64-apple-darwin (flecs/addons/timer.h) + // x86_64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-unknown-linux-gnu (flecs/addons/timer.h) + // aarch64-pc-windows-msvc (flecs\addons\timer.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_entity(ecs_meta_cursor_t* cursor, ecs_entity_t value); + public static extern void ecs_set_tick_source(ecs_world_t* world, ecs_entity_t system, ecs_entity_t tick_source); - // Function @ flecs.h:3286:21 + // Function @ flecs.h:4004:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3002,19 +3202,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_query_get_filter(ecs_query_t* query); + public static extern void* ecs_iter_column_w_size(ecs_iter_t* it, ulong size, int index); - // Function @ rules.h:135:6 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ strbuf.h:138:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_var_is_entity(ecs_rule_t* rule, int var_id); + public static extern CBool ecs_strbuf_appendstr_zerocpy_const(ecs_strbuf_t* buffer, CString str); + + // Function @ os_api.h:426:13 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_os_strerror(int err); - // Function @ flecs.h:2167:6 + // Function @ flecs.h:1848:11 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3022,19 +3232,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_ensure(ecs_world_t* world, ecs_entity_t entity); - - // Function @ stats.h:305:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_repeat_last(ecs_pipeline_stats_t* stats); + public static extern ecs_ref_t ecs_ref_init_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ meta.h:470:5 + // Function @ meta.h:398:6 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -3042,39 +3242,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_null(ecs_meta_cursor_t* cursor); - - // Function @ snapshot.h:44:17 - // aarch64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) - // x86_64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); - - // Function @ vector.h:100:6 - // aarch64-apple-darwin (flecs/private/vector.h) - // x86_64-pc-windows-msvc (flecs\private\vector.h) - // x86_64-apple-darwin (flecs/private/vector.h) - // x86_64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-pc-windows-msvc (flecs\private\vector.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vector_clear(ecs_vector_t* vector); - - // Function @ flecs_cpp.h:57:13 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); + public static extern CBool ecs_meta_is_collection(ecs_meta_cursor_t* cursor); - // Function @ flecs.h:2990:6 + // Function @ flecs.h:4622:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3082,69 +3252,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_match(ecs_id_t id, ecs_id_t pattern); - - // Function @ timer.h:97:13 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_timeout(ecs_world_t* world, ecs_entity_t tick_source); - - // Function @ json.h:42:13 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_json(ecs_world_t* world, CString ptr, ecs_entity_t type, void* data_out, ecs_parse_json_desc_t* desc); - - // Function @ flecs_cpp.h:101:9 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_cpp_reset_count_get(); - - // Function @ coredoc.h:29:6 - // aarch64-apple-darwin (flecs/addons/coredoc.h) - // x86_64-pc-windows-msvc (flecs\addons\coredoc.h) - // x86_64-apple-darwin (flecs/addons/coredoc.h) - // x86_64-unknown-linux-gnu (flecs/addons/coredoc.h) - // aarch64-unknown-linux-gnu (flecs/addons/coredoc.h) - // aarch64-pc-windows-msvc (flecs\addons\coredoc.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsCoreDocImport(ecs_world_t* world); - - // Function @ os_api.h:442:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_sleepf(double t); - - // Function @ http.h:147:6 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_dequeue(ecs_http_server_t* server, float delta_time); + public static extern void* ecs_record_get_column(ecs_record_t* r, int column, ulong c_size); - // Function @ flecs.h:4348:9 + // Function @ flecs.h:1260:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3152,9 +3262,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, ecs_id_t* id_out); + public static extern void ecs_quit(ecs_world_t* world); - // Function @ flecs.h:3628:6 + // Function @ flecs.h:1307:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3162,19 +3272,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_fini(ecs_iter_t* it); - - // Function @ stats.h:250:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); + public static extern void ecs_set_context(ecs_world_t* world, void* ctx); - // Function @ snapshot.h:89:6 + // Function @ snapshot.h:44:17 // aarch64-apple-darwin (flecs/addons/snapshot.h) // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) // x86_64-apple-darwin (flecs/addons/snapshot.h) @@ -3182,19 +3282,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_snapshot_free(ecs_snapshot_t* snapshot); + public static extern ecs_snapshot_t* ecs_snapshot_take_w_iter(ecs_iter_t* iter); - // Function @ flecs.h:1808:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ meta.h:408:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_delete(ecs_world_t* world, ecs_entity_t entity); + public static extern ecs_entity_t ecs_meta_get_unit(ecs_meta_cursor_t* cursor); + + // Function @ pipeline.h:86:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline); + + // Function @ flecs_pinvoke.h:26:26 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t pinvoke_EcsChildOf(); - // Function @ flecs.h:3885:7 + // Function @ flecs.h:4606:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3202,9 +3322,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_term_w_size(ecs_iter_t* it, ulong size, int index); + public static extern CBool ecs_commit(ecs_world_t* world, ecs_entity_t entity, ecs_record_t* @record, ecs_table_t* table, ecs_type_t* added, ecs_type_t* removed); - // Function @ module.h:77:14 + // Function @ module.h:53:14 // aarch64-apple-darwin (flecs/addons/module.h) // x86_64-pc-windows-msvc (flecs\addons\module.h) // x86_64-apple-darwin (flecs/addons/module.h) @@ -3212,9 +3332,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/module.h) // aarch64-pc-windows-msvc (flecs\addons\module.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import_from_library(ecs_world_t* world, CString library_name, CString module_name); + public static extern ecs_entity_t ecs_import_c(ecs_world_t* world, ecs_module_action_t module, CString module_name_c); - // Function @ meta.h:654:6 + // Function @ meta.h:493:10 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -3222,29 +3342,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsMetaImport(ecs_world_t* world); - - // Function @ stats.h:211:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_stats_reduce_last(ecs_query_stats_t* stats, ecs_query_stats_t* old, int count); - - // Function @ flecs.h:4009:7 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_iter_column_w_size(ecs_iter_t* it, ulong size, int index); + public static extern ulong ecs_meta_get_uint(ecs_meta_cursor_t* cursor); - // Function @ flecs.h:2501:14 + // Function @ flecs.h:4049:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3252,19 +3352,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_object_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); + public static extern float ecs_frame_begin(ecs_world_t* world, float delta_time); - // Function @ os_api.h:417:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ json.h:97:7 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_warn(CString file, int line, CString msg); + public static extern CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); + + // Function @ map.h:190:9 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_map_bucket_count(ecs_map_t* map); - // Function @ flecs.h:1670:14 + // Function @ flecs.h:2090:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3272,59 +3382,59 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); + public static extern CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); - // Function @ doc.h:79:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) + // Function @ expr.h:101:7 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_link(ecs_world_t* world, ecs_entity_t entity, CString link); + public static extern CString ecs_astresc(CChar delimiter, CString @in); - // Function @ timer.h:119:14 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) + // Function @ flecs.h:2508:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_interval(ecs_world_t* world, ecs_entity_t tick_source, float interval); + public static extern int ecs_count_id(ecs_world_t* world, ecs_id_t entity); - // Function @ rules.h:121:13 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ flecs.h:3916:8 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_rule_var_name(ecs_rule_t* rule, int var_id); + public static extern ulong ecs_field_size(ecs_iter_t* it, int index); - // Function @ doc.h:92:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) + // Function @ log.h:423:6 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_color(ecs_world_t* world, ecs_entity_t entity, CString color); + public static extern CBool ecs_log_enable_colors(CBool enabled); - // Function @ stats.h:244:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ os_api.h:452:12 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_system_stats_reduce(ecs_system_stats_t* dst, ecs_system_stats_t* src); + public static extern ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); - // Function @ flecs.h:2112:6 + // Function @ flecs.h:2828:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3332,19 +3442,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_alive(ecs_world_t* world, ecs_entity_t e); - - // Function @ json.h:97:7 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_ptr_to_json(ecs_world_t* world, ecs_entity_t type, void* data); + public static extern ecs_iter_t ecs_term_chain_iter(ecs_iter_t* it, ecs_term_t* term); - // Function @ flecs.h:3317:12 + // Function @ flecs.h:2285:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3352,9 +3452,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); + public static extern CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:1290:6 + // Function @ flecs.h:1631:21 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3362,9 +3462,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_should_quit(ecs_world_t* world); + public static extern ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); + + // Function @ stats.h:198:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_query_stats_get(ecs_world_t* world, ecs_query_t* query, ecs_query_stats_t* stats); - // Function @ flecs.h:3592:6 + // Function @ flecs.h:2964:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3372,9 +3482,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_iter_poly(ecs_world_t* world, ecs_poly_t* poly, ecs_iter_t* iter, ecs_term_t* filter); + public static extern CBool ecs_id_is_wildcard(ecs_id_t id); - // Function @ flecs.h:2213:19 + // Function @ flecs.h:3891:10 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3382,69 +3492,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_get_type(ecs_world_t* world, ecs_entity_t entity); - - // Function @ os_api.h:275:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_init(); - - // Function @ doc.h:67:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_detail(ecs_world_t* world, ecs_entity_t entity, CString description); - - // Function @ doc.h:55:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); - - // Function @ log.h:460:5 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_log_last_error(); - - // Function @ meta.h:440:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_set_uint(ecs_meta_cursor_t* cursor, ulong value); - - // Function @ timer.h:133:13 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern float ecs_get_interval(ecs_world_t* world, ecs_entity_t tick_source); + public static extern ecs_id_t ecs_field_id(ecs_iter_t* it, int index); - // Function @ flecs.h:1246:6 + // Function @ flecs.h:4316:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3452,9 +3502,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_fini(ecs_world_t* world); + public static extern CBool ecs_stage_is_async(ecs_world_t* stage); - // Function @ flecs.h:1996:13 + // Function @ map.h:137:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_map_has(ecs_map_t* map, ecs_map_key_t key); + + // Function @ units.h:170:6 + // aarch64-apple-darwin (flecs/addons/units.h) + // x86_64-pc-windows-msvc (flecs\addons\units.h) + // x86_64-apple-darwin (flecs/addons/units.h) + // x86_64-unknown-linux-gnu (flecs/addons/units.h) + // aarch64-unknown-linux-gnu (flecs/addons/units.h) + // aarch64-pc-windows-msvc (flecs\addons\units.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsUnitsImport(ecs_world_t* world); + + // Function @ flecs.h:3694:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3462,9 +3532,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + public static extern ecs_entity_t ecs_iter_get_var(ecs_iter_t* it, int var_id); - // Function @ flecs.h:4562:6 + // Function @ flecs.h:3508:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3472,9 +3542,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_unlock(ecs_world_t* world, ecs_table_t* table); + public static extern void* ecs_get_observer_ctx(ecs_world_t* world, ecs_entity_t observer); - // Function @ meta.h:488:9 + // Function @ meta.h:388:5 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -3482,9 +3552,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern long ecs_meta_get_int(ecs_meta_cursor_t* cursor); + public static extern int ecs_meta_push(ecs_meta_cursor_t* cursor); - // Function @ flecs.h:3085:6 + // Function @ flecs.h:1437:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3492,9 +3562,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_fini(ecs_filter_t* filter); + public static extern void ecs_set_target_fps(ecs_world_t* world, float fps); - // Function @ stats.h:324:6 + // Function @ flecs.h:1187:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_world_t* ecs_init(); + + // Function @ stats.h:169:6 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) @@ -3502,29 +3582,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce(ecs_metric_t* dst, ecs_metric_t* src, int t_dst, int t_src); - - // Function @ strbuf.h:162:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_reset(ecs_strbuf_t* buffer); - - // Function @ parser.h:58:13 - // aarch64-apple-darwin (flecs/addons/parser.h) - // x86_64-pc-windows-msvc (flecs\addons\parser.h) - // x86_64-apple-darwin (flecs/addons/parser.h) - // x86_64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-unknown-linux-gnu (flecs/addons/parser.h) - // aarch64-pc-windows-msvc (flecs\addons\parser.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_parse_fluff(CString ptr, CString* last_comment); + public static extern void ecs_world_stats_reduce_last(ecs_world_stats_t* stats, ecs_world_stats_t* old, int count); - // Function @ flecs.h:1515:9 + // Function @ flecs.h:2842:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3532,19 +3592,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_delete_empty_tables(ecs_world_t* world, ecs_id_t id, ushort clear_generation, ushort delete_generation, int min_id_count, double time_budget_seconds); + public static extern CBool ecs_term_next(ecs_iter_t* it); - // Function @ strbuf.h:167:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ log.h:434:6 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_strbuf_list_push(ecs_strbuf_t* buffer, CString list_open, CString separator); + public static extern CBool ecs_log_enable_timestamp(CBool enabled); - // Function @ flecs.h:4431:9 + // Function @ flecs.h:4140:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3552,19 +3612,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, int min_depth, int max_depth, ecs_entity_t* subject_out, ecs_id_t* id_out, int* depth_out, ecs_table_record_t** tr_out); + public static extern CBool ecs_is_deferred(ecs_world_t* world); - // Function @ strbuf.h:145:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ api_support.h:44:6 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_appendstrn(ecs_strbuf_t* buffer, CString str, int n); + public static extern CBool ecs_identifier_is_0(CString id); - // Function @ flecs.h:2142:14 + // Function @ flecs.h:4565:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3572,9 +3632,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_alive(ecs_world_t* world, ecs_entity_t e); + public static extern CBool ecs_table_has_module(ecs_table_t* table); - // Function @ snapshot.h:80:6 + // Function @ json.h:42:13 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_parse_json(ecs_world_t* world, CString ptr, ecs_entity_t type, void* data_out, ecs_parse_json_desc_t* desc); + + // Function @ stats.h:332:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); + + // Function @ snapshot.h:62:6 // aarch64-apple-darwin (flecs/addons/snapshot.h) // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) // x86_64-apple-darwin (flecs/addons/snapshot.h) @@ -3582,9 +3662,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_snapshot_next(ecs_iter_t* iter); + public static extern void ecs_snapshot_restore(ecs_world_t* world, ecs_snapshot_t* snapshot); - // Function @ flecs.h:1282:6 + // Function @ flecs.h:4461:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3592,69 +3672,69 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_quit(ecs_world_t* world); + public static extern void* ecs_table_get_column(ecs_table_t* table, int index); - // Function @ sparse.h:156:10 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ meta.h:376:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_get_alive(ecs_sparse_t* sparse, ulong id); + public static extern int ecs_meta_elem(ecs_meta_cursor_t* cursor, int elem); - // Function @ expr.h:178:5 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ flecs.h:1403:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_primitive_to_expr_buf(ecs_world_t* world, ecs_primitive_kind_t kind, void* data, ecs_strbuf_t* buf); + public static extern void ecs_measure_frame_time(ecs_world_t* world, CBool enable); - // Function @ snapshot.h:71:12 - // aarch64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) - // x86_64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) + // Function @ plecs.h:57:5 + // aarch64-apple-darwin (flecs/addons/plecs.h) + // x86_64-pc-windows-msvc (flecs\addons\plecs.h) + // x86_64-apple-darwin (flecs/addons/plecs.h) + // x86_64-unknown-linux-gnu (flecs/addons/plecs.h) + // aarch64-unknown-linux-gnu (flecs/addons/plecs.h) + // aarch64-pc-windows-msvc (flecs\addons\plecs.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_snapshot_iter(ecs_snapshot_t* snapshot); + public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); - // Function @ map.h:225:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ flecs.h:4234:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_set_size(ecs_map_t* map, int elem_count); + public static extern int ecs_get_stage_id(ecs_world_t* world); - // Function @ meta.h:512:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ flecs.h:1533:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_meta_get_entity(ecs_meta_cursor_t* cursor); + public static extern ecs_entity_t ecs_new_low_id(ecs_world_t* world); - // Function @ sparse.h:110:10 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ strbuf.h:157:7 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ulong flecs_sparse_last_id(ecs_sparse_t* sparse); + public static extern CString ecs_strbuf_get_small(ecs_strbuf_t* buffer); - // Function @ os_api.h:423:6 + // Function @ os_api.h:484:6 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -3662,19 +3742,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_fatal(CString file, int line, CString msg); + public static extern CBool ecs_os_has_dl(); - // Function @ doc.h:161:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) + // Function @ flecs.h:3469:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void FlecsDocImport(ecs_world_t* world); + public static extern void ecs_emit(ecs_world_t* world, ecs_event_desc_t* desc); - // Function @ flecs.h:3162:12 + // Function @ flecs.h:3728:19 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3682,9 +3762,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_chain_iter(ecs_iter_t* it, ecs_filter_t* filter); + public static extern ecs_table_range_t ecs_iter_get_var_as_range(ecs_iter_t* it, int var_id); - // Function @ sparse.h:173:9 + // Function @ sparse.h:122:17 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -3692,49 +3772,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_sparse_count(ecs_sparse_t* sparse); + public static extern ulong* flecs_sparse_new_ids(ecs_sparse_t* sparse, int count); - // Function @ plecs.h:57:5 - // aarch64-apple-darwin (flecs/addons/plecs.h) - // x86_64-pc-windows-msvc (flecs\addons\plecs.h) - // x86_64-apple-darwin (flecs/addons/plecs.h) - // x86_64-unknown-linux-gnu (flecs/addons/plecs.h) - // aarch64-unknown-linux-gnu (flecs/addons/plecs.h) - // aarch64-pc-windows-msvc (flecs\addons\plecs.h) + // Function @ flecs.h:1889:7 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str); + public static extern void* ecs_get_mut_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ flecs_cpp.h:62:6 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // Function @ flecs.h:3598:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, ulong size, ulong alignment, CBool implicit_name); + public static extern int ecs_iter_count(ecs_iter_t* it); - // Function @ http.h:157:6 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) + // Function @ parser.h:58:13 + // aarch64-apple-darwin (flecs/addons/parser.h) + // x86_64-pc-windows-msvc (flecs\addons\parser.h) + // x86_64-apple-darwin (flecs/addons/parser.h) + // x86_64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-unknown-linux-gnu (flecs/addons/parser.h) + // aarch64-pc-windows-msvc (flecs\addons\parser.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_http_server_stop(ecs_http_server_t* server); + public static extern CString ecs_parse_fluff(CString ptr, CString* last_comment); - // Function @ flecs_pinvoke.h:5:22 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // Function @ flecs.h:3869:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_id_t pinvoke_ECS_PAIR(); + public static extern CBool ecs_field_is_writeonly(ecs_iter_t* it, int index); - // Function @ flecs.h:1383:6 + // Function @ flecs.h:3745:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3742,9 +3822,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); + public static extern CBool ecs_iter_var_is_constrained(ecs_iter_t* it, int var_id); - // Function @ os_api.h:484:6 + // Function @ json.h:255:5 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_iter_to_json_buf(ecs_world_t* world, ecs_iter_t* iter, ecs_strbuf_t* buf_out, ecs_iter_to_json_desc_t* desc); + + // Function @ os_api.h:275:6 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -3752,69 +3842,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_dl(); + public static extern void ecs_os_init(); - // Function @ meta.h:591:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_struct_init(ecs_world_t* world, ecs_struct_desc_t* desc); - - // Function @ os_api.h:452:12 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_time_t ecs_time_sub(ecs_time_t t1, ecs_time_t t2); - - // Function @ timer.h:159:6 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_stop_timer(ecs_world_t* world, ecs_entity_t tick_source); - - // Function @ os_api.h:476:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_time(); - - // Function @ os_api.h:426:13 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ flecs_pinvoke.h:21:26 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_os_strerror(int err); + public static extern ecs_entity_t pinvoke_EcsDependsOn(); - // Function @ expr.h:57:7 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ stats.h:205:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_chresc(CString @out, CChar @in, CChar delimiter); + public static extern void ecs_query_stats_reduce(ecs_query_stats_t* dst, ecs_query_stats_t* src); - // Function @ flecs.h:2294:14 + // Function @ flecs.h:3854:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3822,9 +3872,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_id_is_tag(ecs_world_t* world, ecs_id_t id); + public static extern CBool ecs_field_is_readonly(ecs_iter_t* it, int index); - // Function @ flecs.h:2307:6 + // Function @ flecs.h:2870:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3832,19 +3882,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_in_use(ecs_world_t* world, ecs_id_t id); + public static extern CBool ecs_term_match_this(ecs_term_t* term); - // Function @ stats.h:287:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) + // Function @ flecs.h:1319:7 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_pipeline_stats_fini(ecs_pipeline_stats_t* stats); + public static extern void* ecs_get_context(ecs_world_t* world); - // Function @ flecs.h:4301:14 + // Function @ flecs.h:1361:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3852,9 +3902,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_async_stage_new(ecs_world_t* world); + public static extern void ecs_set_entity_range(ecs_world_t* world, ecs_entity_t id_start, ecs_entity_t id_end); + + // Function @ app.h:87:5 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_app_set_run_action(ecs_app_run_action_t callback); - // Function @ flecs.h:4484:9 + // Function @ flecs.h:2754:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3862,19 +3922,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index); + public static extern CString ecs_set_name_prefix(ecs_world_t* world, CString prefix); - // Function @ json.h:191:5 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ api_support.h:49:6 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_entity_to_json_buf(ecs_world_t* world, ecs_entity_t entity, ecs_strbuf_t* buf_out, ecs_entity_to_json_desc_t* desc); + public static extern void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); - // Function @ meta.h:366:7 + // Function @ meta.h:488:9 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) @@ -3882,9 +3942,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_meta_get_ptr(ecs_meta_cursor_t* cursor); + public static extern long ecs_meta_get_int(ecs_meta_cursor_t* cursor); + + // Function @ strbuf.h:116:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_strbuf_appendflt(ecs_strbuf_t* buffer, double v, CChar nan_delim); - // Function @ flecs.h:2064:14 + // Function @ flecs.h:1388:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3892,9 +3962,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, ulong size, void* ptr); + public static extern CBool ecs_enable_range_check(ecs_world_t* world, CBool enable); + + // Function @ os_api.h:411:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_os_dbg(CString file, int line, CString msg); - // Function @ flecs.h:2805:15 + // Function @ flecs.h:3155:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3902,9 +3982,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_set_lookup_path(ecs_world_t* world, ecs_entity_t* lookup_path); + public static extern CBool ecs_filter_next(ecs_iter_t* it); + + // Function @ meta.h:446:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_set_float(ecs_meta_cursor_t* cursor, double value); - // Function @ flecs.h:3009:6 + // Function @ flecs.h:1730:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3912,9 +4002,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_wildcard(ecs_id_t id); + public static extern CBool ecs_is_component_enabled_w_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ flecs.h:2530:9 + // Function @ flecs.h:1224:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3922,49 +4012,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_count_id(ecs_world_t* world, ecs_id_t entity); - - // Function @ sparse.h:305:6 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); + public static extern CBool ecs_is_fini(ecs_world_t* world); - // Function @ rules.h:159:6 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ api_support.h:62:7 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_rule_next(ecs_iter_t* it); + public static extern CString ecs_asprintf(CString fmt); - // Function @ meta.h:382:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) + // Function @ os_api.h:476:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); + public static extern CBool ecs_os_has_time(); - // Function @ map.h:219:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ os_api.h:285:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_grow(ecs_map_t* map, int elem_count); + public static extern void ecs_os_set_api_defaults(); - // Function @ flecs.h:4228:9 + // Function @ flecs.h:4212:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -3972,29 +4052,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_get_stage_count(ecs_world_t* world); - - // Function @ flecs_cpp.h:71:14 - // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) - // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) - // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name); - - // Function @ pipeline.h:63:14 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_pipeline_init(ecs_world_t* world, ecs_pipeline_desc_t* desc); + public static extern void ecs_set_stage_count(ecs_world_t* world, int stages); - // Function @ flecs.h:4199:6 + // Function @ flecs.h:3141:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4002,9 +4062,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_set_automerge(ecs_world_t* world, CBool automerge); + public static extern int ecs_filter_pivot_term(ecs_world_t* world, ecs_filter_t* filter); - // Function @ doc.h:133:13 + // Function @ doc.h:155:13 // aarch64-apple-darwin (flecs/addons/doc.h) // x86_64-pc-windows-msvc (flecs\addons\doc.h) // x86_64-apple-darwin (flecs/addons/doc.h) @@ -4012,9 +4072,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/doc.h) // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_detail(ecs_world_t* world, ecs_entity_t entity); + public static extern CString ecs_doc_get_color(ecs_world_t* world, ecs_entity_t entity); - // Function @ flecs.h:2347:14 + // Function @ flecs.h:1832:13 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4022,9 +4082,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + public static extern void* ecs_get_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); - // Function @ sparse.h:252:6 + // Function @ rules.h:185:7 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_rule_str(ecs_rule_t* rule); + + // Function @ sparse.h:305:6 // aarch64-apple-darwin (flecs/private/sparse.h) // x86_64-pc-windows-msvc (flecs\private\sparse.h) // x86_64-apple-darwin (flecs/private/sparse.h) @@ -4032,9 +4102,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/sparse.h) // aarch64-pc-windows-msvc (flecs\private\sparse.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_sparse_memory(ecs_sparse_t* sparse, int* allocd, int* used); + public static extern void flecs_sparse_set_generation(ecs_sparse_t* sparse, ulong id); - // Function @ flecs.h:1935:15 + // Function @ flecs.h:2616:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4042,9 +4112,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_write_begin(ecs_world_t* world, ecs_entity_t entity); + public static extern CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); + + // Function @ os_api_impl.h:16:6 + // aarch64-apple-darwin (flecs/addons/os_api_impl.h) + // x86_64-pc-windows-msvc (flecs\addons\os_api_impl.h) + // x86_64-apple-darwin (flecs/addons/os_api_impl.h) + // x86_64-unknown-linux-gnu (flecs/addons/os_api_impl.h) + // aarch64-unknown-linux-gnu (flecs/addons/os_api_impl.h) + // aarch64-pc-windows-msvc (flecs\addons\os_api_impl.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_os_api_impl(); + + // Function @ system.h:221:14 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); - // Function @ flecs.h:2638:7 + // Function @ flecs.h:1924:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4052,9 +4142,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_get_path_w_sep(ecs_world_t* world, ecs_entity_t parent, ecs_entity_t child, CString sep, CString prefix); + public static extern void ecs_write_end(ecs_record_t* @record); + + // Function @ meta.h:382:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_meta_member(ecs_meta_cursor_t* cursor, CString name); - // Function @ flecs.h:3371:6 + // Function @ flecs.h:1648:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4062,49 +4162,69 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_query_changed(ecs_query_t* query, ecs_iter_t* it); + public static extern ecs_entity_t ecs_clone(ecs_world_t* world, ecs_entity_t dst, ecs_entity_t src, CBool copy_value); - // Function @ vector.h:105:6 - // aarch64-apple-darwin (flecs/private/vector.h) - // x86_64-pc-windows-msvc (flecs\private\vector.h) - // x86_64-apple-darwin (flecs/private/vector.h) - // x86_64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-pc-windows-msvc (flecs\private\vector.h) + // Function @ monitor.h:54:6 + // aarch64-apple-darwin (flecs/addons/monitor.h) + // x86_64-pc-windows-msvc (flecs\addons\monitor.h) + // x86_64-apple-darwin (flecs/addons/monitor.h) + // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-pc-windows-msvc (flecs\addons\monitor.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vector_assert_size(ecs_vector_t* vector_inout, ecs_size_t elem_size); + public static extern void FlecsMonitorImport(ecs_world_t* world); - // Function @ map.h:97:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ stats.h:298:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_map_fini(ecs_map_t* map); + public static extern void ecs_pipeline_stats_reduce_last(ecs_pipeline_stats_t* stats, ecs_pipeline_stats_t* old, int count); - // Function @ map.h:137:6 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Function @ flecs.h:2679:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_map_has(ecs_map_t* map, ecs_map_key_t key); + public static extern ecs_entity_t ecs_add_path_w_sep(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t parent, CString path, CString sep, CString prefix); - // Function @ flecs_pinvoke.h:17:26 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // Function @ flecs.h:3880:6 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsOnUpdate(); + public static extern CBool ecs_field_is_set(ecs_iter_t* it, int index); - // Function @ strbuf.h:197:9 + // Function @ flecs_cpp.h:57:13 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_trim_module(ecs_world_t* world, CString type_name); + + // Function @ rest.h:53:6 + // aarch64-apple-darwin (flecs/addons/rest.h) + // x86_64-pc-windows-msvc (flecs\addons\rest.h) + // x86_64-apple-darwin (flecs/addons/rest.h) + // x86_64-unknown-linux-gnu (flecs/addons/rest.h) + // aarch64-unknown-linux-gnu (flecs/addons/rest.h) + // aarch64-pc-windows-msvc (flecs\addons\rest.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void FlecsRestImport(ecs_world_t* world); + + // Function @ strbuf.h:102:6 // aarch64-apple-darwin (flecs/private/strbuf.h) // x86_64-pc-windows-msvc (flecs\private\strbuf.h) // x86_64-apple-darwin (flecs/private/strbuf.h) @@ -4112,9 +4232,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_strbuf_written(ecs_strbuf_t* buffer); + public static extern CBool ecs_strbuf_appendstr(ecs_strbuf_t* buffer, CString str); + + // Function @ pipeline.h:178:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_threads(ecs_world_t* world, int threads); + + // Function @ log.h:73:6 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_should_log(int level); - // Function @ flecs.h:3200:6 + // Function @ flecs.h:3341:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4122,9 +4262,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_filter_next(ecs_iter_t* it); + public static extern void ecs_query_skip(ecs_iter_t* it); - // Function @ flecs.h:4123:6 + // Function @ flecs.h:1798:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4132,19 +4272,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_merge(ecs_world_t* world); - - // Function @ doc.h:43:6 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_doc_set_name(ecs_world_t* world, ecs_entity_t entity, CString name); + public static extern void ecs_delete_with(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:2099:6 + // Function @ flecs.h:1772:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4152,29 +4282,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_valid(ecs_world_t* world, ecs_entity_t e); - - // Function @ rules.h:89:21 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_filter_t* ecs_rule_get_filter(ecs_rule_t* rule); + public static extern void ecs_clear(ecs_world_t* world, ecs_entity_t entity); - // Function @ rules.h:98:9 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) + // Function @ stats.h:181:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_rule_var_count(ecs_rule_t* rule); + public static extern void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); - // Function @ flecs.h:3425:9 + // Function @ flecs.h:2981:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4182,9 +4302,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_query_empty_table_count(ecs_query_t* query); + public static extern CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:1653:21 + // Function @ flecs.h:4174:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4192,19 +4312,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_bulk_new_w_id(ecs_world_t* world, ecs_id_t id, int count); + public static extern void ecs_defer_resume(ecs_world_t* world); - // Function @ sparse.h:183:9 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ flecs.h:4424:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int flecs_sparse_size(ecs_sparse_t* sparse); + public static extern int ecs_search_relation(ecs_world_t* world, ecs_table_t* table, int offset, ecs_id_t id, ecs_entity_t rel, ecs_flags32_t flags, ecs_entity_t* subject_out, ecs_id_t* id_out, ecs_table_record_t** tr_out); - // Function @ vector.h:206:6 + // Function @ vector.h:304:9 // aarch64-apple-darwin (flecs/private/vector.h) // x86_64-pc-windows-msvc (flecs\private\vector.h) // x86_64-apple-darwin (flecs/private/vector.h) @@ -4212,19 +4332,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/private/vector.h) // aarch64-pc-windows-msvc (flecs\private\vector.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_vector_remove_last(ecs_vector_t* vector); + public static extern int ecs_vector_count(ecs_vector_t* vector); - // Function @ expr.h:160:5 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ meta.h:583:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_expr_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf); + public static extern ecs_entity_t ecs_vector_init(ecs_world_t* world, ecs_vector_desc_t* desc); - // Function @ flecs.h:2918:6 + // Function @ flecs.h:3167:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4232,19 +4352,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_is_trivial(ecs_term_t* term); + public static extern void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); - // Function @ flecs.h:3212:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ meta.h:393:5 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_filter_move(ecs_filter_t* dst, ecs_filter_t* src); + public static extern int ecs_meta_pop(ecs_meta_cursor_t* cursor); - // Function @ flecs.h:1884:7 + // Function @ flecs.h:3162:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4252,9 +4372,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_ref_get_id(ecs_world_t* world, ecs_ref_t* @ref, ecs_id_t id); + public static extern CBool ecs_filter_next_instanced(ecs_iter_t* it); - // Function @ flecs.h:3846:12 + // Function @ flecs.h:1617:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4262,9 +4382,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_worker_iter(ecs_iter_t* it, int index, int count); + public static extern ecs_entity_t ecs_component_init(ecs_world_t* world, ecs_component_desc_t* desc); - // Function @ flecs.h:3643:9 + // Function @ flecs.h:2229:24 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4272,29 +4392,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_count(ecs_iter_t* it); + public static extern ecs_type_info_t* ecs_get_type_info(ecs_world_t* world, ecs_id_t id); - // Function @ flecs.h:2867:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ flecs_pinvoke.h:10:22 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_term_next(ecs_iter_t* it); + public static extern ecs_id_t pinvoke_ECS_OVERRIDE(); - // Function @ http.h:167:13 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) + // Function @ doc.h:55:6 + // aarch64-apple-darwin (flecs/addons/doc.h) + // x86_64-pc-windows-msvc (flecs\addons\doc.h) + // x86_64-apple-darwin (flecs/addons/doc.h) + // x86_64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-unknown-linux-gnu (flecs/addons/doc.h) + // aarch64-pc-windows-msvc (flecs\addons\doc.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_http_get_header(ecs_http_request_t* req, CString name); + public static extern void ecs_doc_set_brief(ecs_world_t* world, ecs_entity_t entity, CString description); + + // Function @ module.h:85:14 + // aarch64-apple-darwin (flecs/addons/module.h) + // x86_64-pc-windows-msvc (flecs\addons\module.h) + // x86_64-apple-darwin (flecs/addons/module.h) + // x86_64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-unknown-linux-gnu (flecs/addons/module.h) + // aarch64-pc-windows-msvc (flecs\addons\module.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern ecs_entity_t ecs_module_init(ecs_world_t* world, CString c_name, ecs_component_desc_t* desc); - // Function @ flecs.h:4145:6 + // Function @ flecs.h:3362:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4302,69 +4432,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_is_deferred(ecs_world_t* world); - - // Function @ timer.h:194:14 - // aarch64-apple-darwin (flecs/addons/timer.h) - // x86_64-pc-windows-msvc (flecs\addons\timer.h) - // x86_64-apple-darwin (flecs/addons/timer.h) - // x86_64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-unknown-linux-gnu (flecs/addons/timer.h) - // aarch64-pc-windows-msvc (flecs\addons\timer.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_rate(ecs_world_t* world, ecs_entity_t tick_source, int rate, ecs_entity_t source); - - // Function @ hashmap.h:116:6 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hm_bucket_remove(ecs_hashmap_t* map, ecs_hm_bucket_t* bucket, ulong hash, int index); - - // Function @ api_support.h:49:6 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_default_ctor(void* ptr, int count, ecs_type_info_t* ctx); - - // Function @ meta.h:393:5 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_pop(ecs_meta_cursor_t* cursor); - - // Function @ rules.h:70:13 - // aarch64-apple-darwin (flecs/addons/rules.h) - // x86_64-pc-windows-msvc (flecs\addons\rules.h) - // x86_64-apple-darwin (flecs/addons/rules.h) - // x86_64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-unknown-linux-gnu (flecs/addons/rules.h) - // aarch64-pc-windows-msvc (flecs\addons\rules.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_rule_t* ecs_rule_init(ecs_world_t* world, ecs_filter_desc_t* desc); + public static extern CString ecs_query_str(ecs_query_t* query); - // Function @ pipeline.h:150:6 - // aarch64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) - // x86_64-apple-darwin (flecs/addons/pipeline.h) - // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) - // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + // Function @ os_api.h:281:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_run_pipeline(ecs_world_t* world, ecs_entity_t pipeline, float delta_time); + public static extern void ecs_os_set_api(ecs_os_api_t* os_api); - // Function @ flecs.h:3149:12 + // Function @ flecs.h:4480:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4372,49 +4452,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_iter_t ecs_filter_iter(ecs_world_t* world, ecs_filter_t* filter); - - // Function @ flecs_pinvoke.h:9:26 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsIsA(); - - // Function @ stats.h:332:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_metric_reduce_last(ecs_metric_t* m, int t, int count); - - // Function @ meta.h:642:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_unit_prefix_init(ecs_world_t* world, ecs_unit_prefix_desc_t* desc); - - // Function @ module.h:85:14 - // aarch64-apple-darwin (flecs/addons/module.h) - // x86_64-pc-windows-msvc (flecs\addons\module.h) - // x86_64-apple-darwin (flecs/addons/module.h) - // x86_64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-pc-windows-msvc (flecs\addons\module.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_module_init(ecs_world_t* world, ecs_component_desc_t* desc); + public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index); - // Function @ flecs.h:4311:6 + // Function @ flecs.h:4223:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4422,9 +4462,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_async_stage_free(ecs_world_t* stage); + public static extern int ecs_get_stage_count(ecs_world_t* world); - // Function @ flecs.h:2029:7 + // Function @ flecs.h:4274:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4432,9 +4472,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_emplace_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id); + public static extern CBool ecs_stage_is_readonly(ecs_world_t* world); - // Function @ flecs.h:2816:15 + // Function @ flecs.h:3950:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4442,39 +4482,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); - - // Function @ vector.h:309:9 - // aarch64-apple-darwin (flecs/private/vector.h) - // x86_64-pc-windows-msvc (flecs\private\vector.h) - // x86_64-apple-darwin (flecs/private/vector.h) - // x86_64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-pc-windows-msvc (flecs\private\vector.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_vector_size(ecs_vector_t* vector); + public static extern CString ecs_iter_str(ecs_iter_t* it); - // Function @ pinvoke.h:186:25 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\pinvoke.h) + // Function @ stats.h:250:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString pinvoke_get_platform_name(); + public static extern void ecs_system_stats_reduce_last(ecs_system_stats_t* stats, ecs_system_stats_t* old, int count); - // Function @ meta_c.h:67:5 - // aarch64-apple-darwin (flecs/addons/meta_c.h) - // x86_64-pc-windows-msvc (flecs\addons\meta_c.h) - // x86_64-apple-darwin (flecs/addons/meta_c.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta_c.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta_c.h) - // aarch64-pc-windows-msvc (flecs\addons\meta_c.h) + // Function @ flecs_cpp.h:104:9 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_meta_from_desc(ecs_world_t* world, ecs_entity_t component, ecs_type_kind_t kind, CString desc); + public static extern int ecs_cpp_reset_count_inc(); - // Function @ flecs.h:3276:6 + // Function @ flecs.h:2479:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4482,9 +4512,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_query_fini(ecs_query_t* query); + public static extern ecs_entity_t ecs_get_target_for_id(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, ecs_id_t id); - // Function @ flecs.h:3026:6 + // Function @ flecs.h:3903:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4492,9 +4522,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_id_is_valid(ecs_world_t* world, ecs_id_t id); + public static extern ecs_entity_t ecs_field_src(ecs_iter_t* it, int index); + + // Function @ json.h:64:7 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_array_to_json(ecs_world_t* world, ecs_entity_t type, void* data, int count); + + // Function @ map.h:174:9 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern int ecs_map_remove(ecs_map_t* map, ecs_map_key_t key); - // Function @ flecs.h:1735:6 + // Function @ flecs.h:2794:15 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4502,19 +4552,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_enable_component_w_id(ecs_world_t* world, ecs_entity_t entity, ecs_id_t id, CBool enable); + public static extern ecs_entity_t* ecs_get_lookup_path(ecs_world_t* world); - // Function @ sparse.h:144:6 - // aarch64-apple-darwin (flecs/private/sparse.h) - // x86_64-pc-windows-msvc (flecs\private\sparse.h) - // x86_64-apple-darwin (flecs/private/sparse.h) - // x86_64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-unknown-linux-gnu (flecs/private/sparse.h) - // aarch64-pc-windows-msvc (flecs\private\sparse.h) + // Function @ os_api.h:472:6 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool flecs_sparse_exists(ecs_sparse_t* sparse, ulong id); + public static extern CBool ecs_os_has_threading(); - // Function @ flecs.h:2224:14 + // Function @ flecs.h:3934:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4522,9 +4572,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_table_t* ecs_get_table(ecs_world_t* world, ecs_entity_t entity); + public static extern CBool ecs_field_is_self(ecs_iter_t* it, int index); + + // Function @ map.h:110:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_map_is_initialized(ecs_map_t* result); - // Function @ flecs.h:1216:14 + // Function @ flecs.h:3371:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4532,19 +4592,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_mini(); + public static extern int ecs_query_table_count(ecs_query_t* query); - // Function @ os_api.h:285:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ system.h:203:14 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api_defaults(); + public static extern ecs_entity_t ecs_run_w_filter(ecs_world_t* world, ecs_entity_t system, float delta_time, int offset, int limit, void* param); - // Function @ flecs.h:3977:9 + // Function @ flecs.h:4542:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4552,39 +4612,49 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_iter_find_column(ecs_iter_t* it, ecs_id_t id); - - // Function @ stats.h:181:6 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_world_stats_copy_last(ecs_world_stats_t* dst, ecs_world_stats_t* src); + public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); - // Function @ os_api.h:420:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ map.h:231:12 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_err(CString file, int line, CString msg); + public static extern ecs_map_t* ecs_map_copy(ecs_map_t* map); - // Function @ strbuf.h:94:6 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + // Function @ flecs_cpp.h:71:14 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_strbuf_vappend(ecs_strbuf_t* buffer, CString fmt, void* args); + public static extern ecs_entity_t ecs_cpp_component_register(ecs_world_t* world, ecs_entity_t id, CString name, CString symbol, ecs_size_t size, ecs_size_t alignment, CBool implicit_name); - // Function @ flecs.h:2364:14 + // Function @ flecs_cpp.h:62:6 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_cpp_component_validate(ecs_world_t* world, ecs_entity_t id, CString name, ulong size, ulong alignment, CBool implicit_name); + + // Function @ rules.h:163:6 + // aarch64-apple-darwin (flecs/addons/rules.h) + // x86_64-pc-windows-msvc (flecs\addons\rules.h) + // x86_64-apple-darwin (flecs/addons/rules.h) + // x86_64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-unknown-linux-gnu (flecs/addons/rules.h) + // aarch64-pc-windows-msvc (flecs\addons\rules.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_rule_next(ecs_iter_t* it); + + // Function @ flecs.h:3286:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4592,19 +4662,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_set_symbol(ecs_world_t* world, ecs_entity_t entity, CString symbol); + public static extern CBool ecs_query_next(ecs_iter_t* iter); - // Function @ expr.h:86:12 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) + // Function @ vector.h:206:6 + // aarch64-apple-darwin (flecs/private/vector.h) + // x86_64-pc-windows-msvc (flecs\private\vector.h) + // x86_64-apple-darwin (flecs/private/vector.h) + // x86_64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-pc-windows-msvc (flecs\private\vector.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_size_t ecs_stresc(CString @out, ecs_size_t size, CChar delimiter, CString @in); + public static extern void ecs_vector_remove_last(ecs_vector_t* vector); + + // Function @ log.h:81:13 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_strerror(int error_code); + + // Function @ flecs_cpp.h:45:7 + // aarch64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + // x86_64-apple-darwin (flecs/addons/flecs_cpp.h) + // x86_64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-unknown-linux-gnu (flecs/addons/flecs_cpp.h) + // aarch64-pc-windows-msvc (flecs\addons\flecs_cpp.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CString ecs_cpp_get_symbol_name(CString symbol_name, CString type_name, ulong len); - // Function @ flecs.h:4321:6 + // Function @ flecs.h:3081:7 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4612,9 +4702,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_stage_is_async(ecs_world_t* stage); + public static extern CString ecs_term_str(ecs_world_t* world, ecs_term_t* term); - // Function @ flecs.h:4551:6 + // Function @ flecs.h:3040:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4622,9 +4712,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table); + public static extern void ecs_filter_fini(ecs_filter_t* filter); - // Function @ flecs.h:1226:14 + // Function @ flecs.h:1957:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4632,9 +4722,29 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_world_t* ecs_init_w_args(int argc, CString* argv); + public static extern void ecs_read_end(ecs_record_t* @record); + + // Function @ pipeline.h:130:6 + // aarch64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) + // x86_64-apple-darwin (flecs/addons/pipeline.h) + // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) + // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void ecs_set_time_scale(ecs_world_t* world, float scale); + + // Function @ system.h:248:7 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void* ecs_get_system_binding_ctx(ecs_world_t* world, ecs_entity_t system); - // Function @ flecs.h:3549:6 + // Function @ flecs.h:3272:12 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4642,19 +4752,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_observer_default_run_action(ecs_iter_t* it); - - // Function @ flecs_pinvoke.h:10:26 - // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) - // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t pinvoke_EcsDependsOn(); + public static extern ecs_iter_t ecs_query_iter(ecs_world_t* world, ecs_query_t* query); - // Function @ flecs.h:3558:7 + // Function @ flecs.h:1295:25 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4662,9 +4762,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_get_observer_binding_ctx(ecs_world_t* world, ecs_entity_t observer); + public static extern ecs_type_hooks_t* ecs_get_hooks_id(ecs_world_t* world, ecs_entity_t id); - // Function @ stats.h:277:6 + // Function @ stats.h:262:6 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) @@ -4672,29 +4772,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_pipeline_stats_get(ecs_world_t* world, ecs_entity_t pipeline, ecs_pipeline_stats_t* stats); - - // Function @ meta.h:478:6 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_meta_get_bool(ecs_meta_cursor_t* cursor); - - // Function @ api_support.h:41:7 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_module_path_from_c(CString c_name); + public static extern void ecs_system_stats_copy_last(ecs_system_stats_t* dst, ecs_system_stats_t* src); - // Function @ flecs.h:4625:15 + // Function @ flecs.h:3219:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4702,9 +4782,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_record_t* ecs_record_find(ecs_world_t* world, ecs_entity_t entity); + public static extern ecs_query_t* ecs_query_init(ecs_world_t* world, ecs_query_desc_t* desc); - // Function @ flecs.h:3118:9 + // Function @ flecs.h:4165:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4712,19 +4792,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_filter_find_this_var(ecs_filter_t* filter); - - // Function @ hashmap.h:123:6 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void flecs_hashmap_copy(ecs_hashmap_t* src, ecs_hashmap_t* dst); + public static extern void ecs_defer_suspend(ecs_world_t* world); - // Function @ flecs.h:3407:7 + // Function @ flecs.h:3231:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4732,19 +4802,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_query_str(ecs_query_t* query); + public static extern void ecs_query_fini(ecs_query_t* query); - // Function @ os_api.h:281:6 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ strbuf.h:192:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_os_set_api(ecs_os_api_t* os_api); + public static extern CBool ecs_strbuf_list_appendstr(ecs_strbuf_t* buffer, CString str); - // Function @ flecs.h:2010:7 + // Function @ flecs.h:3490:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4752,9 +4822,19 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_record_get_mut_id(ecs_world_t* world, ecs_record_t* @record, ecs_id_t id); + public static extern ecs_entity_t ecs_observer_init(ecs_world_t* world, ecs_observer_desc_t* desc); + + // Function @ sparse.h:252:6 + // aarch64-apple-darwin (flecs/private/sparse.h) + // x86_64-pc-windows-msvc (flecs\private\sparse.h) + // x86_64-apple-darwin (flecs/private/sparse.h) + // x86_64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-unknown-linux-gnu (flecs/private/sparse.h) + // aarch64-pc-windows-msvc (flecs\private\sparse.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern void flecs_sparse_memory(ecs_sparse_t* sparse, int* allocd, int* used); - // Function @ flecs.h:4461:19 + // Function @ flecs.h:1248:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4762,29 +4842,39 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table); + public static extern void ecs_run_post_frame(ecs_world_t* world, ecs_fini_action_t action, void* ctx); - // Function @ json.h:112:5 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Function @ flecs_pinvoke.h:5:22 + // aarch64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) + // x86_64-apple-darwin (/Users/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // x86_64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-unknown-linux-gnu (/home/runner/work/flecs-cs/flecs-cs/src/c/production/flecs/include/flecs_pinvoke.h) + // aarch64-pc-windows-msvc (D:\a\flecs-cs\flecs-cs\src\c\production\flecs\include\flecs_pinvoke.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern int ecs_ptr_to_json_buf(ecs_world_t* world, ecs_entity_t type, void* data, ecs_strbuf_t* buf_out); + public static extern ecs_id_t pinvoke_ECS_PAIR(); - // Function @ os_api.h:462:7 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // Function @ strbuf.h:109:6 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void* ecs_os_memdup(void* src, ecs_size_t size); + public static extern CBool ecs_strbuf_appendch(ecs_strbuf_t* buffer, CChar ch); + + // Function @ stats.h:237:6 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool ecs_system_stats_get(ecs_world_t* world, ecs_entity_t system, ecs_system_stats_t* stats); - // Function @ flecs.h:2476:14 + // Function @ flecs.h:3380:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4792,9 +4882,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_get_object(ecs_world_t* world, ecs_entity_t entity, ecs_entity_t rel, int index); + public static extern int ecs_query_empty_table_count(ecs_query_t* query); - // Function @ os_api.h:472:6 + // Function @ os_api.h:417:6 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -4802,19 +4892,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_os_has_threading(); - - // Function @ api_support.h:62:7 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_asprintf(CString fmt); + public static extern void ecs_os_warn(CString file, int line, CString msg); - // Function @ flecs.h:1257:6 + // Function @ flecs.h:1235:6 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -4824,55 +4904,15 @@ public static unsafe partial class flecs [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] public static extern void ecs_atfini(ecs_world_t* world, ecs_fini_action_t action, void* ctx); - // Function @ doc.h:111:13 - // aarch64-apple-darwin (flecs/addons/doc.h) - // x86_64-pc-windows-msvc (flecs\addons\doc.h) - // x86_64-apple-darwin (flecs/addons/doc.h) - // x86_64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-unknown-linux-gnu (flecs/addons/doc.h) - // aarch64-pc-windows-msvc (flecs\addons\doc.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CString ecs_doc_get_name(ecs_world_t* world, ecs_entity_t entity); - - // Function @ system.h:214:14 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_query_t* ecs_system_get_query(ecs_world_t* world, ecs_entity_t system); - - // Function @ module.h:39:14 - // aarch64-apple-darwin (flecs/addons/module.h) - // x86_64-pc-windows-msvc (flecs\addons\module.h) - // x86_64-apple-darwin (flecs/addons/module.h) - // x86_64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-unknown-linux-gnu (flecs/addons/module.h) - // aarch64-pc-windows-msvc (flecs\addons\module.h) - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern ecs_entity_t ecs_import(ecs_world_t* world, ecs_module_action_t module, CString module_name); - - // Function @ flecs.h:4109:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern void ecs_readonly_end(ecs_world_t* world); - - // Function @ flecs.h:4136:6 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Function @ map.h:219:6 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)] - public static extern CBool ecs_defer_begin(ecs_world_t* world); + public static extern void ecs_map_grow(ecs_map_t* map, int elem_count); #endregion @@ -4886,9 +4926,9 @@ public static unsafe partial class flecs // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Int_Int_Void + public struct FnPtr_Ecs_os_dl_t_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4899,9 +4939,9 @@ public struct FnPtr_Int_Int_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_iter_tPtr_CBool + public struct FnPtr_VoidPtr_Ulong { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4912,9 +4952,9 @@ public struct FnPtr_Ecs_iter_tPtr_CBool // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_IntPtr_Int + public struct FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4925,9 +4965,9 @@ public struct FnPtr_IntPtr_Int // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong + public struct FnPtr_Ecs_os_mutex_t_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4938,9 +4978,9 @@ public struct FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void + public struct FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4951,9 +4991,9 @@ public struct FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_CString_CString + public struct FnPtr_VoidPtr_Ecs_size_t_VoidPtr { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4964,9 +5004,9 @@ public struct FnPtr_CString_CString // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int + public struct FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4977,9 +5017,9 @@ public struct FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_CString_Ecs_os_dl_t + public struct FnPtr_Ecs_iter_tPtr_CBool { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -4990,9 +5030,9 @@ public struct FnPtr_CString_Ecs_os_dl_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_mutex_t_Void + public struct FnPtr_Ecs_world_tPtr_VoidPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5003,9 +5043,9 @@ public struct FnPtr_Ecs_os_mutex_t_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Void + public struct FnPtr_Ecs_os_cond_t_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5016,9 +5056,9 @@ public struct FnPtr_VoidPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Void + public struct FnPtr_Ecs_os_mutex_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5029,9 +5069,9 @@ public struct FnPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_dl_t_CString_Ecs_os_proc_t + public struct FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5042,9 +5082,9 @@ public struct FnPtr_Ecs_os_dl_t_CString_Ecs_os_proc_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int + public struct FnPtr_Ecs_world_tPtr_Int { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5055,9 +5095,9 @@ public struct FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr_Int + public struct FnPtr_VoidPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5068,9 +5108,9 @@ public struct FnPtr_VoidPtr_VoidPtr_Int // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void + public struct FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5081,9 +5121,9 @@ public struct FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Voi // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr + public struct FnPtr_Ecs_os_cond_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5094,9 +5134,9 @@ public struct FnPtr_VoidPtr_VoidPtr // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_time_tPtr_Void + public struct FnPtr_Ecs_size_t_VoidPtr { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5107,9 +5147,9 @@ public struct FnPtr_Ecs_time_tPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Int + public struct FnPtr_Int_CString_Int_CString_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5120,9 +5160,9 @@ public struct FnPtr_Ecs_world_tPtr_Int // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_dl_t_Void + public struct FnPtr_Ecs_world_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5133,9 +5173,9 @@ public struct FnPtr_Ecs_os_dl_t_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Void + public struct FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5146,9 +5186,9 @@ public struct FnPtr_Ecs_world_tPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_VoidPtr_Void + public struct FnPtr_VoidPtr_VoidPtr_Int { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5159,9 +5199,9 @@ public struct FnPtr_Ecs_world_tPtr_VoidPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Ulong + public struct FnPtr_IntPtr_Int { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5172,9 +5212,9 @@ public struct FnPtr_VoidPtr_Ulong // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t + public struct FnPtr_Int_Int_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5185,9 +5225,9 @@ public struct FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Int_CString_Int_CString_Void + public struct FnPtr_VoidPtr_VoidPtr { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5198,9 +5238,9 @@ public struct FnPtr_Int_CString_Int_CString_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_mutex_t + public struct FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5211,9 +5251,9 @@ public struct FnPtr_Ecs_os_mutex_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_size_t_VoidPtr + public struct FnPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5224,9 +5264,9 @@ public struct FnPtr_Ecs_size_t_VoidPtr // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool + public struct FnPtr_Ecs_iter_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5237,9 +5277,9 @@ public struct FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void + public struct FnPtr_Ecs_os_dl_t_CString_Ecs_os_proc_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5250,9 +5290,9 @@ public struct FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_Ecs_size_t_VoidPtr + public struct FnPtr_CString_Ecs_os_dl_t { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5263,9 +5303,9 @@ public struct FnPtr_VoidPtr_Ecs_size_t_VoidPtr // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_iter_tPtr_Void + public struct FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5276,9 +5316,9 @@ public struct FnPtr_Ecs_iter_tPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t + public struct FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5289,9 +5329,9 @@ public struct FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_cond_t_Void + public struct FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5302,9 +5342,9 @@ public struct FnPtr_Ecs_os_cond_t_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void + public struct FnPtr_CString_CString { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5328,9 +5368,9 @@ public struct FnPtr_Ecs_os_thread_t_VoidPtr // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void + public struct FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5341,9 +5381,9 @@ public struct FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ecs_os_cond_t + public struct FnPtr_Ulong { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } // FunctionPointer @ NoLocation @@ -5354,76 +5394,118 @@ public struct FnPtr_Ecs_os_cond_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct FnPtr_Ulong + public struct FnPtr_Ecs_time_tPtr_Void { - public delegate* unmanaged Pointer; + public delegate* unmanaged Pointer; } - // Struct @ meta.h:531:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 1088, Pack = 8)] - public struct ecs_enum_desc_t + // Struct @ strbuf.h:37:16 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [StructLayout(LayoutKind.Explicit, Size = 536, Pack = 8)] + public struct ecs_strbuf_element_embedded { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(0)] // size = 24 + public ecs_strbuf_element super; - [FieldOffset(320)] // size = 768 - public fixed byte _constants[768]; // ecs_enum_constant_t[32] + [FieldOffset(24)] // size = 512 + public fixed byte _buf[512]; // char[512] - public Span constants + public string buf { get { - fixed (ecs_enum_desc_t* @this = &this) + fixed (ecs_strbuf_element_embedded* @this = &this) { - var pointer = &@this->_constants[0]; - var span = new Span(pointer, 32); - return span; + var pointer = &@this->_buf[0]; + var cString = new CString(pointer); + return Runtime.CStrings.String(cString); } } } } - // Struct @ meta.h:206:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_enum_constant_t + // Struct @ json.h:25:16 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_parse_json_desc_t { [FieldOffset(0)] // size = 8 public CString name; - [FieldOffset(8)] // size = 4 - public int value; - - [FieldOffset(16)] // size = 8 - public ecs_entity_t constant; + [FieldOffset(8)] // size = 8 + public CString expr; } - // Struct @ monitor.h:47:9 - // aarch64-apple-darwin (flecs/addons/monitor.h) - // x86_64-pc-windows-msvc (flecs\addons\monitor.h) - // x86_64-apple-darwin (flecs/addons/monitor.h) - // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-pc-windows-msvc (flecs\addons\monitor.h) - [StructLayout(LayoutKind.Explicit, Size = 104, Pack = 8)] - public struct EcsPipelineStats + // Struct @ api_types.h:153:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_query_iter_t { [FieldOffset(0)] // size = 8 - public EcsStatsHeader hdr; + public ecs_query_t* query; - [FieldOffset(8)] // size = 96 - public ecs_pipeline_stats_t stats; + [FieldOffset(8)] // size = 8 + public ecs_query_table_node_t* node; + + [FieldOffset(16)] // size = 8 + public ecs_query_table_node_t* prev; + + [FieldOffset(24)] // size = 4 + public int sparse_smallest; + + [FieldOffset(28)] // size = 4 + public int sparse_first; + + [FieldOffset(32)] // size = 4 + public int bitset_first; + + [FieldOffset(36)] // size = 4 + public int skip_count; + } + + // Struct @ meta.h:532:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] + public struct ecs_enum_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(8)] // size = 768 + public fixed byte _constants[768]; // ecs_enum_constant_t[32] + + public Span constants + { + get + { + fixed (ecs_enum_desc_t* @this = &this) + { + var pointer = &@this->_constants[0]; + var span = new Span(pointer, 32); + return span; + } + } + } } // Struct @ map.h:50:16 @@ -5440,36 +5522,24 @@ public struct ecs_block_allocator_chunk_header_t public ecs_block_allocator_chunk_header_t* next; } - // Struct @ map.h:67:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] - public struct ecs_map_t + // Struct @ flecs.h:383:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_header_t { - [FieldOffset(0)] // size = 8 - public ecs_bucket_t* buckets; - - [FieldOffset(8)] // size = 8 - public ecs_bucket_t* buckets_end; - - [FieldOffset(16)] // size = 2 - public short elem_size; - - [FieldOffset(18)] // size = 1 - public byte bucket_shift; - - [FieldOffset(20)] // size = 4 - public int bucket_count; + [FieldOffset(0)] // size = 4 + public int magic; - [FieldOffset(24)] // size = 4 - public int count; + [FieldOffset(4)] // size = 4 + public int type; - [FieldOffset(32)] // size = 40 - public ecs_block_allocator_t allocator; + [FieldOffset(8)] // size = 8 + public ecs_mixins_t* mixins; } // Struct @ sparse.h:45:8 @@ -5501,568 +5571,440 @@ public struct ecs_sparse_t public ulong* max_id; } - // Struct @ map.h:63:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_bucket_t + // Struct @ flecs.h:606:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)] + public struct ecs_entity_desc_t { - [FieldOffset(0)] // size = 8 - public ecs_bucket_entry_t* first; - } + [FieldOffset(0)] // size = 4 + public int _canary; - // Union @ stats.h:34:15 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 960, Pack = 4)] - public struct ecs_metric_t - { - [FieldOffset(0)] // size = 720 - public ecs_gauge_t gauge; + [FieldOffset(8)] // size = 8 + public ecs_entity_t id; - [FieldOffset(0)] // size = 960 - public ecs_counter_t counter; - } + [FieldOffset(16)] // size = 8 + public CString name; - // Struct @ stats.h:21:16 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 720, Pack = 4)] - public struct ecs_gauge_t - { - [FieldOffset(0)] // size = 240 - public fixed byte _avg[240]; // float[60] + [FieldOffset(24)] // size = 8 + public CString sep; - public Span avg - { - get - { - fixed (ecs_gauge_t* @this = &this) - { - var pointer = &@this->_avg[0]; - var span = new Span(pointer, 60); - return span; - } - } - } + [FieldOffset(32)] // size = 8 + public CString root_sep; - [FieldOffset(240)] // size = 240 - public fixed byte _min[240]; // float[60] + [FieldOffset(40)] // size = 8 + public CString symbol; - public Span min - { - get - { - fixed (ecs_gauge_t* @this = &this) - { - var pointer = &@this->_min[0]; - var span = new Span(pointer, 60); - return span; - } - } - } + [FieldOffset(48)] // size = 1 + public CBool use_low_id; - [FieldOffset(480)] // size = 240 - public fixed byte _max[240]; // float[60] + [FieldOffset(56)] // size = 256 + public fixed byte _add[256]; // ecs_id_t[32] - public Span max + public Span add { get { - fixed (ecs_gauge_t* @this = &this) + fixed (ecs_entity_desc_t* @this = &this) { - var pointer = &@this->_max[0]; - var span = new Span(pointer, 60); + var pointer = &@this->_add[0]; + var span = new Span(pointer, 32); return span; } } } + + [FieldOffset(312)] // size = 8 + public CString add_expr; } - // Struct @ map.h:45:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // Struct @ hashmap.h:18:9 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_block_allocator_block_t + public struct ecs_hm_bucket_t { [FieldOffset(0)] // size = 8 - public void* memory; + public ecs_vector_t* keys; [FieldOffset(8)] // size = 8 - public ecs_block_allocator_block_t* next; + public ecs_vector_t* values; } - // Struct @ strbuf.h:47:16 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_strbuf_list_elem + // Struct @ os_api.h:191:16 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] + public struct ecs_os_api_t { - [FieldOffset(0)] // size = 4 - public int count; + [FieldOffset(0)] // size = 8 + public ecs_os_api_init_t init_; [FieldOffset(8)] // size = 8 - public CString separator; - } - - // Struct @ http.h:68:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Explicit, Size = 1072, Pack = 8)] - public struct ecs_http_request_t - { - [FieldOffset(0)] // size = 8 - public ulong id; - - [FieldOffset(8)] // size = 4 - public ecs_http_method_t method; + public ecs_os_api_fini_t fini_; [FieldOffset(16)] // size = 8 - public CString path; + public ecs_os_api_malloc_t malloc_; [FieldOffset(24)] // size = 8 - public CString body; + public ecs_os_api_realloc_t realloc_; - [FieldOffset(32)] // size = 512 - public fixed byte _headers[512]; // ecs_http_key_value_t[32] + [FieldOffset(32)] // size = 8 + public ecs_os_api_calloc_t calloc_; - public Span headers - { - get - { - fixed (ecs_http_request_t* @this = &this) - { - var pointer = &@this->_headers[0]; - var span = new Span(pointer, 32); - return span; - } - } - } + [FieldOffset(40)] // size = 8 + public ecs_os_api_free_t free_; - [FieldOffset(544)] // size = 512 - public fixed byte _params[512]; // ecs_http_key_value_t[32] + [FieldOffset(48)] // size = 8 + public ecs_os_api_strdup_t strdup_; - public Span @params - { - get - { - fixed (ecs_http_request_t* @this = &this) - { - var pointer = &@this->_params[0]; - var span = new Span(pointer, 32); - return span; - } - } - } + [FieldOffset(56)] // size = 8 + public ecs_os_api_thread_new_t thread_new_; - [FieldOffset(1056)] // size = 4 - public int header_count; + [FieldOffset(64)] // size = 8 + public ecs_os_api_thread_join_t thread_join_; - [FieldOffset(1060)] // size = 4 - public int param_count; + [FieldOffset(72)] // size = 8 + public ecs_os_api_ainc_t ainc_; - [FieldOffset(1064)] // size = 8 - public ecs_http_connection_t* conn; - } + [FieldOffset(80)] // size = 8 + public ecs_os_api_ainc_t adec_; - // Struct @ flecs.h:645:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] - public struct ecs_bulk_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; + [FieldOffset(88)] // size = 8 + public ecs_os_api_mutex_new_t mutex_new_; - [FieldOffset(8)] // size = 8 - public ecs_entity_t* entities; + [FieldOffset(96)] // size = 8 + public ecs_os_api_mutex_free_t mutex_free_; - [FieldOffset(16)] // size = 4 - public int count; + [FieldOffset(104)] // size = 8 + public ecs_os_api_mutex_lock_t mutex_lock_; - [FieldOffset(24)] // size = 256 - public fixed byte _ids[256]; // ecs_id_t[32] + [FieldOffset(112)] // size = 8 + public ecs_os_api_mutex_lock_t mutex_unlock_; - public Span ids - { - get - { - fixed (ecs_bulk_desc_t* @this = &this) - { - var pointer = &@this->_ids[0]; - var span = new Span(pointer, 32); - return span; - } - } - } + [FieldOffset(120)] // size = 8 + public ecs_os_api_cond_new_t cond_new_; - [FieldOffset(280)] // size = 8 - public void** data; + [FieldOffset(128)] // size = 8 + public ecs_os_api_cond_free_t cond_free_; - [FieldOffset(288)] // size = 8 - public ecs_table_t* table; - } + [FieldOffset(136)] // size = 8 + public ecs_os_api_cond_signal_t cond_signal_; - // Struct @ meta.h:519:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)] - public struct ecs_primitive_desc_t - { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(144)] // size = 8 + public ecs_os_api_cond_broadcast_t cond_broadcast_; - [FieldOffset(320)] // size = 4 - public ecs_primitive_kind_t kind; - } + [FieldOffset(152)] // size = 8 + public ecs_os_api_cond_wait_t cond_wait_; - // Struct @ flecs.h:460:8 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 192, Pack = 8)] - public struct ecs_term_t - { - [FieldOffset(0)] // size = 8 - public ecs_id_t id; + [FieldOffset(160)] // size = 8 + public ecs_os_api_sleep_t sleep_; - [FieldOffset(8)] // size = 4 - public ecs_inout_kind_t inout; + [FieldOffset(168)] // size = 8 + public ecs_os_api_now_t now_; - [FieldOffset(16)] // size = 48 - public ecs_term_id_t pred; + [FieldOffset(176)] // size = 8 + public ecs_os_api_get_time_t get_time_; - [FieldOffset(64)] // size = 48 - public ecs_term_id_t subj; + [FieldOffset(184)] // size = 8 + public ecs_os_api_log_t log_; - [FieldOffset(112)] // size = 48 - public ecs_term_id_t obj; + [FieldOffset(192)] // size = 8 + public ecs_os_api_abort_t abort_; - [FieldOffset(160)] // size = 4 - public ecs_oper_kind_t oper; + [FieldOffset(200)] // size = 8 + public ecs_os_api_dlopen_t dlopen_; - [FieldOffset(168)] // size = 8 - public ecs_id_t role; + [FieldOffset(208)] // size = 8 + public ecs_os_api_dlproc_t dlproc_; - [FieldOffset(176)] // size = 8 - public CString name; + [FieldOffset(216)] // size = 8 + public ecs_os_api_dlclose_t dlclose_; - [FieldOffset(184)] // size = 4 - public int index; + [FieldOffset(224)] // size = 8 + public ecs_os_api_module_to_path_t module_to_dl_; - [FieldOffset(188)] // size = 1 - public CBool move; + [FieldOffset(232)] // size = 8 + public ecs_os_api_module_to_path_t module_to_etc_; + + [FieldOffset(240)] // size = 4 + public int log_level_; + + [FieldOffset(244)] // size = 4 + public int log_indent_; + + [FieldOffset(248)] // size = 4 + public int log_last_error_; + + [FieldOffset(256)] // size = 8 + public long log_last_timestamp_; + + [FieldOffset(264)] // size = 4 + public ecs_flags32_t flags_; } - // Struct @ strbuf.h:30:16 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_strbuf_element + // Struct @ map.h:54:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct ecs_block_allocator_t { - [FieldOffset(0)] // size = 1 - public CBool buffer_embedded; - - [FieldOffset(4)] // size = 4 - public int pos; + [FieldOffset(0)] // size = 8 + public ecs_block_allocator_chunk_header_t* head; [FieldOffset(8)] // size = 8 - public CString buf; + public ecs_block_allocator_block_t* block_head; [FieldOffset(16)] // size = 8 - public ecs_strbuf_element* next; - } + public ecs_block_allocator_block_t* block_tail; - // Struct @ meta.h:257:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_unit_translation_t - { - [FieldOffset(0)] // size = 4 - public int factor; + [FieldOffset(24)] // size = 4 + public int chunk_size; - [FieldOffset(4)] // size = 4 - public int power; + [FieldOffset(28)] // size = 4 + public int chunks_per_block; + + [FieldOffset(32)] // size = 4 + public int block_size; } - // Struct @ meta.h:331:16 + // Struct @ meta.h:183:16 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) // x86_64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] - public struct ecs_meta_scope_t + [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] + public struct ecs_member_t { [FieldOffset(0)] // size = 8 - public ecs_entity_t type; + public CString name; [FieldOffset(8)] // size = 8 - public ecs_meta_type_op_t* ops; + public ecs_entity_t type; [FieldOffset(16)] // size = 4 - public int op_count; + public int count; [FieldOffset(20)] // size = 4 - public int op_cur; + public int offset; - [FieldOffset(24)] // size = 4 - public int elem_cur; + [FieldOffset(24)] // size = 8 + public ecs_entity_t unit; - [FieldOffset(32)] // size = 8 - public void* ptr; + [FieldOffset(32)] // size = 4 + public ecs_size_t size; [FieldOffset(40)] // size = 8 - public EcsComponent* comp; - - [FieldOffset(48)] // size = 8 - public ecs_vector_t** vector; + public ecs_entity_t member; + } - [FieldOffset(56)] // size = 1 - public CBool is_collection; + // Struct @ api_types.h:61:8 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_record_t + { + [FieldOffset(0)] // size = 8 + public ecs_table_t* table; - [FieldOffset(57)] // size = 1 - public CBool is_inline_array; + [FieldOffset(8)] // size = 4 + public uint row; } - // Struct @ stats.h:39:16 + // Struct @ api_types.h:163:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] + public struct ecs_snapshot_iter_t + { + [FieldOffset(0)] // size = 64 + public ecs_filter_t filter; + + [FieldOffset(64)] // size = 8 + public ecs_vector_t* tables; + + [FieldOffset(72)] // size = 4 + public int index; + } + + // Struct @ stats.h:120:16 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) // x86_64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 42252, Pack = 4)] - public struct ecs_world_stats_t + [StructLayout(LayoutKind.Explicit, Size = 6744, Pack = 4)] + public struct ecs_system_stats_t { [FieldOffset(0)] // size = 4 public int first_; [FieldOffset(4)] // size = 960 - public ecs_metric_t entity_count; + public ecs_metric_t time_spent; [FieldOffset(964)] // size = 960 - public ecs_metric_t entity_not_alive_count; + public ecs_metric_t invoke_count; [FieldOffset(1924)] // size = 960 - public ecs_metric_t id_count; + public ecs_metric_t active; [FieldOffset(2884)] // size = 960 - public ecs_metric_t tag_id_count; - - [FieldOffset(3844)] // size = 960 - public ecs_metric_t component_id_count; - - [FieldOffset(4804)] // size = 960 - public ecs_metric_t pair_id_count; - - [FieldOffset(5764)] // size = 960 - public ecs_metric_t wildcard_id_count; - - [FieldOffset(6724)] // size = 960 - public ecs_metric_t component_count; - - [FieldOffset(7684)] // size = 960 - public ecs_metric_t id_create_count; - - [FieldOffset(8644)] // size = 960 - public ecs_metric_t id_delete_count; - - [FieldOffset(9604)] // size = 960 - public ecs_metric_t table_count; - - [FieldOffset(10564)] // size = 960 - public ecs_metric_t empty_table_count; - - [FieldOffset(11524)] // size = 960 - public ecs_metric_t tag_table_count; - - [FieldOffset(12484)] // size = 960 - public ecs_metric_t trivial_table_count; - - [FieldOffset(13444)] // size = 960 - public ecs_metric_t table_record_count; - - [FieldOffset(14404)] // size = 960 - public ecs_metric_t table_storage_count; - - [FieldOffset(15364)] // size = 960 - public ecs_metric_t table_create_count; - - [FieldOffset(16324)] // size = 960 - public ecs_metric_t table_delete_count; - - [FieldOffset(17284)] // size = 960 - public ecs_metric_t query_count; - - [FieldOffset(18244)] // size = 960 - public ecs_metric_t observer_count; - - [FieldOffset(19204)] // size = 960 - public ecs_metric_t system_count; + public ecs_metric_t enabled; - [FieldOffset(20164)] // size = 960 - public ecs_metric_t new_count; + [FieldOffset(3844)] // size = 4 + public int last_; - [FieldOffset(21124)] // size = 960 - public ecs_metric_t bulk_new_count; + [FieldOffset(3848)] // size = 1 + public CBool task; - [FieldOffset(22084)] // size = 960 - public ecs_metric_t delete_count; + [FieldOffset(3852)] // size = 2892 + public ecs_query_stats_t query; + } - [FieldOffset(23044)] // size = 960 - public ecs_metric_t clear_count; + // Struct @ flecs.h:539:8 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] + public struct ecs_type_hooks_t + { + [FieldOffset(0)] // size = 8 + public ecs_xtor_t ctor; - [FieldOffset(24004)] // size = 960 - public ecs_metric_t add_count; + [FieldOffset(8)] // size = 8 + public ecs_xtor_t dtor; - [FieldOffset(24964)] // size = 960 - public ecs_metric_t remove_count; + [FieldOffset(16)] // size = 8 + public ecs_copy_t copy; - [FieldOffset(25924)] // size = 960 - public ecs_metric_t set_count; + [FieldOffset(24)] // size = 8 + public ecs_move_t move; - [FieldOffset(26884)] // size = 960 - public ecs_metric_t discard_count; + [FieldOffset(32)] // size = 8 + public ecs_copy_t copy_ctor; - [FieldOffset(27844)] // size = 960 - public ecs_metric_t world_time_total_raw; + [FieldOffset(40)] // size = 8 + public ecs_move_t move_ctor; - [FieldOffset(28804)] // size = 960 - public ecs_metric_t world_time_total; + [FieldOffset(48)] // size = 8 + public ecs_move_t ctor_move_dtor; - [FieldOffset(29764)] // size = 960 - public ecs_metric_t frame_time_total; + [FieldOffset(56)] // size = 8 + public ecs_move_t move_dtor; - [FieldOffset(30724)] // size = 960 - public ecs_metric_t system_time_total; + [FieldOffset(64)] // size = 8 + public ecs_iter_action_t on_add; - [FieldOffset(31684)] // size = 960 - public ecs_metric_t merge_time_total; + [FieldOffset(72)] // size = 8 + public ecs_iter_action_t on_set; - [FieldOffset(32644)] // size = 960 - public ecs_metric_t fps; + [FieldOffset(80)] // size = 8 + public ecs_iter_action_t on_remove; - [FieldOffset(33604)] // size = 960 - public ecs_metric_t delta_time; + [FieldOffset(88)] // size = 8 + public void* ctx; - [FieldOffset(34564)] // size = 960 - public ecs_metric_t frame_count_total; + [FieldOffset(96)] // size = 8 + public void* binding_ctx; - [FieldOffset(35524)] // size = 960 - public ecs_metric_t merge_count_total; + [FieldOffset(104)] // size = 8 + public ecs_ctx_free_t ctx_free; - [FieldOffset(36484)] // size = 960 - public ecs_metric_t pipeline_build_count_total; + [FieldOffset(112)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; + } - [FieldOffset(37444)] // size = 960 - public ecs_metric_t systems_ran_frame; + // Struct @ hashmap.h:31:9 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] + public struct flecs_hashmap_iter_t + { + [FieldOffset(0)] // size = 24 + public ecs_map_iter_t it; - [FieldOffset(38404)] // size = 960 - public ecs_metric_t alloc_count; + [FieldOffset(24)] // size = 8 + public ecs_hm_bucket_t* bucket; - [FieldOffset(39364)] // size = 960 - public ecs_metric_t realloc_count; + [FieldOffset(32)] // size = 4 + public int index; + } - [FieldOffset(40324)] // size = 960 - public ecs_metric_t free_count; + // Struct @ expr.h:106:16 + // aarch64-apple-darwin (flecs/addons/expr.h) + // x86_64-pc-windows-msvc (flecs\addons\expr.h) + // x86_64-apple-darwin (flecs/addons/expr.h) + // x86_64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-unknown-linux-gnu (flecs/addons/expr.h) + // aarch64-pc-windows-msvc (flecs\addons\expr.h) + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_parse_expr_desc_t + { + [FieldOffset(0)] // size = 8 + public CString name; - [FieldOffset(41284)] // size = 960 - public ecs_metric_t outstanding_alloc_count; + [FieldOffset(8)] // size = 8 + public CString expr; - [FieldOffset(42244)] // size = 4 - public int last_; + [FieldOffset(16)] // size = 8 + public FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t lookup_action; - [FieldOffset(42248)] // size = 4 - public int t; + [FieldOffset(24)] // size = 8 + public void* lookup_ctx; } - // Struct @ api_types.h:67:16 + // Struct @ api_types.h:221:16 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) // x86_64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_table_range_t + [StructLayout(LayoutKind.Explicit, Size = 528, Pack = 8)] + public struct ecs_iter_private_t { - [FieldOffset(0)] // size = 8 - public ecs_table_t* table; - - [FieldOffset(8)] // size = 4 - public int offset; + [FieldOffset(0)] // size = 280 + public ecs_iter_private_t_ANONYMOUS_FIELD0 iter; - [FieldOffset(12)] // size = 4 - public int count; + [FieldOffset(280)] // size = 248 + public ecs_iter_cache_t cache; } - // Struct @ map.h:77:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_map_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_map_t* map; - - [FieldOffset(8)] // size = 8 - public ecs_bucket_t* bucket; - - [FieldOffset(16)] // size = 8 - public ecs_bucket_entry_t* entry; - } - - // Struct @ flecs.h:383:16 + // Struct @ flecs.h:170:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -6070,76 +6012,36 @@ public struct ecs_map_iter_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_header_t - { - [FieldOffset(0)] // size = 4 - public int magic; - - [FieldOffset(4)] // size = 4 - public int type; - - [FieldOffset(8)] // size = 8 - public ecs_mixins_t* mixins; - } - - // Struct @ meta.h:557:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 336, Pack = 8)] - public struct ecs_array_desc_t + public struct ecs_type_t { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; - - [FieldOffset(320)] // size = 8 - public ecs_entity_t type; + [FieldOffset(0)] // size = 8 + public ecs_id_t* array; - [FieldOffset(328)] // size = 4 + [FieldOffset(8)] // size = 4 public int count; } - // Struct @ expr.h:106:16 - // aarch64-apple-darwin (flecs/addons/expr.h) - // x86_64-pc-windows-msvc (flecs\addons\expr.h) - // x86_64-apple-darwin (flecs/addons/expr.h) - // x86_64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-unknown-linux-gnu (flecs/addons/expr.h) - // aarch64-pc-windows-msvc (flecs\addons\expr.h) - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_parse_expr_desc_t + // Struct @ strbuf.h:30:16 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_strbuf_element { - [FieldOffset(0)] // size = 8 - public CString name; + [FieldOffset(0)] // size = 1 + public CBool buffer_embedded; + + [FieldOffset(4)] // size = 4 + public int pos; [FieldOffset(8)] // size = 8 - public CString expr; + public CString buf; [FieldOffset(16)] // size = 8 - public FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t lookup_action; - - [FieldOffset(24)] // size = 8 - public void* lookup_ctx; - } - - // Struct @ hashmap.h:18:9 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_hm_bucket_t - { - [FieldOffset(0)] // size = 8 - public ecs_vector_t* keys; - - [FieldOffset(8)] // size = 8 - public ecs_vector_t* values; + public ecs_strbuf_element* next; } // Struct @ api_types.h:206:16 @@ -6185,15 +6087,15 @@ public Span columns } [FieldOffset(48)] // size = 32 - public fixed byte _subjects[32]; // ecs_entity_t[4] + public fixed byte _sources[32]; // ecs_entity_t[4] - public Span subjects + public Span sources { get { fixed (ecs_iter_cache_t* @this = &this) { - var pointer = &@this->_subjects[0]; + var pointer = &@this->_sources[0]; var span = new Span(pointer, 4); return span; } @@ -6271,302 +6173,165 @@ public Span variables public ecs_flags8_t allocated; } - // Struct @ flecs.h:833:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // Struct @ os_api.h:31:16 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct EcsComponent + public struct ecs_time_t { [FieldOffset(0)] // size = 4 - public ecs_size_t size; + public uint sec; [FieldOffset(4)] // size = 4 - public ecs_size_t alignment; + public uint nanosec; } - // Struct @ json.h:148:16 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) - [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 1)] - public struct ecs_entity_to_json_desc_t + // Struct @ http.h:43:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] + public struct ecs_http_connection_t { - [FieldOffset(0)] // size = 1 - public CBool serialize_path; - - [FieldOffset(1)] // size = 1 - public CBool serialize_meta_ids; - - [FieldOffset(2)] // size = 1 - public CBool serialize_label; - - [FieldOffset(3)] // size = 1 - public CBool serialize_brief; - - [FieldOffset(4)] // size = 1 - public CBool serialize_link; - - [FieldOffset(5)] // size = 1 - public CBool serialize_color; - - [FieldOffset(6)] // size = 1 - public CBool serialize_id_labels; + [FieldOffset(0)] // size = 8 + public ulong id; - [FieldOffset(7)] // size = 1 - public CBool serialize_base; + [FieldOffset(8)] // size = 8 + public ecs_http_server_t* server; - [FieldOffset(8)] // size = 1 - public CBool serialize_private; + [FieldOffset(16)] // size = 128 + public fixed byte _host[128]; // char[128] - [FieldOffset(9)] // size = 1 - public CBool serialize_hidden; + public string host + { + get + { + fixed (ecs_http_connection_t* @this = &this) + { + var pointer = &@this->_host[0]; + var cString = new CString(pointer); + return Runtime.CStrings.String(cString); + } + } + } - [FieldOffset(10)] // size = 1 - public CBool serialize_values; + [FieldOffset(144)] // size = 16 + public fixed byte _port[16]; // char[16] - [FieldOffset(11)] // size = 1 - public CBool serialize_type_info; + public string port + { + get + { + fixed (ecs_http_connection_t* @this = &this) + { + var pointer = &@this->_port[0]; + var cString = new CString(pointer); + return Runtime.CStrings.String(cString); + } + } + } } - // Struct @ hashmap.h:23:9 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] - public struct ecs_hashmap_t + // Struct @ flecs.h:3401:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] + public struct ecs_event_desc_t { [FieldOffset(0)] // size = 8 - public ecs_hash_value_action_t hash; + public ecs_entity_t @event; [FieldOffset(8)] // size = 8 - public ecs_compare_action_t compare; + public ecs_type_t* ids; - [FieldOffset(16)] // size = 4 - public ecs_size_t key_size; + [FieldOffset(16)] // size = 8 + public ecs_table_t* table; - [FieldOffset(20)] // size = 4 - public ecs_size_t value_size; + [FieldOffset(24)] // size = 8 + public ecs_table_t* other_table; - [FieldOffset(24)] // size = 72 - public ecs_map_t impl; - } + [FieldOffset(32)] // size = 4 + public int offset; - // Struct @ json.h:198:16 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) - [StructLayout(LayoutKind.Explicit, Size = 14, Pack = 1)] - public struct ecs_iter_to_json_desc_t - { - [FieldOffset(0)] // size = 1 - public CBool serialize_term_ids; + [FieldOffset(36)] // size = 4 + public int count; - [FieldOffset(1)] // size = 1 - public CBool serialize_ids; + [FieldOffset(40)] // size = 8 + public void* param; - [FieldOffset(2)] // size = 1 - public CBool serialize_subjects; + [FieldOffset(48)] // size = 8 + public ecs_poly_t* observable; - [FieldOffset(3)] // size = 1 - public CBool serialize_variables; + [FieldOffset(56)] // size = 1 + public CBool table_event; - [FieldOffset(4)] // size = 1 - public CBool serialize_is_set; + [FieldOffset(64)] // size = 8 + public ecs_entity_t relationship; + } - [FieldOffset(5)] // size = 1 - public CBool serialize_values; - - [FieldOffset(6)] // size = 1 - public CBool serialize_entities; - - [FieldOffset(7)] // size = 1 - public CBool serialize_entity_labels; - - [FieldOffset(8)] // size = 1 - public CBool serialize_entity_ids; - - [FieldOffset(9)] // size = 1 - public CBool serialize_variable_labels; - - [FieldOffset(10)] // size = 1 - public CBool serialize_variable_ids; - - [FieldOffset(11)] // size = 1 - public CBool serialize_colors; - - [FieldOffset(12)] // size = 1 - public CBool measure_eval_duration; - - [FieldOffset(13)] // size = 1 - public CBool serialize_type_info; - } - - // Struct @ meta.h:544:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 1088, Pack = 8)] - public struct ecs_bitmask_desc_t + // Struct @ api_types.h:74:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_var_t { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; - - [FieldOffset(320)] // size = 768 - public fixed byte _constants[768]; // ecs_bitmask_constant_t[32] - - public Span constants - { - get - { - fixed (ecs_bitmask_desc_t* @this = &this) - { - var pointer = &@this->_constants[0]; - var span = new Span(pointer, 32); - return span; - } - } - } - } + [FieldOffset(0)] // size = 16 + public ecs_table_range_t range; - // Struct @ flecs.h:451:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct ecs_term_id_t - { - [FieldOffset(0)] // size = 8 + [FieldOffset(16)] // size = 8 public ecs_entity_t entity; - - [FieldOffset(8)] // size = 8 - public CString name; - - [FieldOffset(16)] // size = 4 - public ecs_var_kind_t var; - - [FieldOffset(24)] // size = 24 - public ecs_term_set_t set; } - // Struct @ json.h:25:16 - // aarch64-apple-darwin (flecs/addons/json.h) - // x86_64-pc-windows-msvc (flecs\addons\json.h) - // x86_64-apple-darwin (flecs/addons/json.h) - // x86_64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-unknown-linux-gnu (flecs/addons/json.h) - // aarch64-pc-windows-msvc (flecs\addons\json.h) + // Struct @ api_types.h:67:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_parse_json_desc_t - { - [FieldOffset(0)] // size = 8 - public CString name; - - [FieldOffset(8)] // size = 8 - public CString expr; - } - - // Struct @ flecs.h:391:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iterable_t + public struct ecs_table_range_t { [FieldOffset(0)] // size = 8 - public ecs_iter_init_action_t init; - } - - // Struct @ flecs.h:486:8 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] - public struct ecs_filter_t - { - [FieldOffset(0)] // size = 16 - public ecs_header_t hdr; - - [FieldOffset(16)] // size = 8 - public ecs_term_t* terms; - - [FieldOffset(24)] // size = 4 - public int term_count; - - [FieldOffset(28)] // size = 4 - public int term_count_actual; - - [FieldOffset(32)] // size = 1 - public CBool owned; - - [FieldOffset(33)] // size = 1 - public CBool terms_owned; - - [FieldOffset(36)] // size = 4 - public ecs_flags32_t flags; - - [FieldOffset(40)] // size = 8 - public CString name; - - [FieldOffset(48)] // size = 8 - public fixed byte _variable_names[8]; // char*[1] + public ecs_table_t* table; - public Span variable_names - { - get - { - fixed (ecs_filter_t* @this = &this) - { - var pointer = &@this->_variable_names[0]; - var span = new Span(pointer, 1); - return span; - } - } - } + [FieldOffset(8)] // size = 4 + public int offset; - [FieldOffset(56)] // size = 8 - public ecs_iterable_t iterable; + [FieldOffset(12)] // size = 4 + public int count; } - // Struct @ flecs.h:681:16 + // Struct @ flecs.h:679:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 3128, Pack = 8)] + [StructLayout(LayoutKind.Explicit, Size = 2232, Pack = 8)] public struct ecs_filter_desc_t { [FieldOffset(0)] // size = 4 public int _canary; - [FieldOffset(8)] // size = 3072 - public fixed byte _terms[3072]; // ecs_term_t[16] + [FieldOffset(8)] // size = 2176 + public fixed byte _terms[2176]; // ecs_term_t[16] public Span terms { @@ -6581,756 +6346,453 @@ public Span terms } } - [FieldOffset(3080)] // size = 8 + [FieldOffset(2184)] // size = 8 public ecs_term_t* terms_buffer; - [FieldOffset(3088)] // size = 4 + [FieldOffset(2192)] // size = 4 public int terms_buffer_count; - [FieldOffset(3096)] // size = 8 + [FieldOffset(2200)] // size = 8 public ecs_filter_t* storage; - [FieldOffset(3104)] // size = 1 + [FieldOffset(2208)] // size = 1 public CBool instanced; - [FieldOffset(3108)] // size = 4 + [FieldOffset(2212)] // size = 4 public ecs_flags32_t flags; - [FieldOffset(3112)] // size = 8 + [FieldOffset(2216)] // size = 8 public CString expr; - [FieldOffset(3120)] // size = 8 + [FieldOffset(2224)] // size = 8 public CString name; } - // Struct @ flecs.h:855:16 + // Struct @ flecs.h:641:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 176, Pack = 8)] - public struct ecs_world_info_t + [StructLayout(LayoutKind.Explicit, Size = 296, Pack = 8)] + public struct ecs_bulk_desc_t { - [FieldOffset(0)] // size = 8 - public ecs_entity_t last_component_id; + [FieldOffset(0)] // size = 4 + public int _canary; [FieldOffset(8)] // size = 8 - public ecs_entity_t last_id; - - [FieldOffset(16)] // size = 8 - public ecs_entity_t min_id; - - [FieldOffset(24)] // size = 8 - public ecs_entity_t max_id; - - [FieldOffset(32)] // size = 4 - public float delta_time_raw; + public ecs_entity_t* entities; - [FieldOffset(36)] // size = 4 - public float delta_time; + [FieldOffset(16)] // size = 4 + public int count; - [FieldOffset(40)] // size = 4 - public float time_scale; + [FieldOffset(24)] // size = 256 + public fixed byte _ids[256]; // ecs_id_t[32] - [FieldOffset(44)] // size = 4 - public float target_fps; + public Span ids + { + get + { + fixed (ecs_bulk_desc_t* @this = &this) + { + var pointer = &@this->_ids[0]; + var span = new Span(pointer, 32); + return span; + } + } + } - [FieldOffset(48)] // size = 4 - public float frame_time_total; + [FieldOffset(280)] // size = 8 + public void** data; - [FieldOffset(52)] // size = 4 - public float system_time_total; + [FieldOffset(288)] // size = 8 + public ecs_table_t* table; + } - [FieldOffset(56)] // size = 4 - public float merge_time_total; + // Union @ api_types.h:222:5 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 280, Pack = 8)] + public struct ecs_iter_private_t_ANONYMOUS_FIELD0 + { + [FieldOffset(0)] // size = 256 + public ecs_term_iter_t term; - [FieldOffset(60)] // size = 4 - public float world_time_total; + [FieldOffset(0)] // size = 280 + public ecs_filter_iter_t filter; - [FieldOffset(64)] // size = 4 - public float world_time_total_raw; + [FieldOffset(0)] // size = 40 + public ecs_query_iter_t query; - [FieldOffset(68)] // size = 4 - public int frame_count_total; + [FieldOffset(0)] // size = 56 + public ecs_rule_iter_t rule; - [FieldOffset(72)] // size = 4 - public int merge_count_total; + [FieldOffset(0)] // size = 80 + public ecs_snapshot_iter_t snapshot; - [FieldOffset(76)] // size = 4 - public int id_create_total; + [FieldOffset(0)] // size = 12 + public ecs_page_iter_t page; - [FieldOffset(80)] // size = 4 - public int id_delete_total; + [FieldOffset(0)] // size = 8 + public ecs_worker_iter_t worker; + } - [FieldOffset(84)] // size = 4 - public int table_create_total; - - [FieldOffset(88)] // size = 4 - public int table_delete_total; + // Struct @ meta.h:637:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_unit_prefix_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(92)] // size = 4 - public int pipeline_build_count_total; + [FieldOffset(8)] // size = 8 + public CString symbol; - [FieldOffset(96)] // size = 4 - public int systems_ran_frame; + [FieldOffset(16)] // size = 8 + public ecs_unit_translation_t translation; + } - [FieldOffset(100)] // size = 4 - public int id_count; + // Struct @ http.h:104:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_http_server_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_http_reply_action_t callback; - [FieldOffset(104)] // size = 4 - public int tag_id_count; + [FieldOffset(8)] // size = 8 + public void* ctx; - [FieldOffset(108)] // size = 4 - public int component_id_count; + [FieldOffset(16)] // size = 2 + public ushort port; - [FieldOffset(112)] // size = 4 - public int pair_id_count; + [FieldOffset(24)] // size = 8 + public CString ipaddr; + } - [FieldOffset(116)] // size = 4 - public int wildcard_id_count; + // Struct @ strbuf.h:52:16 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [StructLayout(LayoutKind.Explicit, Size = 1104, Pack = 8)] + public struct ecs_strbuf_t + { + [FieldOffset(0)] // size = 8 + public CString buf; - [FieldOffset(120)] // size = 4 - public int table_count; + [FieldOffset(8)] // size = 4 + public int max; - [FieldOffset(124)] // size = 4 - public int tag_table_count; + [FieldOffset(12)] // size = 4 + public int size; - [FieldOffset(128)] // size = 4 - public int trivial_table_count; + [FieldOffset(16)] // size = 4 + public int elementCount; - [FieldOffset(132)] // size = 4 - public int empty_table_count; + [FieldOffset(24)] // size = 536 + public ecs_strbuf_element_embedded firstElement; - [FieldOffset(136)] // size = 4 - public int table_record_count; + [FieldOffset(560)] // size = 8 + public ecs_strbuf_element* current; - [FieldOffset(140)] // size = 4 - public int table_storage_count; + [FieldOffset(568)] // size = 512 + public fixed byte _list_stack[512]; // ecs_strbuf_list_elem[32] - [FieldOffset(144)] // size = 4 - public int new_count; + public Span list_stack + { + get + { + fixed (ecs_strbuf_t* @this = &this) + { + var pointer = &@this->_list_stack[0]; + var span = new Span(pointer, 32); + return span; + } + } + } - [FieldOffset(148)] // size = 4 - public int bulk_new_count; + [FieldOffset(1080)] // size = 4 + public int list_sp; - [FieldOffset(152)] // size = 4 - public int delete_count; + [FieldOffset(1088)] // size = 8 + public CString content; - [FieldOffset(156)] // size = 4 - public int clear_count; + [FieldOffset(1096)] // size = 4 + public int length; + } - [FieldOffset(160)] // size = 4 - public int add_count; + // Struct @ meta.h:206:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_enum_constant_t + { + [FieldOffset(0)] // size = 8 + public CString name; - [FieldOffset(164)] // size = 4 - public int remove_count; + [FieldOffset(8)] // size = 4 + public int value; - [FieldOffset(168)] // size = 4 - public int set_count; + [FieldOffset(16)] // size = 8 + public ecs_entity_t constant; + } - [FieldOffset(172)] // size = 4 - public int discard_count; + // Struct @ map.h:63:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_bucket_t + { + [FieldOffset(0)] // size = 8 + public ecs_bucket_entry_t* first; } - // Struct @ api_types.h:74:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_var_t + // Struct @ http.h:83:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 2232, Pack = 8)] + public struct ecs_http_reply_t { - [FieldOffset(0)] // size = 16 - public ecs_table_range_t range; + [FieldOffset(0)] // size = 4 + public int code; - [FieldOffset(16)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 1104 + public ecs_strbuf_t body; + + [FieldOffset(1112)] // size = 8 + public CString status; + + [FieldOffset(1120)] // size = 8 + public CString content_type; + + [FieldOffset(1128)] // size = 1104 + public ecs_strbuf_t headers; } - // Struct @ api_types.h:106:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_table_cache_iter_t + // Struct @ strbuf.h:47:16 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_strbuf_list_elem { - [FieldOffset(0)] // size = 8 - public ecs_table_cache_hdr_t* cur; + [FieldOffset(0)] // size = 4 + public int count; [FieldOffset(8)] // size = 8 - public ecs_table_cache_hdr_t* next; - - [FieldOffset(16)] // size = 8 - public ecs_table_cache_hdr_t* next_list; + public CString separator; } - // Struct @ flecs.h:589:8 + // Struct @ flecs.h:831:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 136, Pack = 8)] - public struct ecs_type_info_t + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct EcsComponent { [FieldOffset(0)] // size = 4 public ecs_size_t size; [FieldOffset(4)] // size = 4 public ecs_size_t alignment; - - [FieldOffset(8)] // size = 120 - public ecs_type_hooks_t hooks; - - [FieldOffset(128)] // size = 8 - public ecs_entity_t component; } - // Struct @ os_api.h:31:16 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct ecs_time_t + // Struct @ map.h:45:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_block_allocator_block_t { - [FieldOffset(0)] // size = 4 - public uint sec; + [FieldOffset(0)] // size = 8 + public void* memory; - [FieldOffset(4)] // size = 4 - public uint nanosec; + [FieldOffset(8)] // size = 8 + public ecs_block_allocator_block_t* next; } - // Struct @ meta.h:183:16 + // Struct @ meta.h:575:16 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) // x86_64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 48, Pack = 8)] - public struct ecs_member_t - { - [FieldOffset(0)] // size = 8 - public CString name; - - [FieldOffset(8)] // size = 8 - public ecs_entity_t type; - - [FieldOffset(16)] // size = 4 - public int count; - - [FieldOffset(20)] // size = 4 - public int offset; - - [FieldOffset(24)] // size = 8 - public ecs_entity_t unit; - - [FieldOffset(32)] // size = 4 - public ecs_size_t size; - - [FieldOffset(40)] // size = 8 - public ecs_entity_t member; - } - - // Struct @ meta.h:571:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)] - public struct ecs_vector_desc_t - { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; - - [FieldOffset(320)] // size = 8 - public ecs_entity_t type; - } - - // Struct @ api_types.h:85:8 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_ref_t + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_vector_desc_t { [FieldOffset(0)] // size = 8 public ecs_entity_t entity; [FieldOffset(8)] // size = 8 - public ecs_entity_t id; - - [FieldOffset(16)] // size = 8 - public ecs_table_record_t* tr; - - [FieldOffset(24)] // size = 8 - public ecs_record_t* @record; - } - - // Struct @ meta.h:310:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_meta_type_op_t - { - [FieldOffset(0)] // size = 4 - public ecs_meta_type_op_kind_t kind; - - [FieldOffset(4)] // size = 4 - public ecs_size_t offset; - - [FieldOffset(8)] // size = 4 - public int count; - - [FieldOffset(16)] // size = 8 - public CString name; - - [FieldOffset(24)] // size = 4 - public int op_count; - - [FieldOffset(28)] // size = 4 - public ecs_size_t size; - - [FieldOffset(32)] // size = 8 public ecs_entity_t type; - - [FieldOffset(40)] // size = 8 - public ecs_entity_t unit; - - [FieldOffset(48)] // size = 8 - public ecs_hashmap_t* members; - } - - // Struct @ api_types.h:163:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 80, Pack = 8)] - public struct ecs_snapshot_iter_t - { - [FieldOffset(0)] // size = 64 - public ecs_filter_t filter; - - [FieldOffset(64)] // size = 8 - public ecs_vector_t* tables; - - [FieldOffset(72)] // size = 4 - public int index; } - // Struct @ flecs.h:443:16 + // Struct @ flecs.h:456:8 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_term_set_t + [StructLayout(LayoutKind.Explicit, Size = 136, Pack = 8)] + public struct ecs_term_t { [FieldOffset(0)] // size = 8 - public ecs_entity_t relation; - - [FieldOffset(8)] // size = 1 - public byte mask; - - [FieldOffset(12)] // size = 4 - public int min_depth; - - [FieldOffset(16)] // size = 4 - public int max_depth; - } - - // Struct @ app.h:29:16 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_app_desc_t - { - [FieldOffset(0)] // size = 4 - public float target_fps; + public ecs_id_t id; - [FieldOffset(4)] // size = 4 - public float delta_time; + [FieldOffset(8)] // size = 32 + public ecs_term_id_t src; - [FieldOffset(8)] // size = 4 - public int threads; + [FieldOffset(40)] // size = 32 + public ecs_term_id_t first; - [FieldOffset(12)] // size = 1 - public CBool enable_rest; + [FieldOffset(72)] // size = 32 + public ecs_term_id_t second; - [FieldOffset(13)] // size = 1 - public CBool enable_monitor; + [FieldOffset(104)] // size = 4 + public ecs_inout_kind_t inout; - [FieldOffset(16)] // size = 8 - public ecs_app_init_action_t init; + [FieldOffset(108)] // size = 4 + public ecs_oper_kind_t oper; - [FieldOffset(24)] // size = 8 - public void* ctx; - } + [FieldOffset(112)] // size = 8 + public ecs_id_t role; - // Struct @ api_types.h:93:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public struct ecs_page_iter_t - { - [FieldOffset(0)] // size = 4 - public int offset; + [FieldOffset(120)] // size = 8 + public CString name; - [FieldOffset(4)] // size = 4 - public int limit; + [FieldOffset(128)] // size = 4 + public int index; - [FieldOffset(8)] // size = 4 - public int remaining; + [FieldOffset(132)] // size = 1 + public CBool move; } - // Struct @ flecs.h:673:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 464, Pack = 8)] - public struct ecs_component_desc_t + // Struct @ map.h:39:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_bucket_entry_t { - [FieldOffset(0)] // size = 4 - public int _canary; - - [FieldOffset(8)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(0)] // size = 8 + public ecs_bucket_entry_t* next; - [FieldOffset(328)] // size = 136 - public ecs_type_info_t type; + [FieldOffset(8)] // size = 8 + public ecs_map_key_t key; } - // Struct @ flecs.h:764:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 3600, Pack = 8)] - public struct ecs_observer_desc_t + // Struct @ system.h:39:16 + // aarch64-apple-darwin (flecs/addons/system.h) + // x86_64-pc-windows-msvc (flecs\addons\system.h) + // x86_64-apple-darwin (flecs/addons/system.h) + // x86_64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-unknown-linux-gnu (flecs/addons/system.h) + // aarch64-pc-windows-msvc (flecs\addons\system.h) + [StructLayout(LayoutKind.Explicit, Size = 2400, Pack = 8)] + public struct ecs_system_desc_t { [FieldOffset(0)] // size = 4 public int _canary; - [FieldOffset(8)] // size = 320 - public ecs_entity_desc_t entity; - - [FieldOffset(328)] // size = 3128 - public ecs_filter_desc_t filter; - - [FieldOffset(3456)] // size = 64 - public fixed byte _events[64]; // ecs_entity_t[8] + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; - public Span events - { - get - { - fixed (ecs_observer_desc_t* @this = &this) - { - var pointer = &@this->_events[0]; - var span = new Span(pointer, 8); - return span; - } - } - } + [FieldOffset(16)] // size = 2312 + public ecs_query_desc_t query; - [FieldOffset(3520)] // size = 1 - public CBool yield_existing; + [FieldOffset(2328)] // size = 8 + public ecs_run_action_t run; - [FieldOffset(3528)] // size = 8 + [FieldOffset(2336)] // size = 8 public ecs_iter_action_t callback; - [FieldOffset(3536)] // size = 8 - public ecs_run_action_t run; - - [FieldOffset(3544)] // size = 8 + [FieldOffset(2344)] // size = 8 public void* ctx; - [FieldOffset(3552)] // size = 8 + [FieldOffset(2352)] // size = 8 public void* binding_ctx; - [FieldOffset(3560)] // size = 8 + [FieldOffset(2360)] // size = 8 public ecs_ctx_free_t ctx_free; - [FieldOffset(3568)] // size = 8 + [FieldOffset(2368)] // size = 8 public ecs_ctx_free_t binding_ctx_free; - [FieldOffset(3576)] // size = 8 - public ecs_poly_t* observable; + [FieldOffset(2376)] // size = 4 + public float interval; - [FieldOffset(3584)] // size = 8 - public int* last_event_id; + [FieldOffset(2380)] // size = 4 + public int rate; - [FieldOffset(3592)] // size = 4 - public int term_index; + [FieldOffset(2384)] // size = 8 + public ecs_entity_t tick_source; + + [FieldOffset(2392)] // size = 1 + public CBool multi_threaded; + + [FieldOffset(2393)] // size = 1 + public CBool no_staging; } - // Union @ api_types.h:222:5 + // Struct @ api_types.h:236:8 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) // x86_64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 336, Pack = 8)] - public struct ecs_iter_private_t_ANONYMOUS_FIELD0 + [StructLayout(LayoutKind.Explicit, Size = 792, Pack = 8)] + public struct ecs_iter_t { - [FieldOffset(0)] // size = 312 - public ecs_term_iter_t term; + [FieldOffset(0)] // size = 8 + public ecs_world_t* world; - [FieldOffset(0)] // size = 336 - public ecs_filter_iter_t filter; - - [FieldOffset(0)] // size = 40 - public ecs_query_iter_t query; - - [FieldOffset(0)] // size = 56 - public ecs_rule_iter_t rule; - - [FieldOffset(0)] // size = 80 - public ecs_snapshot_iter_t snapshot; - - [FieldOffset(0)] // size = 12 - public ecs_page_iter_t page; - - [FieldOffset(0)] // size = 8 - public ecs_worker_iter_t worker; - } - - // Struct @ stats.h:108:16 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 2892, Pack = 4)] - public struct ecs_query_stats_t - { - [FieldOffset(0)] // size = 4 - public int first_; - - [FieldOffset(4)] // size = 960 - public ecs_metric_t matched_table_count; - - [FieldOffset(964)] // size = 960 - public ecs_metric_t matched_empty_table_count; - - [FieldOffset(1924)] // size = 960 - public ecs_metric_t matched_entity_count; - - [FieldOffset(2884)] // size = 4 - public int last_; - - [FieldOffset(2888)] // size = 4 - public int t; - } - - // Struct @ map.h:54:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_block_allocator_t - { - [FieldOffset(0)] // size = 8 - public ecs_block_allocator_chunk_header_t* head; - - [FieldOffset(8)] // size = 8 - public ecs_block_allocator_block_t* block_head; - - [FieldOffset(16)] // size = 8 - public ecs_block_allocator_block_t* block_tail; - - [FieldOffset(24)] // size = 4 - public int chunk_size; - - [FieldOffset(28)] // size = 4 - public int chunks_per_block; - - [FieldOffset(32)] // size = 4 - public int block_size; - } - - // Struct @ monitor.h:37:9 - // aarch64-apple-darwin (flecs/addons/monitor.h) - // x86_64-pc-windows-msvc (flecs\addons\monitor.h) - // x86_64-apple-darwin (flecs/addons/monitor.h) - // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-pc-windows-msvc (flecs\addons\monitor.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public struct EcsStatsHeader - { - [FieldOffset(0)] // size = 4 - public float elapsed; - - [FieldOffset(4)] // size = 4 - public int reduce_count; - } - - // Struct @ system.h:39:16 - // aarch64-apple-darwin (flecs/addons/system.h) - // x86_64-pc-windows-msvc (flecs\addons\system.h) - // x86_64-apple-darwin (flecs/addons/system.h) - // x86_64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-unknown-linux-gnu (flecs/addons/system.h) - // aarch64-pc-windows-msvc (flecs\addons\system.h) - [StructLayout(LayoutKind.Explicit, Size = 3608, Pack = 8)] - public struct ecs_system_desc_t - { - [FieldOffset(0)] // size = 4 - public int _canary; - - [FieldOffset(8)] // size = 320 - public ecs_entity_desc_t entity; - - [FieldOffset(328)] // size = 3208 - public ecs_query_desc_t query; - - [FieldOffset(3536)] // size = 8 - public ecs_run_action_t run; - - [FieldOffset(3544)] // size = 8 - public ecs_iter_action_t callback; - - [FieldOffset(3552)] // size = 8 - public void* ctx; - - [FieldOffset(3560)] // size = 8 - public void* binding_ctx; - - [FieldOffset(3568)] // size = 8 - public ecs_ctx_free_t ctx_free; - - [FieldOffset(3576)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; - - [FieldOffset(3584)] // size = 4 - public float interval; - - [FieldOffset(3588)] // size = 4 - public int rate; - - [FieldOffset(3592)] // size = 8 - public ecs_entity_t tick_source; - - [FieldOffset(3600)] // size = 1 - public CBool multi_threaded; - - [FieldOffset(3601)] // size = 1 - public CBool no_staging; - } - - // Struct @ rest.h:45:9 - // aarch64-apple-darwin (flecs/addons/rest.h) - // x86_64-pc-windows-msvc (flecs\addons\rest.h) - // x86_64-apple-darwin (flecs/addons/rest.h) - // x86_64-unknown-linux-gnu (flecs/addons/rest.h) - // aarch64-unknown-linux-gnu (flecs/addons/rest.h) - // aarch64-pc-windows-msvc (flecs\addons\rest.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct EcsRest - { - [FieldOffset(0)] // size = 2 - public ushort port; - - [FieldOffset(8)] // size = 8 - public CString ipaddr; - - [FieldOffset(16)] // size = 8 - public void* impl; - } - - // Struct @ http.h:52:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_http_key_value_t - { - [FieldOffset(0)] // size = 8 - public CString key; - - [FieldOffset(8)] // size = 8 - public CString value; - } - - // Struct @ monitor.h:42:9 - // aarch64-apple-darwin (flecs/addons/monitor.h) - // x86_64-pc-windows-msvc (flecs\addons\monitor.h) - // x86_64-apple-darwin (flecs/addons/monitor.h) - // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) - // aarch64-pc-windows-msvc (flecs\addons\monitor.h) - [StructLayout(LayoutKind.Explicit, Size = 42260, Pack = 4)] - public struct EcsWorldStats - { - [FieldOffset(0)] // size = 8 - public EcsStatsHeader hdr; - - [FieldOffset(8)] // size = 42252 - public ecs_world_stats_t stats; - } - - // Struct @ api_types.h:236:8 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 848, Pack = 8)] - public struct ecs_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_world_t* world; - - [FieldOffset(8)] // size = 8 - public ecs_world_t* real_world; + [FieldOffset(8)] // size = 8 + public ecs_world_t* real_world; [FieldOffset(16)] // size = 8 public ecs_entity_t* entities; @@ -7357,7 +6819,7 @@ public struct ecs_iter_t public int* columns; [FieldOffset(80)] // size = 8 - public ecs_entity_t* subjects; + public ecs_entity_t* sources; [FieldOffset(88)] // size = 8 public int* match_indices; @@ -7428,978 +6890,1422 @@ public struct ecs_iter_t [FieldOffset(224)] // size = 8 public ecs_entity_t interrupted_by; - [FieldOffset(232)] // size = 584 + [FieldOffset(232)] // size = 528 public ecs_iter_private_t priv; - [FieldOffset(816)] // size = 8 + [FieldOffset(760)] // size = 8 public ecs_iter_next_action_t next; - [FieldOffset(824)] // size = 8 + [FieldOffset(768)] // size = 8 public ecs_iter_action_t callback; - [FieldOffset(832)] // size = 8 + [FieldOffset(776)] // size = 8 public ecs_iter_fini_action_t fini; - [FieldOffset(840)] // size = 8 + [FieldOffset(784)] // size = 8 public ecs_iter_t* chain_it; } - // Struct @ flecs.h:715:16 + // Struct @ hashmap.h:23:9 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] + public struct ecs_hashmap_t + { + [FieldOffset(0)] // size = 8 + public ecs_hash_value_action_t hash; + + [FieldOffset(8)] // size = 8 + public ecs_compare_action_t compare; + + [FieldOffset(16)] // size = 4 + public ecs_size_t key_size; + + [FieldOffset(20)] // size = 4 + public ecs_size_t value_size; + + [FieldOffset(24)] // size = 72 + public ecs_map_t impl; + } + + // Struct @ flecs.h:585:8 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 3208, Pack = 8)] - public struct ecs_query_desc_t + [StructLayout(LayoutKind.Explicit, Size = 136, Pack = 8)] + public struct ecs_type_info_t { [FieldOffset(0)] // size = 4 - public int _canary; + public ecs_size_t size; - [FieldOffset(8)] // size = 3128 - public ecs_filter_desc_t filter; + [FieldOffset(4)] // size = 4 + public ecs_size_t alignment; - [FieldOffset(3136)] // size = 8 - public ecs_entity_t order_by_component; + [FieldOffset(8)] // size = 120 + public ecs_type_hooks_t hooks; - [FieldOffset(3144)] // size = 8 - public ecs_order_by_action_t order_by; + [FieldOffset(128)] // size = 8 + public ecs_entity_t component; + } - [FieldOffset(3152)] // size = 8 - public ecs_sort_table_action_t sort_table; + // Struct @ app.h:29:16 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_app_desc_t + { + [FieldOffset(0)] // size = 4 + public float target_fps; - [FieldOffset(3160)] // size = 8 - public ecs_id_t group_by_id; + [FieldOffset(4)] // size = 4 + public float delta_time; - [FieldOffset(3168)] // size = 8 - public ecs_group_by_action_t group_by; + [FieldOffset(8)] // size = 4 + public int threads; - [FieldOffset(3176)] // size = 8 - public void* group_by_ctx; + [FieldOffset(12)] // size = 1 + public CBool enable_rest; - [FieldOffset(3184)] // size = 8 - public ecs_ctx_free_t group_by_ctx_free; + [FieldOffset(13)] // size = 1 + public CBool enable_monitor; - [FieldOffset(3192)] // size = 8 - public ecs_query_t* parent; + [FieldOffset(16)] // size = 8 + public ecs_app_init_action_t init; - [FieldOffset(3200)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(24)] // size = 8 + public void* ctx; } - // Struct @ strbuf.h:52:16 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [StructLayout(LayoutKind.Explicit, Size = 1104, Pack = 8)] - public struct ecs_strbuf_t + // Struct @ meta.h:222:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_bitmask_constant_t { [FieldOffset(0)] // size = 8 - public CString buf; + public CString name; [FieldOffset(8)] // size = 4 - public int max; - - [FieldOffset(12)] // size = 4 - public int size; - - [FieldOffset(16)] // size = 4 - public int elementCount; - - [FieldOffset(24)] // size = 536 - public ecs_strbuf_element_embedded firstElement; + public ecs_flags32_t value; - [FieldOffset(560)] // size = 8 - public ecs_strbuf_element* current; + [FieldOffset(16)] // size = 8 + public ecs_entity_t constant; + } - [FieldOffset(568)] // size = 512 - public fixed byte _list_stack[512]; // ecs_strbuf_list_elem[32] + // Struct @ meta.h:257:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct ecs_unit_translation_t + { + [FieldOffset(0)] // size = 4 + public int factor; - public Span list_stack - { - get - { - fixed (ecs_strbuf_t* @this = &this) - { - var pointer = &@this->_list_stack[0]; - var span = new Span(pointer, 32); - return span; - } - } - } + [FieldOffset(4)] // size = 4 + public int power; + } - [FieldOffset(1080)] // size = 4 - public int list_sp; + // Struct @ api_types.h:106:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_table_cache_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_table_cache_hdr_t* cur; - [FieldOffset(1088)] // size = 8 - public CString content; + [FieldOffset(8)] // size = 8 + public ecs_table_cache_hdr_t* next; - [FieldOffset(1096)] // size = 4 - public int length; + [FieldOffset(16)] // size = 8 + public ecs_table_cache_hdr_t* next_list; } - // Struct @ stats.h:120:16 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 6744, Pack = 4)] - public struct ecs_system_stats_t + // Struct @ flecs.h:482:8 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] + public struct ecs_filter_t { - [FieldOffset(0)] // size = 4 - public int first_; - - [FieldOffset(4)] // size = 960 - public ecs_metric_t time_spent; + [FieldOffset(0)] // size = 16 + public ecs_header_t hdr; - [FieldOffset(964)] // size = 960 - public ecs_metric_t invoke_count; + [FieldOffset(16)] // size = 8 + public ecs_term_t* terms; - [FieldOffset(1924)] // size = 960 - public ecs_metric_t active; + [FieldOffset(24)] // size = 4 + public int term_count; - [FieldOffset(2884)] // size = 960 - public ecs_metric_t enabled; + [FieldOffset(28)] // size = 4 + public int term_count_actual; - [FieldOffset(3844)] // size = 4 - public int last_; + [FieldOffset(32)] // size = 1 + public CBool owned; - [FieldOffset(3848)] // size = 1 - public CBool task; + [FieldOffset(33)] // size = 1 + public CBool terms_owned; - [FieldOffset(3852)] // size = 2892 - public ecs_query_stats_t query; - } + [FieldOffset(36)] // size = 4 + public ecs_flags32_t flags; - // Struct @ stats.h:28:16 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 960, Pack = 4)] - public struct ecs_counter_t - { - [FieldOffset(0)] // size = 720 - public ecs_gauge_t rate; + [FieldOffset(40)] // size = 8 + public CString name; - [FieldOffset(720)] // size = 240 - public fixed byte _value[240]; // float[60] + [FieldOffset(48)] // size = 8 + public fixed byte _variable_names[8]; // char*[1] - public Span value + public Span variable_names { get { - fixed (ecs_counter_t* @this = &this) + fixed (ecs_filter_t* @this = &this) { - var pointer = &@this->_value[0]; - var span = new Span(pointer, 60); + var pointer = &@this->_variable_names[0]; + var span = new Span(pointer, 1); return span; } } } + + [FieldOffset(56)] // size = 8 + public ecs_iterable_t iterable; } - // Struct @ meta.h:584:16 + // Struct @ meta.h:346:16 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) // x86_64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 1856, Pack = 8)] - public struct ecs_struct_desc_t + [StructLayout(LayoutKind.Explicit, Size = 2080, Pack = 8)] + public struct ecs_meta_cursor_t { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(0)] // size = 8 + public ecs_world_t* world; - [FieldOffset(320)] // size = 1536 - public fixed byte _members[1536]; // ecs_member_t[32] + [FieldOffset(8)] // size = 2048 + public fixed byte _scope[2048]; // ecs_meta_scope_t[32] - public Span members + public Span scope { get { - fixed (ecs_struct_desc_t* @this = &this) + fixed (ecs_meta_cursor_t* @this = &this) { - var pointer = &@this->_members[0]; - var span = new Span(pointer, 32); + var pointer = &@this->_scope[0]; + var span = new Span(pointer, 32); return span; } } } - } - // Struct @ api_types.h:221:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 584, Pack = 8)] - public struct ecs_iter_private_t - { - [FieldOffset(0)] // size = 336 - public ecs_iter_private_t_ANONYMOUS_FIELD0 iter; + [FieldOffset(2056)] // size = 4 + public int depth; - [FieldOffset(336)] // size = 248 - public ecs_iter_cache_t cache; + [FieldOffset(2060)] // size = 1 + public CBool valid; + + [FieldOffset(2061)] // size = 1 + public CBool is_primitive_scope; + + [FieldOffset(2064)] // size = 8 + public FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t lookup_action; + + [FieldOffset(2072)] // size = 8 + public void* lookup_ctx; } - // Struct @ api_types.h:112:16 + // Struct @ api_types.h:85:8 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) // x86_64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 312, Pack = 8)] - public struct ecs_term_iter_t + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_ref_t { - [FieldOffset(0)] // size = 192 - public ecs_term_t term; + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(192)] // size = 8 - public ecs_id_record_t* self_index; + [FieldOffset(8)] // size = 8 + public ecs_entity_t id; - [FieldOffset(200)] // size = 8 - public ecs_id_record_t* set_index; + [FieldOffset(16)] // size = 8 + public ecs_table_record_t* tr; - [FieldOffset(208)] // size = 8 - public ecs_id_record_t* cur; + [FieldOffset(24)] // size = 8 + public ecs_record_t* @record; + } - [FieldOffset(216)] // size = 24 - public ecs_table_cache_iter_t it; + // Struct @ meta.h:560:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_array_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(240)] // size = 4 - public int index; + [FieldOffset(8)] // size = 8 + public ecs_entity_t type; - [FieldOffset(248)] // size = 8 - public ecs_table_t* table; + [FieldOffset(16)] // size = 4 + public int count; + } - [FieldOffset(256)] // size = 4 - public int cur_match; + // Struct @ monitor.h:37:9 + // aarch64-apple-darwin (flecs/addons/monitor.h) + // x86_64-pc-windows-msvc (flecs\addons\monitor.h) + // x86_64-apple-darwin (flecs/addons/monitor.h) + // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-pc-windows-msvc (flecs\addons\monitor.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] + public struct EcsStatsHeader + { + [FieldOffset(0)] // size = 4 + public float elapsed; - [FieldOffset(260)] // size = 4 - public int match_count; + [FieldOffset(4)] // size = 4 + public int reduce_count; + } - [FieldOffset(264)] // size = 4 - public int last_column; + // Struct @ rest.h:45:9 + // aarch64-apple-darwin (flecs/addons/rest.h) + // x86_64-pc-windows-msvc (flecs\addons\rest.h) + // x86_64-apple-darwin (flecs/addons/rest.h) + // x86_64-unknown-linux-gnu (flecs/addons/rest.h) + // aarch64-unknown-linux-gnu (flecs/addons/rest.h) + // aarch64-pc-windows-msvc (flecs\addons\rest.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct EcsRest + { + [FieldOffset(0)] // size = 2 + public ushort port; - [FieldOffset(268)] // size = 1 - public CBool empty_tables; + [FieldOffset(8)] // size = 8 + public CString ipaddr; - [FieldOffset(272)] // size = 8 - public ecs_id_t id; + [FieldOffset(16)] // size = 8 + public void* impl; + } - [FieldOffset(280)] // size = 4 - public int column; + // Struct @ api_types.h:144:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 280, Pack = 8)] + public struct ecs_filter_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_filter_t* filter; - [FieldOffset(288)] // size = 8 - public ecs_entity_t subject; + [FieldOffset(8)] // size = 4 + public ecs_iter_kind_t kind; - [FieldOffset(296)] // size = 4 - public ecs_size_t size; + [FieldOffset(16)] // size = 256 + public ecs_term_iter_t term_iter; - [FieldOffset(304)] // size = 8 - public void* ptr; + [FieldOffset(272)] // size = 4 + public int matches_left; + + [FieldOffset(276)] // size = 4 + public int pivot_term; } - // Struct @ flecs.h:610:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)] - public struct ecs_entity_desc_t + // Struct @ http.h:68:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 1072, Pack = 8)] + public struct ecs_http_request_t { - [FieldOffset(0)] // size = 4 - public int _canary; + [FieldOffset(0)] // size = 8 + public ulong id; - [FieldOffset(8)] // size = 8 - public ecs_entity_t entity; + [FieldOffset(8)] // size = 4 + public ecs_http_method_t method; [FieldOffset(16)] // size = 8 - public CString name; + public CString path; [FieldOffset(24)] // size = 8 - public CString sep; - - [FieldOffset(32)] // size = 8 - public CString root_sep; + public CString body; - [FieldOffset(40)] // size = 8 - public CString symbol; + [FieldOffset(32)] // size = 512 + public fixed byte _headers[512]; // ecs_http_key_value_t[32] - [FieldOffset(48)] // size = 1 - public CBool use_low_id; + public Span headers + { + get + { + fixed (ecs_http_request_t* @this = &this) + { + var pointer = &@this->_headers[0]; + var span = new Span(pointer, 32); + return span; + } + } + } - [FieldOffset(56)] // size = 256 - public fixed byte _add[256]; // ecs_id_t[32] + [FieldOffset(544)] // size = 512 + public fixed byte _params[512]; // ecs_http_key_value_t[32] - public Span add + public Span @params { get { - fixed (ecs_entity_desc_t* @this = &this) + fixed (ecs_http_request_t* @this = &this) { - var pointer = &@this->_add[0]; - var span = new Span(pointer, 32); + var pointer = &@this->_params[0]; + var span = new Span(pointer, 32); return span; } } } - [FieldOffset(312)] // size = 8 - public CString add_expr; + [FieldOffset(1056)] // size = 4 + public int header_count; + + [FieldOffset(1060)] // size = 4 + public int param_count; + + [FieldOffset(1064)] // size = 8 + public ecs_http_connection_t* conn; } - // Struct @ flecs.h:543:8 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 120, Pack = 8)] - public struct ecs_type_hooks_t + // Struct @ stats.h:28:16 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [StructLayout(LayoutKind.Explicit, Size = 960, Pack = 4)] + public struct ecs_counter_t + { + [FieldOffset(0)] // size = 720 + public ecs_gauge_t rate; + + [FieldOffset(720)] // size = 240 + public fixed byte _value[240]; // float[60] + + public Span value + { + get + { + fixed (ecs_counter_t* @this = &this) + { + var pointer = &@this->_value[0]; + var span = new Span(pointer, 60); + return span; + } + } + } + } + + // Struct @ meta.h:602:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_unit_desc_t { [FieldOffset(0)] // size = 8 - public ecs_xtor_t ctor; + public ecs_entity_t entity; [FieldOffset(8)] // size = 8 - public ecs_xtor_t dtor; + public CString symbol; [FieldOffset(16)] // size = 8 - public ecs_copy_t copy; + public ecs_entity_t quantity; [FieldOffset(24)] // size = 8 - public ecs_move_t move; + public ecs_entity_t @base; [FieldOffset(32)] // size = 8 - public ecs_copy_t copy_ctor; + public ecs_entity_t over; [FieldOffset(40)] // size = 8 - public ecs_move_t move_ctor; + public ecs_unit_translation_t translation; [FieldOffset(48)] // size = 8 - public ecs_move_t ctor_move_dtor; + public ecs_entity_t prefix; + } - [FieldOffset(56)] // size = 8 - public ecs_move_t move_dtor; + // Struct @ json.h:198:16 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [StructLayout(LayoutKind.Explicit, Size = 14, Pack = 1)] + public struct ecs_iter_to_json_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool serialize_term_ids; - [FieldOffset(64)] // size = 8 - public ecs_iter_action_t on_add; + [FieldOffset(1)] // size = 1 + public CBool serialize_ids; - [FieldOffset(72)] // size = 8 - public ecs_iter_action_t on_set; + [FieldOffset(2)] // size = 1 + public CBool serialize_sources; - [FieldOffset(80)] // size = 8 - public ecs_iter_action_t on_remove; + [FieldOffset(3)] // size = 1 + public CBool serialize_variables; - [FieldOffset(88)] // size = 8 - public void* ctx; + [FieldOffset(4)] // size = 1 + public CBool serialize_is_set; - [FieldOffset(96)] // size = 8 - public void* binding_ctx; + [FieldOffset(5)] // size = 1 + public CBool serialize_values; - [FieldOffset(104)] // size = 8 - public ecs_ctx_free_t ctx_free; + [FieldOffset(6)] // size = 1 + public CBool serialize_entities; - [FieldOffset(112)] // size = 8 - public ecs_ctx_free_t binding_ctx_free; - } + [FieldOffset(7)] // size = 1 + public CBool serialize_entity_labels; - // Struct @ api_types.h:153:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct ecs_query_iter_t - { - [FieldOffset(0)] // size = 8 - public ecs_query_t* query; + [FieldOffset(8)] // size = 1 + public CBool serialize_entity_ids; - [FieldOffset(8)] // size = 8 - public ecs_query_table_node_t* node; - - [FieldOffset(16)] // size = 8 - public ecs_query_table_node_t* prev; + [FieldOffset(9)] // size = 1 + public CBool serialize_variable_labels; - [FieldOffset(24)] // size = 4 - public int sparse_smallest; + [FieldOffset(10)] // size = 1 + public CBool serialize_variable_ids; - [FieldOffset(28)] // size = 4 - public int sparse_first; + [FieldOffset(11)] // size = 1 + public CBool serialize_colors; - [FieldOffset(32)] // size = 4 - public int bitset_first; + [FieldOffset(12)] // size = 1 + public CBool measure_eval_duration; - [FieldOffset(36)] // size = 4 - public int skip_count; + [FieldOffset(13)] // size = 1 + public CBool serialize_type_info; } - // Struct @ os_api.h:191:16 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [StructLayout(LayoutKind.Explicit, Size = 272, Pack = 8)] - public struct ecs_os_api_t + // Struct @ http.h:52:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_http_key_value_t { [FieldOffset(0)] // size = 8 - public ecs_os_api_init_t init_; + public CString key; [FieldOffset(8)] // size = 8 - public ecs_os_api_fini_t fini_; - - [FieldOffset(16)] // size = 8 - public ecs_os_api_malloc_t malloc_; - - [FieldOffset(24)] // size = 8 - public ecs_os_api_realloc_t realloc_; - - [FieldOffset(32)] // size = 8 - public ecs_os_api_calloc_t calloc_; - - [FieldOffset(40)] // size = 8 - public ecs_os_api_free_t free_; - - [FieldOffset(48)] // size = 8 - public ecs_os_api_strdup_t strdup_; - - [FieldOffset(56)] // size = 8 - public ecs_os_api_thread_new_t thread_new_; - - [FieldOffset(64)] // size = 8 - public ecs_os_api_thread_join_t thread_join_; + public CString value; + } - [FieldOffset(72)] // size = 8 - public ecs_os_api_ainc_t ainc_; + // Struct @ stats.h:134:16 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] + public struct ecs_pipeline_stats_t + { + [FieldOffset(0)] // size = 8 + public ecs_vector_t* systems; - [FieldOffset(80)] // size = 8 - public ecs_os_api_ainc_t adec_; + [FieldOffset(8)] // size = 72 + public ecs_map_t system_stats; - [FieldOffset(88)] // size = 8 - public ecs_os_api_mutex_new_t mutex_new_; + [FieldOffset(80)] // size = 4 + public int t; - [FieldOffset(96)] // size = 8 - public ecs_os_api_mutex_free_t mutex_free_; + [FieldOffset(84)] // size = 4 + public int system_count; - [FieldOffset(104)] // size = 8 - public ecs_os_api_mutex_lock_t mutex_lock_; + [FieldOffset(88)] // size = 4 + public int active_system_count; - [FieldOffset(112)] // size = 8 - public ecs_os_api_mutex_lock_t mutex_unlock_; + [FieldOffset(92)] // size = 4 + public int rebuild_count; + } - [FieldOffset(120)] // size = 8 - public ecs_os_api_cond_new_t cond_new_; + // Struct @ stats.h:108:16 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [StructLayout(LayoutKind.Explicit, Size = 2892, Pack = 4)] + public struct ecs_query_stats_t + { + [FieldOffset(0)] // size = 4 + public int first_; - [FieldOffset(128)] // size = 8 - public ecs_os_api_cond_free_t cond_free_; + [FieldOffset(4)] // size = 960 + public ecs_metric_t matched_table_count; - [FieldOffset(136)] // size = 8 - public ecs_os_api_cond_signal_t cond_signal_; + [FieldOffset(964)] // size = 960 + public ecs_metric_t matched_empty_table_count; - [FieldOffset(144)] // size = 8 - public ecs_os_api_cond_broadcast_t cond_broadcast_; + [FieldOffset(1924)] // size = 960 + public ecs_metric_t matched_entity_count; - [FieldOffset(152)] // size = 8 - public ecs_os_api_cond_wait_t cond_wait_; + [FieldOffset(2884)] // size = 4 + public int last_; - [FieldOffset(160)] // size = 8 - public ecs_os_api_sleep_t sleep_; + [FieldOffset(2888)] // size = 4 + public int t; + } - [FieldOffset(168)] // size = 8 - public ecs_os_api_now_t now_; + // Struct @ meta.h:589:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 1544, Pack = 8)] + public struct ecs_struct_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(176)] // size = 8 - public ecs_os_api_get_time_t get_time_; + [FieldOffset(8)] // size = 1536 + public fixed byte _members[1536]; // ecs_member_t[32] - [FieldOffset(184)] // size = 8 - public ecs_os_api_log_t log_; + public Span members + { + get + { + fixed (ecs_struct_desc_t* @this = &this) + { + var pointer = &@this->_members[0]; + var span = new Span(pointer, 32); + return span; + } + } + } + } - [FieldOffset(192)] // size = 8 - public ecs_os_api_abort_t abort_; + // Struct @ flecs.h:713:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 2312, Pack = 8)] + public struct ecs_query_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; - [FieldOffset(200)] // size = 8 - public ecs_os_api_dlopen_t dlopen_; + [FieldOffset(8)] // size = 2232 + public ecs_filter_desc_t filter; - [FieldOffset(208)] // size = 8 - public ecs_os_api_dlproc_t dlproc_; + [FieldOffset(2240)] // size = 8 + public ecs_entity_t order_by_component; - [FieldOffset(216)] // size = 8 - public ecs_os_api_dlclose_t dlclose_; + [FieldOffset(2248)] // size = 8 + public ecs_order_by_action_t order_by; - [FieldOffset(224)] // size = 8 - public ecs_os_api_module_to_path_t module_to_dl_; + [FieldOffset(2256)] // size = 8 + public ecs_sort_table_action_t sort_table; - [FieldOffset(232)] // size = 8 - public ecs_os_api_module_to_path_t module_to_etc_; + [FieldOffset(2264)] // size = 8 + public ecs_id_t group_by_id; - [FieldOffset(240)] // size = 4 - public int log_level_; + [FieldOffset(2272)] // size = 8 + public ecs_group_by_action_t group_by; - [FieldOffset(244)] // size = 4 - public int log_indent_; + [FieldOffset(2280)] // size = 8 + public void* group_by_ctx; - [FieldOffset(248)] // size = 4 - public int log_last_error_; + [FieldOffset(2288)] // size = 8 + public ecs_ctx_free_t group_by_ctx_free; - [FieldOffset(256)] // size = 8 - public long log_last_timestamp_; + [FieldOffset(2296)] // size = 8 + public ecs_query_t* parent; - [FieldOffset(264)] // size = 4 - public ecs_flags32_t flags_; + [FieldOffset(2304)] // size = 8 + public ecs_entity_t entity; } - // Struct @ api_types.h:179:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] - public struct ecs_rule_iter_t + // Struct @ hashmap.h:37:9 + // aarch64-apple-darwin (flecs/private/hashmap.h) + // x86_64-pc-windows-msvc (flecs\private\hashmap.h) + // x86_64-apple-darwin (flecs/private/hashmap.h) + // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) + // aarch64-pc-windows-msvc (flecs\private\hashmap.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct flecs_hashmap_result_t { [FieldOffset(0)] // size = 8 - public ecs_rule_t* rule; + public void* key; [FieldOffset(8)] // size = 8 - public ecs_var_t* registers; + public void* value; [FieldOffset(16)] // size = 8 - public ecs_rule_op_ctx_t* op_ctx; - - [FieldOffset(24)] // size = 8 - public int* columns; - - [FieldOffset(32)] // size = 8 - public ecs_entity_t entity; - - [FieldOffset(40)] // size = 1 - public CBool redo; - - [FieldOffset(44)] // size = 4 - public int op; - - [FieldOffset(48)] // size = 4 - public int sp; + public ulong hash; } - // Struct @ stats.h:134:16 + // Struct @ stats.h:39:16 // aarch64-apple-darwin (flecs/addons/stats.h) // x86_64-pc-windows-msvc (flecs\addons\stats.h) // x86_64-apple-darwin (flecs/addons/stats.h) // x86_64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-unknown-linux-gnu (flecs/addons/stats.h) // aarch64-pc-windows-msvc (flecs\addons\stats.h) - [StructLayout(LayoutKind.Explicit, Size = 96, Pack = 8)] - public struct ecs_pipeline_stats_t + [StructLayout(LayoutKind.Explicit, Size = 42252, Pack = 4)] + public struct ecs_world_stats_t { - [FieldOffset(0)] // size = 8 - public ecs_vector_t* systems; + [FieldOffset(0)] // size = 4 + public int first_; - [FieldOffset(8)] // size = 72 - public ecs_map_t system_stats; + [FieldOffset(4)] // size = 960 + public ecs_metric_t entity_count; - [FieldOffset(80)] // size = 4 - public int t; + [FieldOffset(964)] // size = 960 + public ecs_metric_t entity_not_alive_count; - [FieldOffset(84)] // size = 4 - public int system_count; + [FieldOffset(1924)] // size = 960 + public ecs_metric_t id_count; - [FieldOffset(88)] // size = 4 - public int active_system_count; + [FieldOffset(2884)] // size = 960 + public ecs_metric_t tag_id_count; - [FieldOffset(92)] // size = 4 - public int rebuild_count; - } + [FieldOffset(3844)] // size = 960 + public ecs_metric_t component_id_count; - // Struct @ http.h:104:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public struct ecs_http_server_desc_t - { - [FieldOffset(0)] // size = 8 - public ecs_http_reply_action_t callback; + [FieldOffset(4804)] // size = 960 + public ecs_metric_t pair_id_count; - [FieldOffset(8)] // size = 8 - public void* ctx; + [FieldOffset(5764)] // size = 960 + public ecs_metric_t wildcard_id_count; - [FieldOffset(16)] // size = 2 - public ushort port; + [FieldOffset(6724)] // size = 960 + public ecs_metric_t component_count; - [FieldOffset(24)] // size = 8 - public CString ipaddr; + [FieldOffset(7684)] // size = 960 + public ecs_metric_t id_create_count; + + [FieldOffset(8644)] // size = 960 + public ecs_metric_t id_delete_count; + + [FieldOffset(9604)] // size = 960 + public ecs_metric_t table_count; + + [FieldOffset(10564)] // size = 960 + public ecs_metric_t empty_table_count; + + [FieldOffset(11524)] // size = 960 + public ecs_metric_t tag_table_count; + + [FieldOffset(12484)] // size = 960 + public ecs_metric_t trivial_table_count; + + [FieldOffset(13444)] // size = 960 + public ecs_metric_t table_record_count; + + [FieldOffset(14404)] // size = 960 + public ecs_metric_t table_storage_count; + + [FieldOffset(15364)] // size = 960 + public ecs_metric_t table_create_count; + + [FieldOffset(16324)] // size = 960 + public ecs_metric_t table_delete_count; + + [FieldOffset(17284)] // size = 960 + public ecs_metric_t query_count; + + [FieldOffset(18244)] // size = 960 + public ecs_metric_t observer_count; + + [FieldOffset(19204)] // size = 960 + public ecs_metric_t system_count; + + [FieldOffset(20164)] // size = 960 + public ecs_metric_t new_count; + + [FieldOffset(21124)] // size = 960 + public ecs_metric_t bulk_new_count; + + [FieldOffset(22084)] // size = 960 + public ecs_metric_t delete_count; + + [FieldOffset(23044)] // size = 960 + public ecs_metric_t clear_count; + + [FieldOffset(24004)] // size = 960 + public ecs_metric_t add_count; + + [FieldOffset(24964)] // size = 960 + public ecs_metric_t remove_count; + + [FieldOffset(25924)] // size = 960 + public ecs_metric_t set_count; + + [FieldOffset(26884)] // size = 960 + public ecs_metric_t discard_count; + + [FieldOffset(27844)] // size = 960 + public ecs_metric_t world_time_total_raw; + + [FieldOffset(28804)] // size = 960 + public ecs_metric_t world_time_total; + + [FieldOffset(29764)] // size = 960 + public ecs_metric_t frame_time_total; + + [FieldOffset(30724)] // size = 960 + public ecs_metric_t system_time_total; + + [FieldOffset(31684)] // size = 960 + public ecs_metric_t merge_time_total; + + [FieldOffset(32644)] // size = 960 + public ecs_metric_t fps; + + [FieldOffset(33604)] // size = 960 + public ecs_metric_t delta_time; + + [FieldOffset(34564)] // size = 960 + public ecs_metric_t frame_count_total; + + [FieldOffset(35524)] // size = 960 + public ecs_metric_t merge_count_total; + + [FieldOffset(36484)] // size = 960 + public ecs_metric_t pipeline_build_count_total; + + [FieldOffset(37444)] // size = 960 + public ecs_metric_t systems_ran_frame; + + [FieldOffset(38404)] // size = 960 + public ecs_metric_t alloc_count; + + [FieldOffset(39364)] // size = 960 + public ecs_metric_t realloc_count; + + [FieldOffset(40324)] // size = 960 + public ecs_metric_t free_count; + + [FieldOffset(41284)] // size = 960 + public ecs_metric_t outstanding_alloc_count; + + [FieldOffset(42244)] // size = 4 + public int last_; + + [FieldOffset(42248)] // size = 4 + public int t; } - // Struct @ api_types.h:144:16 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 336, Pack = 8)] - public struct ecs_filter_iter_t + // Struct @ map.h:67:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] + public struct ecs_map_t { [FieldOffset(0)] // size = 8 - public ecs_filter_t* filter; + public ecs_bucket_t* buckets; - [FieldOffset(8)] // size = 4 - public ecs_iter_kind_t kind; + [FieldOffset(8)] // size = 8 + public ecs_bucket_t* buckets_end; - [FieldOffset(16)] // size = 312 - public ecs_term_iter_t term_iter; + [FieldOffset(16)] // size = 2 + public short elem_size; - [FieldOffset(328)] // size = 4 - public int matches_left; + [FieldOffset(18)] // size = 1 + public byte bucket_shift; - [FieldOffset(332)] // size = 4 - public int pivot_term; + [FieldOffset(20)] // size = 4 + public int bucket_count; + + [FieldOffset(24)] // size = 4 + public int count; + + [FieldOffset(32)] // size = 40 + public ecs_block_allocator_t allocator; } - // Struct @ pipeline.h:51:16 + // Struct @ pipeline.h:63:16 // aarch64-apple-darwin (flecs/addons/pipeline.h) // x86_64-pc-windows-msvc (flecs\addons\pipeline.h) // x86_64-apple-darwin (flecs/addons/pipeline.h) // x86_64-unknown-linux-gnu (flecs/addons/pipeline.h) // aarch64-unknown-linux-gnu (flecs/addons/pipeline.h) // aarch64-pc-windows-msvc (flecs\addons\pipeline.h) - [StructLayout(LayoutKind.Explicit, Size = 3528, Pack = 8)] + [StructLayout(LayoutKind.Explicit, Size = 2320, Pack = 8)] public struct ecs_pipeline_desc_t { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; - [FieldOffset(320)] // size = 3208 + [FieldOffset(8)] // size = 2312 public ecs_query_desc_t query; } - // Struct @ hashmap.h:31:9 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [StructLayout(LayoutKind.Explicit, Size = 40, Pack = 8)] - public struct flecs_hashmap_iter_t + // Struct @ flecs.h:853:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 176, Pack = 8)] + public struct ecs_world_info_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t last_component_id; + + [FieldOffset(8)] // size = 8 + public ecs_entity_t last_id; + + [FieldOffset(16)] // size = 8 + public ecs_entity_t min_id; + + [FieldOffset(24)] // size = 8 + public ecs_entity_t max_id; + + [FieldOffset(32)] // size = 4 + public float delta_time_raw; + + [FieldOffset(36)] // size = 4 + public float delta_time; + + [FieldOffset(40)] // size = 4 + public float time_scale; + + [FieldOffset(44)] // size = 4 + public float target_fps; + + [FieldOffset(48)] // size = 4 + public float frame_time_total; + + [FieldOffset(52)] // size = 4 + public float system_time_total; + + [FieldOffset(56)] // size = 4 + public float merge_time_total; + + [FieldOffset(60)] // size = 4 + public float world_time_total; + + [FieldOffset(64)] // size = 4 + public float world_time_total_raw; + + [FieldOffset(68)] // size = 4 + public int frame_count_total; + + [FieldOffset(72)] // size = 4 + public int merge_count_total; + + [FieldOffset(76)] // size = 4 + public int id_create_total; + + [FieldOffset(80)] // size = 4 + public int id_delete_total; + + [FieldOffset(84)] // size = 4 + public int table_create_total; + + [FieldOffset(88)] // size = 4 + public int table_delete_total; + + [FieldOffset(92)] // size = 4 + public int pipeline_build_count_total; + + [FieldOffset(96)] // size = 4 + public int systems_ran_frame; + + [FieldOffset(100)] // size = 4 + public int id_count; + + [FieldOffset(104)] // size = 4 + public int tag_id_count; + + [FieldOffset(108)] // size = 4 + public int component_id_count; + + [FieldOffset(112)] // size = 4 + public int pair_id_count; + + [FieldOffset(116)] // size = 4 + public int wildcard_id_count; + + [FieldOffset(120)] // size = 4 + public int table_count; + + [FieldOffset(124)] // size = 4 + public int tag_table_count; + + [FieldOffset(128)] // size = 4 + public int trivial_table_count; + + [FieldOffset(132)] // size = 4 + public int empty_table_count; + + [FieldOffset(136)] // size = 4 + public int table_record_count; + + [FieldOffset(140)] // size = 4 + public int table_storage_count; + + [FieldOffset(144)] // size = 4 + public int new_count; + + [FieldOffset(148)] // size = 4 + public int bulk_new_count; + + [FieldOffset(152)] // size = 4 + public int delete_count; + + [FieldOffset(156)] // size = 4 + public int clear_count; + + [FieldOffset(160)] // size = 4 + public int add_count; + + [FieldOffset(164)] // size = 4 + public int remove_count; + + [FieldOffset(168)] // size = 4 + public int set_count; + + [FieldOffset(172)] // size = 4 + public int discard_count; + } + + // Struct @ meta.h:519:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] + public struct ecs_primitive_desc_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(8)] // size = 4 + public ecs_primitive_kind_t kind; + } + + // Struct @ flecs.h:669:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 152, Pack = 8)] + public struct ecs_component_desc_t + { + [FieldOffset(0)] // size = 4 + public int _canary; + + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(16)] // size = 136 + public ecs_type_info_t type; + } + + // Struct @ json.h:148:16 + // aarch64-apple-darwin (flecs/addons/json.h) + // x86_64-pc-windows-msvc (flecs\addons\json.h) + // x86_64-apple-darwin (flecs/addons/json.h) + // x86_64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-unknown-linux-gnu (flecs/addons/json.h) + // aarch64-pc-windows-msvc (flecs\addons\json.h) + [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 1)] + public struct ecs_entity_to_json_desc_t + { + [FieldOffset(0)] // size = 1 + public CBool serialize_path; + + [FieldOffset(1)] // size = 1 + public CBool serialize_meta_ids; + + [FieldOffset(2)] // size = 1 + public CBool serialize_label; + + [FieldOffset(3)] // size = 1 + public CBool serialize_brief; + + [FieldOffset(4)] // size = 1 + public CBool serialize_link; + + [FieldOffset(5)] // size = 1 + public CBool serialize_color; + + [FieldOffset(6)] // size = 1 + public CBool serialize_id_labels; + + [FieldOffset(7)] // size = 1 + public CBool serialize_base; + + [FieldOffset(8)] // size = 1 + public CBool serialize_private; + + [FieldOffset(9)] // size = 1 + public CBool serialize_hidden; + + [FieldOffset(10)] // size = 1 + public CBool serialize_values; + + [FieldOffset(11)] // size = 1 + public CBool serialize_type_info; + } + + // Union @ stats.h:34:15 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [StructLayout(LayoutKind.Explicit, Size = 960, Pack = 4)] + public struct ecs_metric_t + { + [FieldOffset(0)] // size = 720 + public ecs_gauge_t gauge; + + [FieldOffset(0)] // size = 960 + public ecs_counter_t counter; + } + + // Struct @ api_types.h:112:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 256, Pack = 8)] + public struct ecs_term_iter_t { - [FieldOffset(0)] // size = 24 - public ecs_map_iter_t it; + [FieldOffset(0)] // size = 136 + public ecs_term_t term; - [FieldOffset(24)] // size = 8 - public ecs_hm_bucket_t* bucket; + [FieldOffset(136)] // size = 8 + public ecs_id_record_t* self_index; - [FieldOffset(32)] // size = 4 - public int index; - } + [FieldOffset(144)] // size = 8 + public ecs_id_record_t* set_index; - // Struct @ meta.h:596:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 368, Pack = 8)] - public struct ecs_unit_desc_t - { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(152)] // size = 8 + public ecs_id_record_t* cur; - [FieldOffset(320)] // size = 8 - public CString symbol; + [FieldOffset(160)] // size = 24 + public ecs_table_cache_iter_t it; - [FieldOffset(328)] // size = 8 - public ecs_entity_t quantity; + [FieldOffset(184)] // size = 4 + public int index; - [FieldOffset(336)] // size = 8 - public ecs_entity_t @base; + [FieldOffset(192)] // size = 8 + public ecs_table_t* table; - [FieldOffset(344)] // size = 8 - public ecs_entity_t over; + [FieldOffset(200)] // size = 4 + public int cur_match; - [FieldOffset(352)] // size = 8 - public ecs_unit_translation_t translation; + [FieldOffset(204)] // size = 4 + public int match_count; - [FieldOffset(360)] // size = 8 - public ecs_entity_t prefix; - } + [FieldOffset(208)] // size = 4 + public int last_column; - // Struct @ http.h:83:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Explicit, Size = 2232, Pack = 8)] - public struct ecs_http_reply_t - { - [FieldOffset(0)] // size = 4 - public int code; + [FieldOffset(212)] // size = 1 + public CBool empty_tables; - [FieldOffset(8)] // size = 1104 - public ecs_strbuf_t body; + [FieldOffset(216)] // size = 8 + public ecs_id_t id; - [FieldOffset(1112)] // size = 8 - public CString status; + [FieldOffset(224)] // size = 4 + public int column; - [FieldOffset(1120)] // size = 8 - public CString content_type; + [FieldOffset(232)] // size = 8 + public ecs_entity_t subject; - [FieldOffset(1128)] // size = 1104 - public ecs_strbuf_t headers; + [FieldOffset(240)] // size = 4 + public ecs_size_t size; + + [FieldOffset(248)] // size = 8 + public void* ptr; } - // Struct @ map.h:39:16 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_bucket_entry_t + // Struct @ monitor.h:42:9 + // aarch64-apple-darwin (flecs/addons/monitor.h) + // x86_64-pc-windows-msvc (flecs\addons\monitor.h) + // x86_64-apple-darwin (flecs/addons/monitor.h) + // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-pc-windows-msvc (flecs\addons\monitor.h) + [StructLayout(LayoutKind.Explicit, Size = 42260, Pack = 4)] + public struct EcsWorldStats { [FieldOffset(0)] // size = 8 - public ecs_bucket_entry_t* next; + public EcsStatsHeader hdr; - [FieldOffset(8)] // size = 8 - public ecs_map_key_t key; + [FieldOffset(8)] // size = 42252 + public ecs_world_stats_t stats; } - // Struct @ http.h:43:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Explicit, Size = 160, Pack = 8)] - public struct ecs_http_connection_t + // Struct @ stats.h:21:16 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + [StructLayout(LayoutKind.Explicit, Size = 720, Pack = 4)] + public struct ecs_gauge_t { - [FieldOffset(0)] // size = 8 - public ulong id; + [FieldOffset(0)] // size = 240 + public fixed byte _avg[240]; // float[60] - [FieldOffset(8)] // size = 8 - public ecs_http_server_t* server; + public Span avg + { + get + { + fixed (ecs_gauge_t* @this = &this) + { + var pointer = &@this->_avg[0]; + var span = new Span(pointer, 60); + return span; + } + } + } - [FieldOffset(16)] // size = 128 - public fixed byte _host[128]; // char[128] + [FieldOffset(240)] // size = 240 + public fixed byte _min[240]; // float[60] - public string host + public Span min { get { - fixed (ecs_http_connection_t* @this = &this) + fixed (ecs_gauge_t* @this = &this) { - var pointer = &@this->_host[0]; - var cString = new CString(pointer); - return Runtime.CStrings.String(cString); + var pointer = &@this->_min[0]; + var span = new Span(pointer, 60); + return span; } } } - [FieldOffset(144)] // size = 16 - public fixed byte _port[16]; // char[16] + [FieldOffset(480)] // size = 240 + public fixed byte _max[240]; // float[60] - public string port + public Span max { get { - fixed (ecs_http_connection_t* @this = &this) + fixed (ecs_gauge_t* @this = &this) { - var pointer = &@this->_port[0]; - var cString = new CString(pointer); - return Runtime.CStrings.String(cString); + var pointer = &@this->_max[0]; + var span = new Span(pointer, 60); + return span; } } } } - // Struct @ meta.h:346:16 + // Struct @ meta.h:546:16 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) // x86_64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 2080, Pack = 8)] - public struct ecs_meta_cursor_t + [StructLayout(LayoutKind.Explicit, Size = 776, Pack = 8)] + public struct ecs_bitmask_desc_t { [FieldOffset(0)] // size = 8 - public ecs_world_t* world; + public ecs_entity_t entity; - [FieldOffset(8)] // size = 2048 - public fixed byte _scope[2048]; // ecs_meta_scope_t[32] + [FieldOffset(8)] // size = 768 + public fixed byte _constants[768]; // ecs_bitmask_constant_t[32] - public Span scope + public Span constants { get { - fixed (ecs_meta_cursor_t* @this = &this) + fixed (ecs_bitmask_desc_t* @this = &this) { - var pointer = &@this->_scope[0]; - var span = new Span(pointer, 32); + var pointer = &@this->_constants[0]; + var span = new Span(pointer, 32); return span; } } } - - [FieldOffset(2056)] // size = 4 - public int depth; - - [FieldOffset(2060)] // size = 1 - public CBool valid; - - [FieldOffset(2061)] // size = 1 - public CBool is_primitive_scope; - - [FieldOffset(2064)] // size = 8 - public FnPtr_Ecs_world_tPtr_CString_VoidPtr_Ecs_entity_t lookup_action; - - [FieldOffset(2072)] // size = 8 - public void* lookup_ctx; } - // Struct @ api_types.h:61:8 + // Struct @ api_types.h:179:16 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) // x86_64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_record_t + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_rule_iter_t { [FieldOffset(0)] // size = 8 - public ecs_table_t* table; + public ecs_rule_t* rule; - [FieldOffset(8)] // size = 4 - public uint row; - } + [FieldOffset(8)] // size = 8 + public ecs_var_t* registers; - // Struct @ flecs.h:170:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public struct ecs_type_t - { - [FieldOffset(0)] // size = 8 - public ecs_id_t* array; + [FieldOffset(16)] // size = 8 + public ecs_rule_op_ctx_t* op_ctx; - [FieldOffset(8)] // size = 4 - public int count; + [FieldOffset(24)] // size = 8 + public int* columns; + + [FieldOffset(32)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(40)] // size = 1 + public CBool redo; + + [FieldOffset(44)] // size = 4 + public int op; + + [FieldOffset(48)] // size = 4 + public int sp; } - // Struct @ flecs.h:3446:16 + // Struct @ flecs.h:391:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 72, Pack = 8)] - public struct ecs_event_desc_t + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_iterable_t { [FieldOffset(0)] // size = 8 - public ecs_entity_t @event; + public ecs_iter_init_action_t init; + } + + // Struct @ meta.h:331:16 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 8)] + public struct ecs_meta_scope_t + { + [FieldOffset(0)] // size = 8 + public ecs_entity_t type; [FieldOffset(8)] // size = 8 - public ecs_type_t* ids; + public ecs_meta_type_op_t* ops; - [FieldOffset(16)] // size = 8 - public ecs_table_t* table; + [FieldOffset(16)] // size = 4 + public int op_count; - [FieldOffset(24)] // size = 8 - public ecs_table_t* other_table; + [FieldOffset(20)] // size = 4 + public int op_cur; - [FieldOffset(32)] // size = 4 - public int offset; + [FieldOffset(24)] // size = 4 + public int elem_cur; - [FieldOffset(36)] // size = 4 - public int count; + [FieldOffset(32)] // size = 8 + public void* ptr; [FieldOffset(40)] // size = 8 - public void* param; + public EcsComponent* comp; [FieldOffset(48)] // size = 8 - public ecs_poly_t* observable; + public ecs_vector_t** vector; [FieldOffset(56)] // size = 1 - public CBool table_event; + public CBool is_collection; - [FieldOffset(64)] // size = 8 - public ecs_entity_t relation; + [FieldOffset(57)] // size = 1 + public CBool is_inline_array; } - // Struct @ hashmap.h:37:9 - // aarch64-apple-darwin (flecs/private/hashmap.h) - // x86_64-pc-windows-msvc (flecs\private\hashmap.h) - // x86_64-apple-darwin (flecs/private/hashmap.h) - // x86_64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-unknown-linux-gnu (flecs/private/hashmap.h) - // aarch64-pc-windows-msvc (flecs\private\hashmap.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct flecs_hashmap_result_t + // Struct @ flecs.h:434:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] + public struct ecs_term_id_t { [FieldOffset(0)] // size = 8 - public void* key; + public ecs_entity_t id; [FieldOffset(8)] // size = 8 - public void* value; - - [FieldOffset(16)] // size = 8 - public ulong hash; - } - - // Struct @ meta.h:222:16 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public struct ecs_bitmask_constant_t - { - [FieldOffset(0)] // size = 8 public CString name; - [FieldOffset(8)] // size = 4 - public ecs_flags32_t value; - [FieldOffset(16)] // size = 8 - public ecs_entity_t constant; + public ecs_entity_t trav; + + [FieldOffset(24)] // size = 4 + public ecs_flags32_t flags; } // Struct @ api_types.h:100:16 @@ -8419,81 +8325,180 @@ public struct ecs_worker_iter_t public int count; } - // Struct @ strbuf.h:37:16 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - [StructLayout(LayoutKind.Explicit, Size = 536, Pack = 8)] - public struct ecs_strbuf_element_embedded + // Struct @ monitor.h:47:9 + // aarch64-apple-darwin (flecs/addons/monitor.h) + // x86_64-pc-windows-msvc (flecs\addons\monitor.h) + // x86_64-apple-darwin (flecs/addons/monitor.h) + // x86_64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-unknown-linux-gnu (flecs/addons/monitor.h) + // aarch64-pc-windows-msvc (flecs\addons\monitor.h) + [StructLayout(LayoutKind.Explicit, Size = 104, Pack = 8)] + public struct EcsPipelineStats { - [FieldOffset(0)] // size = 24 - public ecs_strbuf_element super; + [FieldOffset(0)] // size = 8 + public EcsStatsHeader hdr; - [FieldOffset(24)] // size = 512 - public fixed byte _buf[512]; // char[512] + [FieldOffset(8)] // size = 96 + public ecs_pipeline_stats_t stats; + } - public string buf - { - get - { - fixed (ecs_strbuf_element_embedded* @this = &this) - { - var pointer = &@this->_buf[0]; - var cString = new CString(pointer); - return Runtime.CStrings.String(cString); - } - } - } + // Struct @ api_types.h:93:16 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] + public struct ecs_page_iter_t + { + [FieldOffset(0)] // size = 4 + public int offset; + + [FieldOffset(4)] // size = 4 + public int limit; + + [FieldOffset(8)] // size = 4 + public int remaining; } - // Struct @ meta.h:630:16 + // Struct @ meta.h:310:16 // aarch64-apple-darwin (flecs/addons/meta.h) // x86_64-pc-windows-msvc (flecs\addons\meta.h) // x86_64-apple-darwin (flecs/addons/meta.h) // x86_64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-unknown-linux-gnu (flecs/addons/meta.h) // aarch64-pc-windows-msvc (flecs\addons\meta.h) - [StructLayout(LayoutKind.Explicit, Size = 336, Pack = 8)] - public struct ecs_unit_prefix_desc_t + [StructLayout(LayoutKind.Explicit, Size = 56, Pack = 8)] + public struct ecs_meta_type_op_t { - [FieldOffset(0)] // size = 320 - public ecs_entity_desc_t entity; + [FieldOffset(0)] // size = 4 + public ecs_meta_type_op_kind_t kind; - [FieldOffset(320)] // size = 8 - public CString symbol; + [FieldOffset(4)] // size = 4 + public ecs_size_t offset; - [FieldOffset(328)] // size = 8 - public ecs_unit_translation_t translation; + [FieldOffset(8)] // size = 4 + public int count; + + [FieldOffset(16)] // size = 8 + public CString name; + + [FieldOffset(24)] // size = 4 + public int op_count; + + [FieldOffset(28)] // size = 4 + public ecs_size_t size; + + [FieldOffset(32)] // size = 8 + public ecs_entity_t type; + + [FieldOffset(40)] // size = 8 + public ecs_entity_t unit; + + [FieldOffset(48)] // size = 8 + public ecs_hashmap_t* members; } - // OpaqueType @ flecs.h:191:27 + // Struct @ map.h:77:16 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) + [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] + public struct ecs_map_iter_t + { + [FieldOffset(0)] // size = 8 + public ecs_map_t* map; + + [FieldOffset(8)] // size = 8 + public ecs_bucket_t* bucket; + + [FieldOffset(16)] // size = 8 + public ecs_bucket_entry_t* entry; + } + + // Struct @ flecs.h:762:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_t + [StructLayout(LayoutKind.Explicit, Size = 2392, Pack = 8)] + public struct ecs_observer_desc_t { + [FieldOffset(0)] // size = 4 + public int _canary; + + [FieldOffset(8)] // size = 8 + public ecs_entity_t entity; + + [FieldOffset(16)] // size = 2232 + public ecs_filter_desc_t filter; + + [FieldOffset(2248)] // size = 64 + public fixed byte _events[64]; // ecs_entity_t[8] + + public Span events + { + get + { + fixed (ecs_observer_desc_t* @this = &this) + { + var pointer = &@this->_events[0]; + var span = new Span(pointer, 8); + return span; + } + } + } + + [FieldOffset(2312)] // size = 1 + public CBool yield_existing; + + [FieldOffset(2320)] // size = 8 + public ecs_iter_action_t callback; + + [FieldOffset(2328)] // size = 8 + public ecs_run_action_t run; + + [FieldOffset(2336)] // size = 8 + public void* ctx; + + [FieldOffset(2344)] // size = 8 + public void* binding_ctx; + + [FieldOffset(2352)] // size = 8 + public ecs_ctx_free_t ctx_free; + + [FieldOffset(2360)] // size = 8 + public ecs_ctx_free_t binding_ctx_free; + + [FieldOffset(2368)] // size = 8 + public ecs_poly_t* observable; + + [FieldOffset(2376)] // size = 8 + public int* last_event_id; + + [FieldOffset(2384)] // size = 4 + public int term_index; } - // OpaqueType @ snapshot.h:23:31 - // aarch64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) - // x86_64-apple-darwin (flecs/addons/snapshot.h) - // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) - // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) + // OpaqueType @ api_types.h:43:32 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) [StructLayout(LayoutKind.Sequential)] - public struct ecs_snapshot_t + public struct ecs_id_record_t { } - // OpaqueType @ flecs.h:179:28 + // OpaqueType @ flecs.h:191:27 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8501,7 +8506,31 @@ public struct ecs_snapshot_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_t + public struct ecs_rule_t + { + } + + // OpaqueType @ http.h:40:34 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Sequential)] + public struct ecs_http_server_t + { + } + + // OpaqueType @ api_types.h:107:12 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Sequential)] + public struct ecs_table_cache_hdr_t { } @@ -8517,7 +8546,7 @@ public struct ecs_world_t { } - // OpaqueType @ flecs.h:212:29 + // OpaqueType @ flecs.h:185:28 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8525,23 +8554,23 @@ public struct ecs_world_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct ecs_mixins_t + public struct ecs_query_t { } - // OpaqueType @ api_types.h:46:39 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) + // OpaqueType @ flecs.h:160:14 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct ecs_query_table_node_t + public struct ecs_poly_t { } - // OpaqueType @ api_types.h:43:32 + // OpaqueType @ api_types.h:182:12 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) @@ -8549,19 +8578,7 @@ public struct ecs_query_table_node_t // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) [StructLayout(LayoutKind.Sequential)] - public struct ecs_id_record_t - { - } - - // OpaqueType @ http.h:40:34 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - [StructLayout(LayoutKind.Sequential)] - public struct ecs_http_server_t + public struct ecs_rule_op_ctx_t { } @@ -8577,7 +8594,7 @@ public struct ecs_vector_t { } - // OpaqueType @ api_types.h:49:8 + // OpaqueType @ api_types.h:46:39 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) @@ -8585,11 +8602,11 @@ public struct ecs_vector_t // aarch64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_record_t + public struct ecs_query_table_node_t { } - // OpaqueType @ flecs.h:185:28 + // OpaqueType @ flecs.h:212:29 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8597,11 +8614,23 @@ public struct ecs_table_record_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct ecs_query_t + public struct ecs_mixins_t { } - // OpaqueType @ flecs.h:160:14 + // OpaqueType @ api_types.h:49:8 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + [StructLayout(LayoutKind.Sequential)] + public struct ecs_table_record_t + { + } + + // OpaqueType @ flecs.h:179:28 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8609,52 +8638,57 @@ public struct ecs_query_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Sequential)] - public struct ecs_poly_t + public struct ecs_table_t { } - // OpaqueType @ api_types.h:107:12 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) + // OpaqueType @ snapshot.h:23:31 + // aarch64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-pc-windows-msvc (flecs\addons\snapshot.h) + // x86_64-apple-darwin (flecs/addons/snapshot.h) + // x86_64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-unknown-linux-gnu (flecs/addons/snapshot.h) + // aarch64-pc-windows-msvc (flecs\addons\snapshot.h) [StructLayout(LayoutKind.Sequential)] - public struct ecs_table_cache_hdr_t + public struct ecs_snapshot_t { } - // OpaqueType @ api_types.h:182:12 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - [StructLayout(LayoutKind.Sequential)] - public struct ecs_rule_op_ctx_t + // TypeAlias @ os_api.h:44:19 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_cond_t { + [FieldOffset(0)] // size = 8, padding = 0 + public UIntPtr Data; + + public static implicit operator UIntPtr(ecs_os_cond_t data) => data.Data; + public static implicit operator ecs_os_cond_t(UIntPtr data) => new() { Data = data }; } - // TypeAlias @ flecs.h:164:18 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // TypeAlias @ os_api.h:75:9 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_id_t + public struct ecs_os_api_calloc_t { [FieldOffset(0)] // size = 8, padding = 0 - public ulong Data; + public FnPtr_Ecs_size_t_VoidPtr Data; - public static implicit operator ulong(ecs_id_t data) => data.Data; - public static implicit operator ecs_id_t(ulong data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_size_t_VoidPtr(ecs_os_api_calloc_t data) => data.Data; + public static implicit operator ecs_os_api_calloc_t(FnPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; } - // TypeAlias @ flecs.h:365:16 + // TypeAlias @ flecs.h:352:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8662,16 +8696,16 @@ public struct ecs_id_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_move_t + public struct ecs_xtor_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; + public FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_move_t data) => data.Data; - public static implicit operator ecs_move_t(FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_xtor_t data) => data.Data; + public static implicit operator ecs_xtor_t(FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:66:8 + // TypeAlias @ os_api.h:43:19 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8679,33 +8713,33 @@ public struct ecs_move_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_free_t + public struct ecs_os_thread_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_Void Data; + public UIntPtr Data; - public static implicit operator FnPtr_VoidPtr_Void(ecs_os_api_free_t data) => data.Data; - public static implicit operator ecs_os_api_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; + public static implicit operator UIntPtr(ecs_os_thread_t data) => data.Data; + public static implicit operator ecs_os_thread_t(UIntPtr data) => new() { Data = data }; } - // TypeAlias @ app.h:25:14 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) + // TypeAlias @ os_api.h:45:19 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_app_init_action_t + public struct ecs_os_mutex_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Int Data; + public UIntPtr Data; - public static implicit operator FnPtr_Ecs_world_tPtr_Int(ecs_app_init_action_t data) => data.Data; - public static implicit operator ecs_app_init_action_t(FnPtr_Ecs_world_tPtr_Int data) => new() { Data = data }; + public static implicit operator UIntPtr(ecs_os_mutex_t data) => data.Data; + public static implicit operator ecs_os_mutex_t(UIntPtr data) => new() { Data = data }; } - // TypeAlias @ os_api.h:45:19 + // TypeAlias @ os_api.h:50:16 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8713,16 +8747,33 @@ public struct ecs_app_init_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_mutex_t + public struct ecs_os_proc_t { [FieldOffset(0)] // size = 8, padding = 0 - public UIntPtr Data; + public FnPtr_Void Data; - public static implicit operator UIntPtr(ecs_os_mutex_t data) => data.Data; - public static implicit operator ecs_os_mutex_t(UIntPtr data) => new() { Data = data }; + public static implicit operator FnPtr_Void(ecs_os_proc_t data) => data.Data; + public static implicit operator ecs_os_proc_t(FnPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:137:8 + // TypeAlias @ flecs.h:312:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_sort_table_action_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void Data; + + public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void(ecs_sort_table_action_t data) => data.Data; + public static implicit operator ecs_sort_table_action_t(FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void data) => new() { Data = data }; + } + + // TypeAlias @ os_api.h:121:17 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8730,16 +8781,33 @@ public struct ecs_os_mutex_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_wait_t + public struct ecs_os_api_cond_new_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void Data; + public FnPtr_Ecs_os_cond_t Data; - public static implicit operator FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void(ecs_os_api_cond_wait_t data) => data.Data; - public static implicit operator ecs_os_api_cond_wait_t(FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_cond_t(ecs_os_api_cond_new_t data) => data.Data; + public static implicit operator ecs_os_api_cond_new_t(FnPtr_Ecs_os_cond_t data) => new() { Data = data }; } - // TypeAlias @ os_api.h:155:12 + // TypeAlias @ flecs.h:257:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_run_action_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_iter_tPtr_Void Data; + + public static implicit operator FnPtr_Ecs_iter_tPtr_Void(ecs_run_action_t data) => data.Data; + public static implicit operator ecs_run_action_t(FnPtr_Ecs_iter_tPtr_Void data) => new() { Data = data }; + } + + // TypeAlias @ os_api.h:142:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8747,16 +8815,16 @@ public struct ecs_os_api_cond_wait_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_now_t + public struct ecs_os_api_sleep_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ulong Data; + public FnPtr_Int_Int_Void Data; - public static implicit operator FnPtr_Ulong(ecs_os_api_now_t data) => data.Data; - public static implicit operator ecs_os_api_now_t(FnPtr_Ulong data) => new() { Data = data }; + public static implicit operator FnPtr_Int_Int_Void(ecs_os_api_sleep_t data) => data.Data; + public static implicit operator ecs_os_api_sleep_t(FnPtr_Int_Int_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:181:8 + // TypeAlias @ os_api.h:133:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8764,16 +8832,33 @@ public struct ecs_os_api_now_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_dlclose_t + public struct ecs_os_api_cond_broadcast_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_dl_t_Void Data; + public FnPtr_Ecs_os_cond_t_Void Data; - public static implicit operator FnPtr_Ecs_os_dl_t_Void(ecs_os_api_dlclose_t data) => data.Data; - public static implicit operator ecs_os_api_dlclose_t(FnPtr_Ecs_os_dl_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_cond_t_Void(ecs_os_api_cond_broadcast_t data) => data.Data; + public static implicit operator ecs_os_api_cond_broadcast_t(FnPtr_Ecs_os_cond_t_Void data) => new() { Data = data }; } - // TypeAlias @ flecs.h:312:16 + // TypeAlias @ http.h:98:16 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_http_reply_action_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool Data; + + public static implicit operator FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool(ecs_http_reply_action_t data) => data.Data; + public static implicit operator ecs_http_reply_action_t(FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool data) => new() { Data = data }; + } + + // TypeAlias @ flecs.h:167:18 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -8781,33 +8866,33 @@ public struct ecs_os_api_dlclose_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_sort_table_action_t + public struct ecs_entity_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void Data; + public ecs_id_t Data; - public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void(ecs_sort_table_action_t data) => data.Data; - public static implicit operator ecs_sort_table_action_t(FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_entity_tPtr_VoidPtr_Int_Int_Int_Ecs_order_by_action_t_Void data) => new() { Data = data }; + public static implicit operator ecs_id_t(ecs_entity_t data) => data.Data; + public static implicit operator ecs_entity_t(ecs_id_t data) => new() { Data = data }; } - // TypeAlias @ os_api.h:185:9 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // TypeAlias @ flecs.h:365:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_module_to_path_t + public struct ecs_move_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_CString_CString Data; + public FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; - public static implicit operator FnPtr_CString_CString(ecs_os_api_module_to_path_t data) => data.Data; - public static implicit operator ecs_os_api_module_to_path_t(FnPtr_CString_CString data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_move_t data) => data.Data; + public static implicit operator ecs_move_t(FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ api_defines.h:103:17 + // TypeAlias @ api_defines.h:99:18 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) @@ -8815,33 +8900,33 @@ public struct ecs_os_api_module_to_path_t // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] - public struct ecs_size_t + public struct ecs_flags32_t { [FieldOffset(0)] // size = 4, padding = 0 - public int Data; + public uint Data; - public static implicit operator int(ecs_size_t data) => data.Data; - public static implicit operator ecs_size_t(int data) => new() { Data = data }; + public static implicit operator uint(ecs_flags32_t data) => data.Data; + public static implicit operator ecs_flags32_t(uint data) => new() { Data = data }; } - // TypeAlias @ flecs.h:323:20 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // TypeAlias @ os_api.h:88:19 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_group_by_action_t + public struct ecs_os_api_thread_new_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong Data; + public FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t Data; - public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong(ecs_group_by_action_t data) => data.Data; - public static implicit operator ecs_group_by_action_t(FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t(ecs_os_api_thread_new_t data) => data.Data; + public static implicit operator ecs_os_api_thread_new_t(FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t data) => new() { Data = data }; } - // TypeAlias @ os_api.h:142:8 + // TypeAlias @ os_api.h:116:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8849,33 +8934,33 @@ public struct ecs_group_by_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_sleep_t + public struct ecs_os_api_mutex_free_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Int_Int_Void Data; + public FnPtr_Ecs_os_mutex_t_Void Data; - public static implicit operator FnPtr_Int_Int_Void(ecs_os_api_sleep_t data) => data.Data; - public static implicit operator ecs_os_api_sleep_t(FnPtr_Int_Int_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_mutex_t_Void(ecs_os_api_mutex_free_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_free_t(FnPtr_Ecs_os_mutex_t_Void data) => new() { Data = data }; } - // TypeAlias @ flecs.h:330:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // TypeAlias @ api_defines.h:100:18 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_module_action_t + public struct ecs_flags64_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Void Data; + public ulong Data; - public static implicit operator FnPtr_Ecs_world_tPtr_Void(ecs_module_action_t data) => data.Data; - public static implicit operator ecs_module_action_t(FnPtr_Ecs_world_tPtr_Void data) => new() { Data = data }; + public static implicit operator ulong(ecs_flags64_t data) => data.Data; + public static implicit operator ecs_flags64_t(ulong data) => new() { Data = data }; } - // TypeAlias @ os_api.h:79:9 + // TypeAlias @ os_api.h:167:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8883,13 +8968,30 @@ public struct ecs_module_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_strdup_t + public struct ecs_os_api_abort_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_CString_CString Data; + public FnPtr_Void Data; - public static implicit operator FnPtr_CString_CString(ecs_os_api_strdup_t data) => data.Data; - public static implicit operator ecs_os_api_strdup_t(FnPtr_CString_CString data) => new() { Data = data }; + public static implicit operator FnPtr_Void(ecs_os_api_abort_t data) => data.Data; + public static implicit operator ecs_os_api_abort_t(FnPtr_Void data) => new() { Data = data }; + } + + // TypeAlias @ os_api.h:151:8 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_api_get_time_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_time_tPtr_Void Data; + + public static implicit operator FnPtr_Ecs_time_tPtr_Void(ecs_os_api_get_time_t data) => data.Data; + public static implicit operator ecs_os_api_get_time_t(FnPtr_Ecs_time_tPtr_Void data) => new() { Data = data }; } // TypeAlias @ os_api.h:129:8 @@ -8926,58 +9028,58 @@ public struct ecs_iter_action_t public static implicit operator ecs_iter_action_t(FnPtr_Ecs_iter_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:159:8 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_log_t + // TypeAlias @ api_defines.h:103:17 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] + public struct ecs_size_t { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Int_CString_Int_CString_Void Data; + [FieldOffset(0)] // size = 4, padding = 0 + public int Data; - public static implicit operator FnPtr_Int_CString_Int_CString_Void(ecs_os_api_log_t data) => data.Data; - public static implicit operator ecs_os_api_log_t(FnPtr_Int_CString_Int_CString_Void data) => new() { Data = data }; + public static implicit operator int(ecs_size_t data) => data.Data; + public static implicit operator ecs_size_t(int data) => new() { Data = data }; } - // TypeAlias @ os_api.h:151:8 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // TypeAlias @ flecs.h:343:15 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_get_time_t + public struct ecs_compare_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_time_tPtr_Void Data; + public FnPtr_VoidPtr_VoidPtr_Int Data; - public static implicit operator FnPtr_Ecs_time_tPtr_Void(ecs_os_api_get_time_t data) => data.Data; - public static implicit operator ecs_os_api_get_time_t(FnPtr_Ecs_time_tPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int(ecs_compare_action_t data) => data.Data; + public static implicit operator ecs_compare_action_t(FnPtr_VoidPtr_VoidPtr_Int data) => new() { Data = data }; } - // TypeAlias @ os_api.h:108:8 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // TypeAlias @ flecs.h:280:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_lock_t + public struct ecs_iter_init_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_mutex_t_Void Data; + public FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void Data; - public static implicit operator FnPtr_Ecs_os_mutex_t_Void(ecs_os_api_mutex_lock_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_lock_t(FnPtr_Ecs_os_mutex_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void(ecs_iter_init_action_t data) => data.Data; + public static implicit operator ecs_iter_init_action_t(FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:50:16 + // TypeAlias @ os_api.h:54:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -8985,33 +9087,16 @@ public struct ecs_os_api_mutex_lock_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_proc_t + public struct ecs_os_api_init_t { [FieldOffset(0)] // size = 8, padding = 0 public FnPtr_Void Data; - public static implicit operator FnPtr_Void(ecs_os_proc_t data) => data.Data; - public static implicit operator ecs_os_proc_t(FnPtr_Void data) => new() { Data = data }; - } - - // TypeAlias @ flecs.h:334:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_fini_action_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_VoidPtr_Void Data; - - public static implicit operator FnPtr_Ecs_world_tPtr_VoidPtr_Void(ecs_fini_action_t data) => data.Data; - public static implicit operator ecs_fini_action_t(FnPtr_Ecs_world_tPtr_VoidPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Void(ecs_os_api_init_t data) => data.Data; + public static implicit operator ecs_os_api_init_t(FnPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:93:9 + // TypeAlias @ os_api.h:104:18 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9019,16 +9104,33 @@ public struct ecs_fini_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_thread_join_t + public struct ecs_os_api_mutex_new_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_os_mutex_t Data; + + public static implicit operator FnPtr_Ecs_os_mutex_t(ecs_os_api_mutex_new_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_new_t(FnPtr_Ecs_os_mutex_t data) => new() { Data = data }; + } + + // TypeAlias @ flecs.h:323:20 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_group_by_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_thread_t_VoidPtr Data; + public FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong Data; - public static implicit operator FnPtr_Ecs_os_thread_t_VoidPtr(ecs_os_api_thread_join_t data) => data.Data; - public static implicit operator ecs_os_api_thread_join_t(FnPtr_Ecs_os_thread_t_VoidPtr data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong(ecs_group_by_action_t data) => data.Data; + public static implicit operator ecs_group_by_action_t(FnPtr_Ecs_world_tPtr_Ecs_table_tPtr_Ecs_id_t_VoidPtr_Ulong data) => new() { Data = data }; } - // TypeAlias @ flecs.h:257:16 + // TypeAlias @ flecs.h:330:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -9036,16 +9138,33 @@ public struct ecs_os_api_thread_join_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_run_action_t + public struct ecs_module_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_iter_tPtr_Void Data; + public FnPtr_Ecs_world_tPtr_Void Data; - public static implicit operator FnPtr_Ecs_iter_tPtr_Void(ecs_run_action_t data) => data.Data; - public static implicit operator ecs_run_action_t(FnPtr_Ecs_iter_tPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_world_tPtr_Void(ecs_module_action_t data) => data.Data; + public static implicit operator ecs_module_action_t(FnPtr_Ecs_world_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:167:8 + // TypeAlias @ app.h:25:14 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_app_init_action_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_world_tPtr_Int Data; + + public static implicit operator FnPtr_Ecs_world_tPtr_Int(ecs_app_init_action_t data) => data.Data; + public static implicit operator ecs_app_init_action_t(FnPtr_Ecs_world_tPtr_Int data) => new() { Data = data }; + } + + // TypeAlias @ os_api.h:159:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9053,16 +9172,16 @@ public struct ecs_run_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_abort_t + public struct ecs_os_api_log_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Void Data; + public FnPtr_Int_CString_Int_CString_Void Data; - public static implicit operator FnPtr_Void(ecs_os_api_abort_t data) => data.Data; - public static implicit operator ecs_os_api_abort_t(FnPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Int_CString_Int_CString_Void(ecs_os_api_log_t data) => data.Data; + public static implicit operator ecs_os_api_log_t(FnPtr_Int_CString_Int_CString_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:133:8 + // TypeAlias @ os_api.h:66:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9070,16 +9189,16 @@ public struct ecs_os_api_abort_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_broadcast_t + public struct ecs_os_api_free_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_cond_t_Void Data; + public FnPtr_VoidPtr_Void Data; - public static implicit operator FnPtr_Ecs_os_cond_t_Void(ecs_os_api_cond_broadcast_t data) => data.Data; - public static implicit operator ecs_os_api_cond_broadcast_t(FnPtr_Ecs_os_cond_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_Void(ecs_os_api_free_t data) => data.Data; + public static implicit operator ecs_os_api_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:46:19 + // TypeAlias @ os_api.h:62:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9087,13 +9206,13 @@ public struct ecs_os_api_cond_broadcast_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_dl_t + public struct ecs_os_api_malloc_t { [FieldOffset(0)] // size = 8, padding = 0 - public UIntPtr Data; + public FnPtr_Ecs_size_t_VoidPtr Data; - public static implicit operator UIntPtr(ecs_os_dl_t data) => data.Data; - public static implicit operator ecs_os_dl_t(UIntPtr data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_size_t_VoidPtr(ecs_os_api_malloc_t data) => data.Data; + public static implicit operator ecs_os_api_malloc_t(FnPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; } // TypeAlias @ flecs.h:301:16 @@ -9113,24 +9232,7 @@ public struct ecs_iter_fini_action_t public static implicit operator ecs_iter_fini_action_t(FnPtr_Ecs_iter_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ flecs.h:293:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_next_action_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_iter_tPtr_CBool Data; - - public static implicit operator FnPtr_Ecs_iter_tPtr_CBool(ecs_iter_next_action_t data) => data.Data; - public static implicit operator ecs_iter_next_action_t(FnPtr_Ecs_iter_tPtr_CBool data) => new() { Data = data }; - } - - // TypeAlias @ os_api.h:70:9 + // TypeAlias @ os_api.h:58:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9138,16 +9240,16 @@ public struct ecs_iter_next_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_realloc_t + public struct ecs_os_api_fini_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_Ecs_size_t_VoidPtr Data; + public FnPtr_Void Data; - public static implicit operator FnPtr_VoidPtr_Ecs_size_t_VoidPtr(ecs_os_api_realloc_t data) => data.Data; - public static implicit operator ecs_os_api_realloc_t(FnPtr_VoidPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; + public static implicit operator FnPtr_Void(ecs_os_api_fini_t data) => data.Data; + public static implicit operator ecs_os_api_fini_t(FnPtr_Void data) => new() { Data = data }; } - // TypeAlias @ flecs.h:343:15 + // TypeAlias @ flecs.h:293:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -9155,13 +9257,13 @@ public struct ecs_os_api_realloc_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_compare_action_t + public struct ecs_iter_next_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_VoidPtr_Int Data; + public FnPtr_Ecs_iter_tPtr_CBool Data; - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int(ecs_compare_action_t data) => data.Data; - public static implicit operator ecs_compare_action_t(FnPtr_VoidPtr_VoidPtr_Int data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_iter_tPtr_CBool(ecs_iter_next_action_t data) => data.Data; + public static implicit operator ecs_iter_next_action_t(FnPtr_Ecs_iter_tPtr_CBool data) => new() { Data = data }; } // TypeAlias @ os_api.h:176:17 @@ -9181,7 +9283,7 @@ public struct ecs_os_api_dlproc_t public static implicit operator ecs_os_api_dlproc_t(FnPtr_Ecs_os_dl_t_CString_Ecs_os_proc_t data) => new() { Data = data }; } - // TypeAlias @ flecs.h:167:18 + // TypeAlias @ flecs.h:348:20 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -9189,16 +9291,16 @@ public struct ecs_os_api_dlproc_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_entity_t + public struct ecs_hash_value_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public ecs_id_t Data; + public FnPtr_VoidPtr_Ulong Data; - public static implicit operator ecs_id_t(ecs_entity_t data) => data.Data; - public static implicit operator ecs_entity_t(ecs_id_t data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_Ulong(ecs_hash_value_action_t data) => data.Data; + public static implicit operator ecs_hash_value_action_t(FnPtr_VoidPtr_Ulong data) => new() { Data = data }; } - // TypeAlias @ flecs.h:352:16 + // TypeAlias @ flecs.h:358:16 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -9206,33 +9308,16 @@ public struct ecs_entity_t // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_xtor_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; - - public static implicit operator FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_xtor_t data) => data.Data; - public static implicit operator ecs_xtor_t(FnPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; - } - - // TypeAlias @ os_api.h:75:9 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_calloc_t + public struct ecs_copy_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_size_t_VoidPtr Data; + public FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; - public static implicit operator FnPtr_Ecs_size_t_VoidPtr(ecs_os_api_calloc_t data) => data.Data; - public static implicit operator ecs_os_api_calloc_t(FnPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_copy_t data) => data.Data; + public static implicit operator ecs_copy_t(FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:58:8 + // TypeAlias @ os_api.h:108:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9240,30 +9325,30 @@ public struct ecs_os_api_calloc_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_fini_t + public struct ecs_os_api_mutex_lock_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Void Data; + public FnPtr_Ecs_os_mutex_t_Void Data; - public static implicit operator FnPtr_Void(ecs_os_api_fini_t data) => data.Data; - public static implicit operator ecs_os_api_fini_t(FnPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_mutex_t_Void(ecs_os_api_mutex_lock_t data) => data.Data; + public static implicit operator ecs_os_api_mutex_lock_t(FnPtr_Ecs_os_mutex_t_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:121:17 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) + // TypeAlias @ flecs.h:305:15 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_new_t + public struct ecs_order_by_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_cond_t Data; + public FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int Data; - public static implicit operator FnPtr_Ecs_os_cond_t(ecs_os_api_cond_new_t data) => data.Data; - public static implicit operator ecs_os_api_cond_new_t(FnPtr_Ecs_os_cond_t data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int(ecs_order_by_action_t data) => data.Data; + public static implicit operator ecs_order_by_action_t(FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int data) => new() { Data = data }; } // TypeAlias @ flecs.h:339:16 @@ -9283,41 +9368,7 @@ public struct ecs_ctx_free_t public static implicit operator ecs_ctx_free_t(FnPtr_VoidPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:43:19 - // aarch64-apple-darwin (flecs/os_api.h) - // x86_64-pc-windows-msvc (flecs\os_api.h) - // x86_64-apple-darwin (flecs/os_api.h) - // x86_64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-unknown-linux-gnu (flecs/os_api.h) - // aarch64-pc-windows-msvc (flecs\os_api.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_thread_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public UIntPtr Data; - - public static implicit operator UIntPtr(ecs_os_thread_t data) => data.Data; - public static implicit operator ecs_os_thread_t(UIntPtr data) => new() { Data = data }; - } - - // TypeAlias @ app.h:48:14 - // aarch64-apple-darwin (flecs/addons/app.h) - // x86_64-pc-windows-msvc (flecs\addons\app.h) - // x86_64-apple-darwin (flecs/addons/app.h) - // x86_64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-unknown-linux-gnu (flecs/addons/app.h) - // aarch64-pc-windows-msvc (flecs\addons\app.h) - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_app_frame_action_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int Data; - - public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int(ecs_app_frame_action_t data) => data.Data; - public static implicit operator ecs_app_frame_action_t(FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int data) => new() { Data = data }; - } - - // TypeAlias @ os_api.h:84:9 + // TypeAlias @ os_api.h:70:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9325,16 +9376,16 @@ public struct ecs_app_frame_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_thread_callback_t + public struct ecs_os_api_realloc_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_VoidPtr Data; + public FnPtr_VoidPtr_Ecs_size_t_VoidPtr Data; - public static implicit operator FnPtr_VoidPtr_VoidPtr(ecs_os_thread_callback_t data) => data.Data; - public static implicit operator ecs_os_thread_callback_t(FnPtr_VoidPtr_VoidPtr data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_Ecs_size_t_VoidPtr(ecs_os_api_realloc_t data) => data.Data; + public static implicit operator ecs_os_api_realloc_t(FnPtr_VoidPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; } - // TypeAlias @ os_api.h:44:19 + // TypeAlias @ os_api.h:93:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9342,16 +9393,16 @@ public struct ecs_os_thread_callback_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_cond_t + public struct ecs_os_api_thread_join_t { [FieldOffset(0)] // size = 8, padding = 0 - public UIntPtr Data; + public FnPtr_Ecs_os_thread_t_VoidPtr Data; - public static implicit operator UIntPtr(ecs_os_cond_t data) => data.Data; - public static implicit operator ecs_os_cond_t(UIntPtr data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_thread_t_VoidPtr(ecs_os_api_thread_join_t data) => data.Data; + public static implicit operator ecs_os_api_thread_join_t(FnPtr_Ecs_os_thread_t_VoidPtr data) => new() { Data = data }; } - // TypeAlias @ os_api.h:54:8 + // TypeAlias @ os_api.h:181:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9359,30 +9410,13 @@ public struct ecs_os_cond_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_init_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Void Data; - - public static implicit operator FnPtr_Void(ecs_os_api_init_t data) => data.Data; - public static implicit operator ecs_os_api_init_t(FnPtr_Void data) => new() { Data = data }; - } - - // TypeAlias @ flecs.h:280:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_iter_init_action_t + public struct ecs_os_api_dlclose_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void Data; + public FnPtr_Ecs_os_dl_t_Void Data; - public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void(ecs_iter_init_action_t data) => data.Data; - public static implicit operator ecs_iter_init_action_t(FnPtr_Ecs_world_tPtr_Ecs_poly_tPtr_Ecs_iter_tPtr_Ecs_term_tPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_dl_t_Void(ecs_os_api_dlclose_t data) => data.Data; + public static implicit operator ecs_os_api_dlclose_t(FnPtr_Ecs_os_dl_t_Void data) => new() { Data = data }; } // TypeAlias @ app.h:43:14 @@ -9402,41 +9436,41 @@ public struct ecs_app_run_action_t public static implicit operator ecs_app_run_action_t(FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int data) => new() { Data = data }; } - // TypeAlias @ api_defines.h:100:18 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + // TypeAlias @ flecs.h:164:18 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_flags64_t + public struct ecs_id_t { [FieldOffset(0)] // size = 8, padding = 0 public ulong Data; - public static implicit operator ulong(ecs_flags64_t data) => data.Data; - public static implicit operator ecs_flags64_t(ulong data) => new() { Data = data }; + public static implicit operator ulong(ecs_id_t data) => data.Data; + public static implicit operator ecs_id_t(ulong data) => new() { Data = data }; } - // TypeAlias @ api_defines.h:97:17 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - [StructLayout(LayoutKind.Explicit, Size = 1, Pack = 1)] - public struct ecs_flags8_t + // TypeAlias @ flecs.h:334:16 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-unknown-linux-gnu + // aarch64-pc-windows-msvc + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_fini_action_t { - [FieldOffset(0)] // size = 1, padding = 0 - public byte Data; + [FieldOffset(0)] // size = 8, padding = 0 + public FnPtr_Ecs_world_tPtr_VoidPtr_Void Data; - public static implicit operator byte(ecs_flags8_t data) => data.Data; - public static implicit operator ecs_flags8_t(byte data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_world_tPtr_VoidPtr_Void(ecs_fini_action_t data) => data.Data; + public static implicit operator ecs_fini_action_t(FnPtr_Ecs_world_tPtr_VoidPtr_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:104:18 + // TypeAlias @ os_api.h:79:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9444,33 +9478,16 @@ public struct ecs_flags8_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_new_t - { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_mutex_t Data; - - public static implicit operator FnPtr_Ecs_os_mutex_t(ecs_os_api_mutex_new_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_new_t(FnPtr_Ecs_os_mutex_t data) => new() { Data = data }; - } - - // TypeAlias @ flecs.h:305:15 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_order_by_action_t + public struct ecs_os_api_strdup_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int Data; + public FnPtr_CString_CString Data; - public static implicit operator FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int(ecs_order_by_action_t data) => data.Data; - public static implicit operator ecs_order_by_action_t(FnPtr_Ecs_entity_t_VoidPtr_Ecs_entity_t_VoidPtr_Int data) => new() { Data = data }; + public static implicit operator FnPtr_CString_CString(ecs_os_api_strdup_t data) => data.Data; + public static implicit operator ecs_os_api_strdup_t(FnPtr_CString_CString data) => new() { Data = data }; } - // TypeAlias @ os_api.h:62:9 + // TypeAlias @ os_api.h:185:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9478,16 +9495,16 @@ public struct ecs_order_by_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_malloc_t + public struct ecs_os_api_module_to_path_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_size_t_VoidPtr Data; + public FnPtr_CString_CString Data; - public static implicit operator FnPtr_Ecs_size_t_VoidPtr(ecs_os_api_malloc_t data) => data.Data; - public static implicit operator ecs_os_api_malloc_t(FnPtr_Ecs_size_t_VoidPtr data) => new() { Data = data }; + public static implicit operator FnPtr_CString_CString(ecs_os_api_module_to_path_t data) => data.Data; + public static implicit operator ecs_os_api_module_to_path_t(FnPtr_CString_CString data) => new() { Data = data }; } - // TypeAlias @ os_api.h:88:19 + // TypeAlias @ os_api.h:137:8 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9495,33 +9512,33 @@ public struct ecs_os_api_malloc_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_thread_new_t + public struct ecs_os_api_cond_wait_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t Data; + public FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void Data; - public static implicit operator FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t(ecs_os_api_thread_new_t data) => data.Data; - public static implicit operator ecs_os_api_thread_new_t(FnPtr_Ecs_os_thread_callback_t_VoidPtr_Ecs_os_thread_t data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void(ecs_os_api_cond_wait_t data) => data.Data; + public static implicit operator ecs_os_api_cond_wait_t(FnPtr_Ecs_os_cond_t_Ecs_os_mutex_t_Void data) => new() { Data = data }; } - // TypeAlias @ http.h:98:16 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) + // TypeAlias @ map.h:36:18 + // aarch64-apple-darwin (flecs/private/map.h) + // x86_64-pc-windows-msvc (flecs\private\map.h) + // x86_64-apple-darwin (flecs/private/map.h) + // x86_64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-unknown-linux-gnu (flecs/private/map.h) + // aarch64-pc-windows-msvc (flecs\private\map.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_http_reply_action_t + public struct ecs_map_key_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool Data; + public ulong Data; - public static implicit operator FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool(ecs_http_reply_action_t data) => data.Data; - public static implicit operator ecs_http_reply_action_t(FnPtr_Ecs_http_request_tPtr_Ecs_http_reply_tPtr_VoidPtr_CBool data) => new() { Data = data }; + public static implicit operator ulong(ecs_map_key_t data) => data.Data; + public static implicit operator ecs_map_key_t(ulong data) => new() { Data = data }; } - // TypeAlias @ os_api.h:172:15 + // TypeAlias @ os_api.h:98:7 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9529,50 +9546,67 @@ public struct ecs_http_reply_action_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_dlopen_t + public struct ecs_os_api_ainc_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_CString_Ecs_os_dl_t Data; + public FnPtr_IntPtr_Int Data; - public static implicit operator FnPtr_CString_Ecs_os_dl_t(ecs_os_api_dlopen_t data) => data.Data; - public static implicit operator ecs_os_api_dlopen_t(FnPtr_CString_Ecs_os_dl_t data) => new() { Data = data }; + public static implicit operator FnPtr_IntPtr_Int(ecs_os_api_ainc_t data) => data.Data; + public static implicit operator ecs_os_api_ainc_t(FnPtr_IntPtr_Int data) => new() { Data = data }; } - // TypeAlias @ flecs.h:358:16 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc + // TypeAlias @ app.h:48:14 + // aarch64-apple-darwin (flecs/addons/app.h) + // x86_64-pc-windows-msvc (flecs\addons\app.h) + // x86_64-apple-darwin (flecs/addons/app.h) + // x86_64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-unknown-linux-gnu (flecs/addons/app.h) + // aarch64-pc-windows-msvc (flecs\addons\app.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_copy_t + public struct ecs_app_frame_action_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void Data; + public FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int Data; - public static implicit operator FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void(ecs_copy_t data) => data.Data; - public static implicit operator ecs_copy_t(FnPtr_VoidPtr_VoidPtr_Int_Ecs_type_info_tPtr_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int(ecs_app_frame_action_t data) => data.Data; + public static implicit operator ecs_app_frame_action_t(FnPtr_Ecs_world_tPtr_Ecs_app_desc_tPtr_Int data) => new() { Data = data }; } - // TypeAlias @ api_defines.h:99:18 + // TypeAlias @ os_api.h:46:19 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) + [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] + public struct ecs_os_dl_t + { + [FieldOffset(0)] // size = 8, padding = 0 + public UIntPtr Data; + + public static implicit operator UIntPtr(ecs_os_dl_t data) => data.Data; + public static implicit operator ecs_os_dl_t(UIntPtr data) => new() { Data = data }; + } + + // TypeAlias @ api_defines.h:97:17 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - [StructLayout(LayoutKind.Explicit, Size = 4, Pack = 4)] - public struct ecs_flags32_t + [StructLayout(LayoutKind.Explicit, Size = 1, Pack = 1)] + public struct ecs_flags8_t { - [FieldOffset(0)] // size = 4, padding = 0 - public uint Data; + [FieldOffset(0)] // size = 1, padding = 0 + public byte Data; - public static implicit operator uint(ecs_flags32_t data) => data.Data; - public static implicit operator ecs_flags32_t(uint data) => new() { Data = data }; + public static implicit operator byte(ecs_flags8_t data) => data.Data; + public static implicit operator ecs_flags8_t(byte data) => new() { Data = data }; } - // TypeAlias @ os_api.h:116:8 + // TypeAlias @ os_api.h:172:15 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9580,33 +9614,33 @@ public struct ecs_flags32_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_mutex_free_t + public struct ecs_os_api_dlopen_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_mutex_t_Void Data; + public FnPtr_CString_Ecs_os_dl_t Data; - public static implicit operator FnPtr_Ecs_os_mutex_t_Void(ecs_os_api_mutex_free_t data) => data.Data; - public static implicit operator ecs_os_api_mutex_free_t(FnPtr_Ecs_os_mutex_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_CString_Ecs_os_dl_t(ecs_os_api_dlopen_t data) => data.Data; + public static implicit operator ecs_os_api_dlopen_t(FnPtr_CString_Ecs_os_dl_t data) => new() { Data = data }; } - // TypeAlias @ map.h:36:18 - // aarch64-apple-darwin (flecs/private/map.h) - // x86_64-pc-windows-msvc (flecs\private\map.h) - // x86_64-apple-darwin (flecs/private/map.h) - // x86_64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-unknown-linux-gnu (flecs/private/map.h) - // aarch64-pc-windows-msvc (flecs\private\map.h) + // TypeAlias @ os_api.h:125:8 + // aarch64-apple-darwin (flecs/os_api.h) + // x86_64-pc-windows-msvc (flecs\os_api.h) + // x86_64-apple-darwin (flecs/os_api.h) + // x86_64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-unknown-linux-gnu (flecs/os_api.h) + // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_map_key_t + public struct ecs_os_api_cond_free_t { [FieldOffset(0)] // size = 8, padding = 0 - public ulong Data; + public FnPtr_Ecs_os_cond_t_Void Data; - public static implicit operator ulong(ecs_map_key_t data) => data.Data; - public static implicit operator ecs_map_key_t(ulong data) => new() { Data = data }; + public static implicit operator FnPtr_Ecs_os_cond_t_Void(ecs_os_api_cond_free_t data) => data.Data; + public static implicit operator ecs_os_api_cond_free_t(FnPtr_Ecs_os_cond_t_Void data) => new() { Data = data }; } - // TypeAlias @ os_api.h:125:8 + // TypeAlias @ os_api.h:155:12 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9614,16 +9648,16 @@ public struct ecs_map_key_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_cond_free_t + public struct ecs_os_api_now_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_Ecs_os_cond_t_Void Data; + public FnPtr_Ulong Data; - public static implicit operator FnPtr_Ecs_os_cond_t_Void(ecs_os_api_cond_free_t data) => data.Data; - public static implicit operator ecs_os_api_cond_free_t(FnPtr_Ecs_os_cond_t_Void data) => new() { Data = data }; + public static implicit operator FnPtr_Ulong(ecs_os_api_now_t data) => data.Data; + public static implicit operator ecs_os_api_now_t(FnPtr_Ulong data) => new() { Data = data }; } - // TypeAlias @ os_api.h:98:7 + // TypeAlias @ os_api.h:84:9 // aarch64-apple-darwin (flecs/os_api.h) // x86_64-pc-windows-msvc (flecs\os_api.h) // x86_64-apple-darwin (flecs/os_api.h) @@ -9631,44 +9665,82 @@ public struct ecs_os_api_cond_free_t // aarch64-unknown-linux-gnu (flecs/os_api.h) // aarch64-pc-windows-msvc (flecs\os_api.h) [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_os_api_ainc_t + public struct ecs_os_thread_callback_t { [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_IntPtr_Int Data; + public FnPtr_VoidPtr_VoidPtr Data; - public static implicit operator FnPtr_IntPtr_Int(ecs_os_api_ainc_t data) => data.Data; - public static implicit operator ecs_os_api_ainc_t(FnPtr_IntPtr_Int data) => new() { Data = data }; + public static implicit operator FnPtr_VoidPtr_VoidPtr(ecs_os_thread_callback_t data) => data.Data; + public static implicit operator ecs_os_thread_callback_t(FnPtr_VoidPtr_VoidPtr data) => new() { Data = data }; } - // TypeAlias @ flecs.h:348:20 + // Enum @ flecs.h:403:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-unknown-linux-gnu // aarch64-pc-windows-msvc - [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 8)] - public struct ecs_hash_value_action_t + public enum ecs_inout_kind_t : int { - [FieldOffset(0)] // size = 8, padding = 0 - public FnPtr_VoidPtr_Ulong Data; + EcsInOutDefault = 0, + EcsInOutNone = 1, + EcsInOut = 2, + EcsIn = 3, + EcsOut = 4 + } - public static implicit operator FnPtr_VoidPtr_Ulong(ecs_hash_value_action_t data) => data.Data; - public static implicit operator ecs_hash_value_action_t(FnPtr_VoidPtr_Ulong data) => new() { Data = data }; + // Enum @ http.h:58:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + public enum ecs_http_method_t : int + { + EcsHttpGet = 0, + EcsHttpPost = 1, + EcsHttpPut = 2, + EcsHttpDelete = 3, + EcsHttpOptions = 4, + EcsHttpMethodUnsupported = 5 } - // Enum @ flecs.h:422:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public enum ecs_var_kind_t : int + // Enum @ meta.h:278:14 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + public enum ecs_meta_type_op_kind_t : int { - EcsVarDefault = 0, - EcsVarIsEntity = 1, - EcsVarIsVariable = 2 + EcsOpArray = 0, + EcsOpVector = 1, + EcsOpPush = 2, + EcsOpPop = 3, + EcsOpScope = 4, + EcsOpEnum = 5, + EcsOpBitmask = 6, + EcsOpPrimitive = 7, + EcsOpBool = 8, + EcsOpChar = 9, + EcsOpByte = 10, + EcsOpU8 = 11, + EcsOpU16 = 12, + EcsOpU32 = 13, + EcsOpU64 = 14, + EcsOpI8 = 15, + EcsOpI16 = 16, + EcsOpI32 = 17, + EcsOpI64 = 18, + EcsOpF32 = 19, + EcsOpF64 = 20, + EcsOpUPtr = 21, + EcsOpIPtr = 22, + EcsOpString = 23, + EcsOpEntity = 24 } // Enum @ meta.h:131:14 @@ -9718,7 +9790,7 @@ public enum ecs_primitive_kind_t : int EcsPrimitiveKindLast = 17 } - // Enum @ flecs.h:429:14 + // Enum @ flecs.h:412:14 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin @@ -9751,130 +9823,45 @@ public enum ecs_iter_kind_t : int EcsIterEvalNone = 3 } - // Enum @ http.h:58:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - public enum ecs_http_method_t : int - { - EcsHttpGet = 0, - EcsHttpPost = 1, - EcsHttpPut = 2, - EcsHttpDelete = 3, - EcsHttpOptions = 4, - EcsHttpMethodUnsupported = 5 - } - - // Enum @ flecs.h:413:14 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public enum ecs_inout_kind_t : int - { - EcsInOutDefault = 0, - EcsInOutFilter = 1, - EcsInOut = 2, - EcsIn = 3, - EcsOut = 4 - } - - // Enum @ meta.h:278:14 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - public enum ecs_meta_type_op_kind_t : int - { - EcsOpArray = 0, - EcsOpVector = 1, - EcsOpPush = 2, - EcsOpPop = 3, - EcsOpScope = 4, - EcsOpEnum = 5, - EcsOpBitmask = 6, - EcsOpPrimitive = 7, - EcsOpBool = 8, - EcsOpChar = 9, - EcsOpByte = 10, - EcsOpU8 = 11, - EcsOpU16 = 12, - EcsOpU32 = 13, - EcsOpU64 = 14, - EcsOpI8 = 15, - EcsOpI16 = 16, - EcsOpI32 = 17, - EcsOpI64 = 18, - EcsOpF32 = 19, - EcsOpF64 = 20, - EcsOpUPtr = 21, - EcsOpIPtr = 22, - EcsOpString = 23, - EcsOpEntity = 24 - } - - // MacroObject @ http.h:33:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - public const int ECS_HTTP_QUERY_PARAM_COUNT_MAX = 32; - - // MacroObject @ log.h:496:9 + // MacroObject @ log.h:468:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_COLUMN_IS_SHARED = 43; + public const int ECS_INVALID_PARAMETER = 2; - // MacroObject @ api_types.h:197:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_columns = 2; + // MacroObject @ api_flags.h:50:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsIdOnDeleteRemove = 1; - // MacroObject @ flecs.h:226:9 + // MacroObject @ api_flags.h:23:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsWorldMeasureSystemTime = 32; + + // MacroObject @ flecs.h:431:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int ECS_TERM_CACHE_SIZE = 4; - - // MacroObject @ api_defines.h:157:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_filter_t_magic = 1701016422; - - // MacroObject @ http.h:30:9 - // aarch64-apple-darwin (flecs/addons/http.h) - // x86_64-pc-windows-msvc (flecs\addons\http.h) - // x86_64-apple-darwin (flecs/addons/http.h) - // x86_64-unknown-linux-gnu (flecs/addons/http.h) - // aarch64-pc-windows-msvc (flecs\addons\http.h) - public const int ECS_HTTP_HEADER_COUNT_MAX = 32; + public const uint EcsTraverseFlags = 62; - // MacroObject @ log.h:515:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_WHITE = ""; + // MacroObject @ api_flags.h:107:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsFilterMatchOnlyThis = 4; // MacroObject @ api_support.h:28:9 // aarch64-apple-darwin (flecs/private/api_support.h) @@ -9884,37 +9871,29 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\private\api_support.h) public const int ECS_MAX_RECURSION = 512; - // MacroObject @ flecs.h:403:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int EcsDefaultSet = 0; - - // MacroObject @ api_flags.h:18:9 + // MacroObject @ api_flags.h:125:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldQuitWorkers = 1; + public const uint EcsTableHasPairs = 32; - // MacroObject @ api_flags.h:133:9 + // MacroObject @ api_flags.h:147:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasDisabled = 8192; + public const uint EcsTableHasRemoveActions = 328200; - // MacroObject @ api_defines.h:154:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_query_t_magic = 1701016433; + // MacroObject @ api_flags.h:126:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsTableHasModule = 64; // MacroObject @ log.h:488:9 // aarch64-apple-darwin (flecs/addons/log.h) @@ -9924,237 +9903,221 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\addons\log.h) public const int ECS_INCONSISTENT_COMPONENT_ACTION = 27; - // MacroObject @ api_defines.h:158:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_trigger_t_magic = 1701016434; - - // MacroObject @ log.h:517:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_NORMAL = ""; - - // MacroObject @ api_flags.h:134:9 + // MacroObject @ api_flags.h:41:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasOverrides = 16384; + public const uint EcsEntityObservedId = 1073741824; - // MacroObject @ api_flags.h:138:9 + // MacroObject @ flecs.h:223:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const int ECS_ID_CACHE_SIZE = 32; + + // MacroObject @ api_flags.h:71:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasOnSet = 131072; + public const uint EcsIdHasOnRemove = 65536; - // MacroObject @ api_flags.h:74:9 + // MacroObject @ rest.h:40:9 + // aarch64-apple-darwin (flecs/addons/rest.h) + // x86_64-pc-windows-msvc (flecs\addons\rest.h) + // x86_64-apple-darwin (flecs/addons/rest.h) + // x86_64-unknown-linux-gnu (flecs/addons/rest.h) + // aarch64-pc-windows-msvc (flecs\addons\rest.h) + public const int ECS_REST_DEFAULT_PORT = 27750; + + // MacroObject @ api_flags.h:138:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdEventMask = 491520; + public const uint EcsTableHasOnSet = 131072; + + // MacroObject @ strbuf.h:28:9 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + public const int ECS_STRBUF_MAX_LIST_DEPTH = 32; - // MacroObject @ log.h:478:9 + // MacroObject @ log.h:477:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_ID_IN_USE = 12; + public const int ECS_INVALID_CONVERSION = 11; - // MacroObject @ api_flags.h:109:9 + // MacroObject @ api_flags.h:96:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchDisabled = 16; + public const uint EcsIterTableOnly = 16; - // MacroObject @ api_defines.h:173:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_GENERATION_MASK = 281470681743360; + // MacroObject @ api_flags.h:165:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsAperiodicEmptyTables = 2; - // MacroObject @ flecs.h:406:9 + // MacroObject @ flecs.h:424:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int EcsSubSet = 4; + public const uint EcsUp = 4; - // MacroObject @ api_defines.h:320:9 + // MacroObject @ log.h:499:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_INVALID_WHILE_READONLY = 70; + + // MacroObject @ api_defines.h:172:9 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_AND = 17942340915444056064; - - // MacroObject @ api_flags.h:131:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasMove = 2048; - - // MacroObject @ api_flags.h:19:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldReadonly = 2; + public const ulong ECS_ENTITY_MASK = 4294967295; - // MacroObject @ api_flags.h:144:9 + // MacroObject @ api_flags.h:58:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasLifecycle = 768; - - // MacroObject @ flecs.h:232:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int ECS_OBSERVER_DESC_EVENT_COUNT_MAX = 8; + public const uint EcsIdOnDeleteObjectPanic = 32; - // MacroObject @ api_flags.h:32:9 + // MacroObject @ api_flags.h:63:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsOsApiLogWithTimeStamp = 4; + public const uint EcsIdExclusive = 64; - // MacroObject @ api_flags.h:165:9 + // MacroObject @ api_flags.h:166:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsAperiodicEmptyTables = 2; + public const uint EcsAperiodicComponentMonitors = 4; - // MacroObject @ api_flags.h:94:9 + // MacroObject @ api_flags.h:124:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterIsInstanced = 4; + public const uint EcsTableHasChildOf = 16; - // MacroObject @ api_flags.h:93:9 + // MacroObject @ api_flags.h:106:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterIsFilter = 2; + public const uint EcsFilterMatchThis = 2; - // MacroObject @ log.h:483:9 + // MacroObject @ log.h:481:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_NOT_A_COMPONENT = 22; + public const int ECS_INCONSISTENT_NAME = 20; - // MacroObject @ log.h:486:9 + // MacroObject @ log.h:483:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_COMPONENT_NOT_REGISTERED = 25; + public const int ECS_NOT_A_COMPONENT = 22; - // MacroObject @ log.h:509:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_RED = ""; + // MacroObject @ stats.h:18:9 + // aarch64-apple-darwin (flecs/addons/stats.h) + // x86_64-pc-windows-msvc (flecs\addons\stats.h) + // x86_64-apple-darwin (flecs/addons/stats.h) + // x86_64-unknown-linux-gnu (flecs/addons/stats.h) + // aarch64-pc-windows-msvc (flecs\addons\stats.h) + public const int ECS_STAT_WINDOW = 60; - // MacroObject @ api_flags.h:59:9 + // MacroObject @ api_flags.h:77:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteObjectMask = 56; + public const uint EcsIdMarkedForDelete = 1073741824; - // MacroObject @ api_flags.h:92:9 + // MacroObject @ api_flags.h:30:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterIsValid = 1; - - // MacroObject @ log.h:473:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INTERNAL_ERROR = 7; - - // MacroObject @ log.h:493:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_ACCESS_VIOLATION = 40; + public const uint EcsOsApiHighResolutionTimer = 1; - // MacroObject @ api_flags.h:96:9 + // MacroObject @ api_flags.h:21:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterTableOnly = 16; + public const uint EcsWorldFini = 8; - // MacroObject @ log.h:490:9 + // MacroObject @ log.h:467:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_MISSING_SYMBOL = 29; + public const int ECS_INVALID_OPERATION = 1; - // MacroObject @ log.h:484:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_COMPONENT_SIZE = 23; + // MacroObject @ api_defines.h:152:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_world_t_magic = 1701016439; - // MacroObject @ api_flags.h:128:9 + // MacroObject @ api_types.h:199:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_sizes = 8; + + // MacroObject @ api_flags.h:133:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasCtors = 256; + public const uint EcsTableHasDisabled = 8192; // MacroObject @ api_flags.h:132:9 // aarch64-apple-darwin (flecs/private/api_flags.h) @@ -10164,165 +10127,109 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\private\api_flags.h) public const uint EcsTableHasUnion = 4096; - // MacroObject @ api_defines.h:152:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_world_t_magic = 1701016439; - - // MacroObject @ flecs.h:405:9 + // MacroObject @ flecs.h:429:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int EcsSuperSet = 2; + public const uint EcsIsEntity = 128; - // MacroObject @ api_flags.h:73:9 + // MacroObject @ api_flags.h:146:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdHasUnSet = 262144; - - // MacroObject @ log.h:485:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_COMPONENT_ALIGNMENT = 24; + public const uint EcsTableHasAddActions = 168200; - // MacroObject @ api_flags.h:41:9 + // MacroObject @ api_flags.h:40:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsEntityObservedId = 1073741824; + public const uint EcsEntityObserved = 2147483648; - // MacroObject @ api_flags.h:147:9 + // MacroObject @ api_flags.h:111:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasRemoveActions = 328200; - - // MacroObject @ log.h:487:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INCONSISTENT_COMPONENT_ID = 26; + public const uint EcsFilterMatchAnything = 64; - // MacroObject @ api_flags.h:125:9 + // MacroObject @ api_flags.h:128:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasPairs = 32; + public const uint EcsTableHasCtors = 256; - // MacroObject @ api_flags.h:155:9 + // MacroObject @ api_flags.h:56:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsQueryIsSubquery = 4; + public const uint EcsIdOnDeleteObjectRemove = 8; - // MacroObject @ api_flags.h:66:9 + // MacroObject @ api_flags.h:67:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdTag = 512; + public const uint EcsIdWith = 1024; - // MacroObject @ api_flags.h:112:9 + // MacroObject @ api_flags.h:122:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterIsFilter = 128; - - // MacroObject @ log.h:481:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INCONSISTENT_NAME = 20; - - // MacroObject @ log.h:479:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_CYCLE_DETECTED = 13; - - // MacroObject @ api_types.h:198:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_subjects = 4; - - // MacroObject @ api_defines.h:155:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_rule_t_magic = 1701016437; + public const uint EcsTableIsPrefab = 4; - // MacroObject @ api_flags.h:127:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableIsDisabled = 128; + // MacroObject @ api_support.h:31:9 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) + public const int ECS_MAX_TOKEN_SIZE = 256; - // MacroObject @ flecs.h:1185:9 + // MacroObject @ flecs.h:235:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int EcsFirstUserComponentId = 32; + public const int ECS_COUNT_MAX = 64; - // MacroObject @ log.h:471:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_OUT_OF_RANGE = 5; + // MacroObject @ api_flags.h:130:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsTableHasCopy = 1024; - // MacroObject @ api_flags.h:139:9 + // MacroObject @ api_flags.h:31:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasUnSet = 262144; + public const uint EcsOsApiLogWithColors = 2; - // MacroObject @ flecs.h:407:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int EcsCascade = 8; + // MacroObject @ api_flags.h:52:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsIdOnDeletePanic = 4; // MacroObject @ api_defines.h:165:9 // aarch64-apple-darwin (flecs/private/api_defines.h) @@ -10332,285 +10239,269 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\private\api_defines.h) public const uint ECS_ROW_MASK = 268435455; - // MacroObject @ log.h:476:9 + // MacroObject @ log.h:517:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_OPERATION_FAILED = 10; + public static string ECS_NORMAL = ""; - // MacroObject @ log.h:499:9 + // MacroObject @ log.h:512:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_WHILE_READONLY = 70; + public static string ECS_BLUE = ""; - // MacroObject @ log.h:514:9 + // MacroObject @ api_types.h:201:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_match_indices = 32; + + // MacroObject @ log.h:513:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_CYAN = ""; + public static string ECS_MAGENTA = ""; - // MacroObject @ log.h:512:9 + // MacroObject @ log.h:497:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_BLUE = ""; + public const int ECS_COLUMN_TYPE_MISMATCH = 45; - // MacroObject @ api_types.h:202:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_variables = 64; + // MacroObject @ api_flags.h:134:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsTableHasOverrides = 16384; - // MacroObject @ api_flags.h:30:9 + // MacroObject @ api_flags.h:136:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsOsApiHighResolutionTimer = 1; + public const uint EcsTableHasOnAdd = 32768; - // MacroObject @ log.h:495:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_COLUMN_IS_NOT_SHARED = 42; + // MacroObject @ api_flags.h:158:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsQueryHasMonitor = 32; - // MacroObject @ flecs.h:923:9 + // MacroObject @ flecs.h:1167:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const ulong ECS_ROLE = 9223372036854775808; + public const int EcsFirstUserEntityId = 384; - // MacroObject @ api_flags.h:136:9 + // MacroObject @ api_flags.h:141:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasOnAdd = 32768; + public const uint EcsTableMarkedForDelete = 1073741824; - // MacroObject @ api_flags.h:124:9 + // MacroObject @ meta.h:329:9 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + public const int ECS_META_MAX_SCOPE_DEPTH = 32; + + // MacroObject @ api_flags.h:167:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasChildOf = 16; + public const uint EcsAperiodicEmptyQueries = 16; - // MacroObject @ api_flags.h:71:9 + // MacroObject @ api_flags.h:94:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdHasOnRemove = 65536; + public const uint EcsIterIsInstanced = 4; - // MacroObject @ api_flags.h:145:9 + // MacroObject @ http.h:33:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + public const int ECS_HTTP_QUERY_PARAM_COUNT_MAX = 32; + + // MacroObject @ strbuf.h:27:9 + // aarch64-apple-darwin (flecs/private/strbuf.h) + // x86_64-pc-windows-msvc (flecs\private\strbuf.h) + // x86_64-apple-darwin (flecs/private/strbuf.h) + // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) + // aarch64-pc-windows-msvc (flecs\private\strbuf.h) + public const int ECS_STRBUF_ELEMENT_SIZE = 511; + + // MacroObject @ api_flags.h:95:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableIsComplex = 13056; + public const uint EcsIterHasShared = 8; - // MacroObject @ api_defines.h:323:9 + // MacroObject @ api_defines.h:155:9 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_NOT = 17726168133330272256; + public const int ecs_rule_t_magic = 1701016437; - // MacroObject @ api_flags.h:166:9 + // MacroObject @ api_flags.h:154:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsAperiodicComponentMonitors = 4; + public const uint EcsQueryHasRefs = 2; - // MacroObject @ log.h:510:9 + // MacroObject @ log.h:491:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_GREEN = ""; + public const int ECS_ALREADY_IN_USE = 30; - // MacroObject @ api_flags.h:130:9 + // MacroObject @ api_flags.h:145:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasCopy = 1024; + public const uint EcsTableIsComplex = 13056; - // MacroObject @ api_flags.h:43:9 + // MacroObject @ api_flags.h:32:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsEntityObservedAcyclic = 268435456; - - // MacroObject @ flecs.h:235:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int ECS_COUNT_MAX = 64; + public const uint EcsOsApiLogWithTimeStamp = 4; - // MacroObject @ log.h:518:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_BOLD = ""; + // MacroObject @ api_defines.h:154:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_query_t_magic = 1701016433; - // MacroObject @ api_flags.h:123:9 + // MacroObject @ api_flags.h:112:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasIsA = 8; + public const uint EcsFilterIsFilter = 128; - // MacroObject @ api_flags.h:64:9 + // MacroObject @ api_flags.h:109:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdDontInherit = 128; - - // MacroObject @ meta.h:329:9 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - public const int ECS_META_MAX_SCOPE_DEPTH = 32; + public const uint EcsFilterMatchDisabled = 16; - // MacroObject @ api_support.h:24:9 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) - public const int ECS_HI_COMPONENT_ID = 256; + // MacroObject @ log.h:496:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_COLUMN_IS_SHARED = 43; - // MacroObject @ api_flags.h:65:9 + // MacroObject @ api_flags.h:51:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdAcyclic = 256; + public const uint EcsIdOnDeleteDelete = 2; - // MacroObject @ log.h:475:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_MISSING_OS_API = 9; + // MacroObject @ api_defines.h:158:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_trigger_t_magic = 1701016434; - // MacroObject @ log.h:469:9 + // MacroObject @ api_defines.h:159:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_observer_t_magic = 1701016418; + + // MacroObject @ log.h:478:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_CONSTRAINT_VIOLATED = 3; - - // MacroObject @ api_flags.h:98:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterNoResults = 64; + public const int ECS_ID_IN_USE = 12; - // MacroObject @ api_types.h:196:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_ids = 1; + // MacroObject @ api_defines.h:173:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_GENERATION_MASK = 281470681743360; - // MacroObject @ log.h:470:9 + // MacroObject @ log.h:514:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_OUT_OF_MEMORY = 4; - - // MacroObject @ api_flags.h:56:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteObjectRemove = 8; - - // MacroObject @ api_flags.h:50:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteRemove = 1; + public static string ECS_CYAN = ""; - // MacroObject @ flecs.h:223:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int ECS_ID_CACHE_SIZE = 32; + // MacroObject @ api_defines.h:176:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_COMPONENT_MASK = 72057594037927935; - // MacroObject @ log.h:482:9 + // MacroObject @ log.h:508:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_NAME_IN_USE = 21; - - // MacroObject @ api_types.h:201:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_match_indices = 32; - - // MacroObject @ api_flags.h:158:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsQueryHasMonitor = 32; + public static string ECS_BLACK = ""; // MacroObject @ log.h:501:9 // aarch64-apple-darwin (flecs/addons/log.h) @@ -10620,165 +10511,173 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\addons\log.h) public const int ECS_INVALID_FROM_WORKER = 72; - // MacroObject @ api_flags.h:157:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsQueryHasOutColumns = 16; - - // MacroObject @ log.h:500:9 + // MacroObject @ log.h:487:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_LOCKED_STORAGE = 71; + public const int ECS_INCONSISTENT_COMPONENT_ID = 26; - // MacroObject @ api_flags.h:97:9 + // MacroObject @ api_flags.h:33:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterEntityOptional = 32; + public const uint EcsOsApiLogWithTimeDelta = 8; - // MacroObject @ api_flags.h:108:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchPrefab = 8; + // MacroObject @ api_types.h:198:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_sources = 4; - // MacroObject @ api_defines.h:166:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const uint ECS_ROW_FLAGS_MASK = 4026531840; + // MacroObject @ flecs.h:427:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const uint EcsParent = 32; - // MacroObject @ api_flags.h:129:9 + // MacroObject @ api_flags.h:139:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasDtors = 512; + public const uint EcsTableHasUnSet = 262144; - // MacroObject @ api_types.h:200:9 + // MacroObject @ api_types.h:197:9 // aarch64-apple-darwin (flecs/private/api_types.h) // x86_64-pc-windows-msvc (flecs\private\api_types.h) // x86_64-apple-darwin (flecs/private/api_types.h) // x86_64-unknown-linux-gnu (flecs/private/api_types.h) // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_ptrs = 16; + public const uint flecs_iter_cache_columns = 2; - // MacroObject @ api_flags.h:68:9 + // MacroObject @ api_flags.h:108:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdUnion = 2048; + public const uint EcsFilterMatchPrefab = 8; - // MacroObject @ api_flags.h:42:9 + // MacroObject @ api_defines.h:157:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_filter_t_magic = 1701016422; + + // MacroObject @ api_flags.h:156:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsEntityObservedObject = 536870912; + public const uint EcsQueryIsOrphaned = 8; - // MacroObject @ api_flags.h:72:9 + // MacroObject @ api_flags.h:113:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdHasOnSet = 131072; - - // MacroObject @ api_defines.h:159:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_observer_t_magic = 1701016418; + public const uint EcsFilterIsInstanced = 256; - // MacroObject @ api_flags.h:53:9 + // MacroObject @ api_flags.h:18:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteMask = 7; + public const uint EcsWorldQuitWorkers = 1; - // MacroObject @ vector.h:43:9 - // aarch64-apple-darwin (flecs/private/vector.h) - // x86_64-pc-windows-msvc (flecs\private\vector.h) - // x86_64-apple-darwin (flecs/private/vector.h) - // x86_64-unknown-linux-gnu (flecs/private/vector.h) - // aarch64-pc-windows-msvc (flecs\private\vector.h) - public const int ECS_VECTOR_T_SIZE = 16; + // MacroObject @ log.h:515:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public static string ECS_WHITE = ""; - // MacroObject @ api_flags.h:20:9 + // MacroObject @ api_flags.h:59:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldQuit = 4; + public const uint EcsIdOnDeleteObjectMask = 56; - // MacroObject @ api_flags.h:141:9 + // MacroObject @ flecs.h:229:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const int ECS_TERM_DESC_CACHE_SIZE = 16; + + // MacroObject @ log.h:484:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_INVALID_COMPONENT_SIZE = 23; + + // MacroObject @ api_flags.h:121:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableMarkedForDelete = 1073741824; + public const uint EcsTableHasBuiltins = 2; - // MacroObject @ api_flags.h:57:9 + // MacroObject @ api_flags.h:64:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteObjectDelete = 16; + public const uint EcsIdDontInherit = 128; - // MacroObject @ api_flags.h:63:9 + // MacroObject @ api_flags.h:53:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdExclusive = 64; - - // MacroObject @ flecs.h:409:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int EcsParent = 32; + public const uint EcsIdOnDeleteMask = 7; - // MacroObject @ api_flags.h:146:9 + // MacroObject @ api_flags.h:73:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasAddActions = 168200; + public const uint EcsIdHasUnSet = 262144; - // MacroObject @ api_defines.h:171:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_ROLE_MASK = 18374686479671623680; + // MacroObject @ log.h:511:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public static string ECS_YELLOW = ""; + + // MacroObject @ log.h:518:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public static string ECS_BOLD = ""; // MacroObject @ api_support.h:38:9 // aarch64-apple-darwin (flecs/private/api_support.h) @@ -10788,485 +10687,589 @@ public enum ecs_meta_type_op_kind_t : int // aarch64-pc-windows-msvc (flecs\private\api_support.h) public const int FLECS__E0 = 0; - // MacroObject @ api_flags.h:51:9 + // MacroObject @ api_defines.h:321:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_OR = 17870283321406128128; + + // MacroObject @ log.h:494:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_COLUMN_INDEX_OUT_OF_RANGE = 41; + + // MacroObject @ api_flags.h:110:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteDelete = 2; + public const uint EcsFilterMatchEmptyTables = 32; - // MacroObject @ log.h:511:9 + // MacroObject @ api_flags.h:57:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsIdOnDeleteObjectDelete = 16; + + // MacroObject @ api_support.h:24:9 + // aarch64-apple-darwin (flecs/private/api_support.h) + // x86_64-pc-windows-msvc (flecs\private\api_support.h) + // x86_64-apple-darwin (flecs/private/api_support.h) + // x86_64-unknown-linux-gnu (flecs/private/api_support.h) + // aarch64-pc-windows-msvc (flecs\private\api_support.h) + public const int ECS_HI_COMPONENT_ID = 256; + + // MacroObject @ log.h:489:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_YELLOW = ""; + public const int ECS_MODULE_UNDEFINED = 28; + + // MacroObject @ api_types.h:196:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_ids = 1; - // MacroObject @ api_flags.h:106:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchThis = 2; + // MacroObject @ flecs.h:232:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const int ECS_OBSERVER_DESC_EVENT_COUNT_MAX = 8; - // MacroObject @ log.h:474:9 + // MacroObject @ log.h:516:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_ALREADY_DEFINED = 8; + public static string ECS_GREY = ""; - // MacroObject @ api_defines.h:156:9 + // MacroObject @ flecs.h:425:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const uint EcsDown = 8; + + // MacroObject @ api_defines.h:323:9 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_table_t_magic = 1701016436; + public const ulong ECS_NOT = 17726168133330272256; - // MacroObject @ api_defines.h:172:9 + // MacroObject @ api_defines.h:153:9 // aarch64-apple-darwin (flecs/private/api_defines.h) // x86_64-pc-windows-msvc (flecs\private\api_defines.h) // x86_64-apple-darwin (flecs/private/api_defines.h) // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_ENTITY_MASK = 4294967295; + public const int ecs_stage_t_magic = 1701016435; - // MacroObject @ api_flags.h:95:9 + // MacroObject @ api_flags.h:93:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterHasShared = 8; - - // MacroObject @ strbuf.h:27:9 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - public const int ECS_STRBUF_ELEMENT_SIZE = 511; + public const uint EcsIterIsFilter = 2; - // MacroObject @ api_flags.h:110:9 + // MacroObject @ api_flags.h:22:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchEmptyTables = 32; - - // MacroObject @ log.h:477:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_CONVERSION = 11; + public const uint EcsWorldMeasureFrameTime = 16; - // MacroObject @ log.h:489:9 + // MacroObject @ log.h:486:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_MODULE_UNDEFINED = 28; + public const int ECS_COMPONENT_NOT_REGISTERED = 25; - // MacroObject @ api_flags.h:113:9 + // MacroObject @ api_flags.h:72:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterIsInstanced = 256; - - // MacroObject @ api_types.h:199:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const uint flecs_iter_cache_sizes = 8; + public const uint EcsIdHasOnSet = 131072; - // MacroObject @ flecs.h:404:9 + // MacroObject @ flecs.h:428:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int EcsSelf = 1; + public const uint EcsIsVariable = 64; - // MacroObject @ log.h:494:9 + // MacroObject @ log.h:490:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_COLUMN_INDEX_OUT_OF_RANGE = 41; + public const int ECS_MISSING_SYMBOL = 29; - // MacroObject @ api_flags.h:154:9 + // MacroObject @ flecs.h:238:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const int ECS_CACHE_SIZE = 4; + + // MacroObject @ api_flags.h:43:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsQueryHasRefs = 2; + public const uint EcsEntityObservedAcyclic = 268435456; - // MacroObject @ log.h:472:9 - // aarch64-apple-darwin (flecs/addons/log.h) - // x86_64-pc-windows-msvc (flecs\addons\log.h) - // x86_64-apple-darwin (flecs/addons/log.h) - // x86_64-unknown-linux-gnu (flecs/addons/log.h) - // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_UNSUPPORTED = 6; + // MacroObject @ flecs.h:423:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const uint EcsSelf = 2; - // MacroObject @ rest.h:40:9 - // aarch64-apple-darwin (flecs/addons/rest.h) - // x86_64-pc-windows-msvc (flecs\addons\rest.h) - // x86_64-apple-darwin (flecs/addons/rest.h) - // x86_64-unknown-linux-gnu (flecs/addons/rest.h) - // aarch64-pc-windows-msvc (flecs\addons\rest.h) - public const int ECS_REST_DEFAULT_PORT = 27750; + // MacroObject @ api_defines.h:166:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const uint ECS_ROW_FLAGS_MASK = 4026531840; - // MacroObject @ api_flags.h:22:9 + // MacroObject @ meta.h:70:9 + // aarch64-apple-darwin (flecs/addons/meta.h) + // x86_64-pc-windows-msvc (flecs\addons\meta.h) + // x86_64-apple-darwin (flecs/addons/meta.h) + // x86_64-unknown-linux-gnu (flecs/addons/meta.h) + // aarch64-pc-windows-msvc (flecs\addons\meta.h) + public const int ECS_MEMBER_DESC_CACHE_SIZE = 32; + + // MacroObject @ api_flags.h:99:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldMeasureFrameTime = 16; + public const uint EcsIterIgnoreThis = 128; - // MacroObject @ api_flags.h:77:9 + // MacroObject @ api_defines.h:322:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_XOR = 17798225727368200192; + + // MacroObject @ http.h:30:9 + // aarch64-apple-darwin (flecs/addons/http.h) + // x86_64-pc-windows-msvc (flecs\addons\http.h) + // x86_64-apple-darwin (flecs/addons/http.h) + // x86_64-unknown-linux-gnu (flecs/addons/http.h) + // aarch64-pc-windows-msvc (flecs\addons\http.h) + public const int ECS_HTTP_HEADER_COUNT_MAX = 32; + + // MacroObject @ api_defines.h:171:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_ROLE_MASK = 18374686479671623680; + + // MacroObject @ api_flags.h:68:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdMarkedForDelete = 1073741824; + public const uint EcsIdUnion = 2048; - // MacroObject @ api_flags.h:21:9 + // MacroObject @ flecs.h:921:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const ulong ECS_ROLE = 9223372036854775808; + + // MacroObject @ api_flags.h:127:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldFini = 8; + public const uint EcsTableIsDisabled = 128; - // MacroObject @ api_flags.h:23:9 + // MacroObject @ vector.h:43:9 + // aarch64-apple-darwin (flecs/private/vector.h) + // x86_64-pc-windows-msvc (flecs\private\vector.h) + // x86_64-apple-darwin (flecs/private/vector.h) + // x86_64-unknown-linux-gnu (flecs/private/vector.h) + // aarch64-pc-windows-msvc (flecs\private\vector.h) + public const int ECS_VECTOR_T_SIZE = 16; + + // MacroObject @ api_flags.h:92:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsWorldMeasureSystemTime = 32; - - // MacroObject @ flecs.h:229:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int ECS_TERM_DESC_CACHE_SIZE = 16; + public const uint EcsIterIsValid = 1; - // MacroObject @ api_defines.h:321:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_OR = 17870283321406128128; + // MacroObject @ api_types.h:203:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const int flecs_iter_cache_all = 255; - // MacroObject @ api_support.h:31:9 - // aarch64-apple-darwin (flecs/private/api_support.h) - // x86_64-pc-windows-msvc (flecs\private\api_support.h) - // x86_64-apple-darwin (flecs/private/api_support.h) - // x86_64-unknown-linux-gnu (flecs/private/api_support.h) - // aarch64-pc-windows-msvc (flecs\private\api_support.h) - public const int ECS_MAX_TOKEN_SIZE = 256; + // MacroObject @ log.h:469:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_CONSTRAINT_VIOLATED = 3; - // MacroObject @ api_flags.h:40:9 + // MacroObject @ api_flags.h:97:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsEntityObserved = 2147483648; + public const uint EcsIterEntityOptional = 32; - // MacroObject @ log.h:467:9 + // MacroObject @ log.h:495:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_OPERATION = 1; + public const int ECS_COLUMN_IS_NOT_SHARED = 42; - // MacroObject @ log.h:508:9 + // MacroObject @ flecs.h:426:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const uint EcsCascade = 16; + + // MacroObject @ log.h:471:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_BLACK = ""; - - // MacroObject @ api_defines.h:176:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_COMPONENT_MASK = 72057594037927935; + public const int ECS_OUT_OF_RANGE = 5; - // MacroObject @ api_flags.h:122:9 + // MacroObject @ api_flags.h:42:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableIsPrefab = 4; + public const uint EcsEntityObservedObject = 536870912; + + // MacroObject @ log.h:474:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_ALREADY_DEFINED = 8; - // MacroObject @ api_flags.h:67:9 + // MacroObject @ api_flags.h:123:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdWith = 1024; - - // MacroObject @ api_defines.h:153:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const int ecs_stage_t_magic = 1701016435; + public const uint EcsTableHasIsA = 8; - // MacroObject @ api_flags.h:111:9 + // MacroObject @ api_flags.h:131:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchAnything = 64; + public const uint EcsTableHasMove = 2048; - // MacroObject @ api_flags.h:58:9 + // MacroObject @ flecs.h:1163:9 + // aarch64-apple-darwin + // x86_64-pc-windows-msvc + // x86_64-apple-darwin + // x86_64-unknown-linux-gnu + // aarch64-pc-windows-msvc + public const int EcsFirstUserComponentId = 32; + + // MacroObject @ api_flags.h:157:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeleteObjectPanic = 32; + public const uint EcsQueryHasOutColumns = 16; - // MacroObject @ log.h:516:9 + // MacroObject @ log.h:485:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_GREY = ""; - - // MacroObject @ flecs.h:238:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int ECS_CACHE_SIZE = 4; + public const int ECS_INVALID_COMPONENT_ALIGNMENT = 24; - // MacroObject @ log.h:491:9 + // MacroObject @ log.h:473:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_ALREADY_IN_USE = 30; + public const int ECS_INTERNAL_ERROR = 7; - // MacroObject @ api_defines.h:322:9 - // aarch64-apple-darwin (flecs/private/api_defines.h) - // x86_64-pc-windows-msvc (flecs\private\api_defines.h) - // x86_64-apple-darwin (flecs/private/api_defines.h) - // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) - // aarch64-pc-windows-msvc (flecs\private\api_defines.h) - public const ulong ECS_XOR = 17798225727368200192; + // MacroObject @ api_flags.h:137:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsTableHasOnRemove = 65536; - // MacroObject @ api_flags.h:33:9 + // MacroObject @ api_flags.h:70:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsOsApiLogWithTimeDelta = 8; + public const uint EcsIdHasOnAdd = 32768; - // MacroObject @ api_flags.h:126:9 + // MacroObject @ api_flags.h:19:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasModule = 64; + public const uint EcsWorldReadonly = 2; - // MacroObject @ stats.h:18:9 - // aarch64-apple-darwin (flecs/addons/stats.h) - // x86_64-pc-windows-msvc (flecs\addons\stats.h) - // x86_64-apple-darwin (flecs/addons/stats.h) - // x86_64-unknown-linux-gnu (flecs/addons/stats.h) - // aarch64-pc-windows-msvc (flecs\addons\stats.h) - public const int ECS_STAT_WINDOW = 60; + // MacroObject @ log.h:510:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public static string ECS_GREEN = ""; - // MacroObject @ strbuf.h:28:9 - // aarch64-apple-darwin (flecs/private/strbuf.h) - // x86_64-pc-windows-msvc (flecs\private\strbuf.h) - // x86_64-apple-darwin (flecs/private/strbuf.h) - // x86_64-unknown-linux-gnu (flecs/private/strbuf.h) - // aarch64-pc-windows-msvc (flecs\private\strbuf.h) - public const int ECS_STRBUF_MAX_LIST_DEPTH = 32; + // MacroObject @ api_flags.h:65:9 + // aarch64-apple-darwin (flecs/private/api_flags.h) + // x86_64-pc-windows-msvc (flecs\private\api_flags.h) + // x86_64-apple-darwin (flecs/private/api_flags.h) + // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) + // aarch64-pc-windows-msvc (flecs\private\api_flags.h) + public const uint EcsIdAcyclic = 256; - // MacroObject @ api_flags.h:107:9 + // MacroObject @ log.h:479:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_CYCLE_DETECTED = 13; + + // MacroObject @ api_flags.h:129:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterMatchOnlyThis = 4; + public const uint EcsTableHasDtors = 512; - // MacroObject @ api_flags.h:114:9 + // MacroObject @ api_flags.h:20:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsFilterPopulate = 512; + public const uint EcsWorldQuit = 4; - // MacroObject @ api_flags.h:52:9 + // MacroObject @ api_flags.h:155:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdOnDeletePanic = 4; + public const uint EcsQueryIsSubquery = 4; - // MacroObject @ log.h:513:9 + // MacroObject @ api_types.h:202:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_variables = 64; + + // MacroObject @ log.h:476:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public static string ECS_MAGENTA = ""; + public const int ECS_OPERATION_FAILED = 10; + + // MacroObject @ api_defines.h:156:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const int ecs_table_t_magic = 1701016436; + + // MacroObject @ log.h:493:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_ACCESS_VIOLATION = 40; - // MacroObject @ flecs.h:410:9 + // MacroObject @ flecs.h:226:9 // aarch64-apple-darwin // x86_64-pc-windows-msvc // x86_64-apple-darwin // x86_64-unknown-linux-gnu // aarch64-pc-windows-msvc - public const int EcsNothing = 64; + public const int ECS_TERM_CACHE_SIZE = 4; - // MacroObject @ api_flags.h:121:9 + // MacroObject @ api_flags.h:74:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasBuiltins = 2; + public const uint EcsIdEventMask = 491520; - // MacroObject @ api_flags.h:99:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIterIgnoreThis = 128; + // MacroObject @ log.h:475:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_MISSING_OS_API = 9; - // MacroObject @ flecs.h:408:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int EcsAll = 16; + // MacroObject @ api_defines.h:320:9 + // aarch64-apple-darwin (flecs/private/api_defines.h) + // x86_64-pc-windows-msvc (flecs\private\api_defines.h) + // x86_64-apple-darwin (flecs/private/api_defines.h) + // x86_64-unknown-linux-gnu (flecs/private/api_defines.h) + // aarch64-pc-windows-msvc (flecs\private\api_defines.h) + public const ulong ECS_AND = 17942340915444056064; - // MacroObject @ api_flags.h:70:9 + // MacroObject @ api_flags.h:144:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsIdHasOnAdd = 32768; + public const uint EcsTableHasLifecycle = 768; - // MacroObject @ api_flags.h:156:9 + // MacroObject @ api_flags.h:66:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsQueryIsOrphaned = 8; + public const uint EcsIdTag = 512; - // MacroObject @ log.h:468:9 + // MacroObject @ log.h:470:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_INVALID_PARAMETER = 2; + public const int ECS_OUT_OF_MEMORY = 4; - // MacroObject @ log.h:497:9 + // MacroObject @ log.h:500:9 // aarch64-apple-darwin (flecs/addons/log.h) // x86_64-pc-windows-msvc (flecs\addons\log.h) // x86_64-apple-darwin (flecs/addons/log.h) // x86_64-unknown-linux-gnu (flecs/addons/log.h) // aarch64-pc-windows-msvc (flecs\addons\log.h) - public const int ECS_COLUMN_TYPE_MISMATCH = 45; - - // MacroObject @ flecs.h:1189:9 - // aarch64-apple-darwin - // x86_64-pc-windows-msvc - // x86_64-apple-darwin - // x86_64-unknown-linux-gnu - // aarch64-pc-windows-msvc - public const int EcsFirstUserEntityId = 384; - - // MacroObject @ api_types.h:203:9 - // aarch64-apple-darwin (flecs/private/api_types.h) - // x86_64-pc-windows-msvc (flecs\private\api_types.h) - // x86_64-apple-darwin (flecs/private/api_types.h) - // x86_64-unknown-linux-gnu (flecs/private/api_types.h) - // aarch64-pc-windows-msvc (flecs\private\api_types.h) - public const int flecs_iter_cache_all = 255; + public const int ECS_LOCKED_STORAGE = 71; - // MacroObject @ meta.h:70:9 - // aarch64-apple-darwin (flecs/addons/meta.h) - // x86_64-pc-windows-msvc (flecs\addons\meta.h) - // x86_64-apple-darwin (flecs/addons/meta.h) - // x86_64-unknown-linux-gnu (flecs/addons/meta.h) - // aarch64-pc-windows-msvc (flecs\addons\meta.h) - public const int ECS_MEMBER_DESC_CACHE_SIZE = 32; + // MacroObject @ log.h:482:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_NAME_IN_USE = 21; - // MacroObject @ api_flags.h:167:9 + // MacroObject @ api_flags.h:98:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsAperiodicEmptyQueries = 16; + public const uint EcsIterNoResults = 64; - // MacroObject @ api_flags.h:137:9 - // aarch64-apple-darwin (flecs/private/api_flags.h) - // x86_64-pc-windows-msvc (flecs\private\api_flags.h) - // x86_64-apple-darwin (flecs/private/api_flags.h) - // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) - // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsTableHasOnRemove = 65536; + // MacroObject @ log.h:509:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public static string ECS_RED = ""; - // MacroObject @ api_flags.h:31:9 + // MacroObject @ api_types.h:200:9 + // aarch64-apple-darwin (flecs/private/api_types.h) + // x86_64-pc-windows-msvc (flecs\private\api_types.h) + // x86_64-apple-darwin (flecs/private/api_types.h) + // x86_64-unknown-linux-gnu (flecs/private/api_types.h) + // aarch64-pc-windows-msvc (flecs\private\api_types.h) + public const uint flecs_iter_cache_ptrs = 16; + + // MacroObject @ log.h:472:9 + // aarch64-apple-darwin (flecs/addons/log.h) + // x86_64-pc-windows-msvc (flecs\addons\log.h) + // x86_64-apple-darwin (flecs/addons/log.h) + // x86_64-unknown-linux-gnu (flecs/addons/log.h) + // aarch64-pc-windows-msvc (flecs\addons\log.h) + public const int ECS_UNSUPPORTED = 6; + + // MacroObject @ api_flags.h:114:9 // aarch64-apple-darwin (flecs/private/api_flags.h) // x86_64-pc-windows-msvc (flecs\private\api_flags.h) // x86_64-apple-darwin (flecs/private/api_flags.h) // x86_64-unknown-linux-gnu (flecs/private/api_flags.h) // aarch64-pc-windows-msvc (flecs\private\api_flags.h) - public const uint EcsOsApiLogWithColors = 2; + public const uint EcsFilterPopulate = 512; #endregion From af506d8098cbfe9dca78ac866508c0c6be592157 Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 18:11:07 +0200 Subject: [PATCH 2/6] re-adding missing stuff after fix --- .vs/flecs/v17/.suo | Bin 49664 -> 51200 bytes src/cs/production/Flecs/World.cs | 20 +++++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.vs/flecs/v17/.suo b/.vs/flecs/v17/.suo index 5a682405daa76e705b78640970d9009441530bfa..4b0f3e41f7c82efcc4cc3d88ce0a36635678f24b 100644 GIT binary patch literal 51200 zcmeHQdvqMtc^_FA^GJBq#!VAy6jwX~jJi8J`;t?zv|8DuHa5t}IN8|jW7d|Dw2D@i zt=c3e&_JM2QcOb$f$|6xLZG}FAfz#`9s(!9J%>`vX;OM}PTJG-gtq_CQyS>+H+Qaf zcD;`o?MT+zbN75ZckbLf-+g`G{qA?~cjv$xr@nj7DA`LLCc(pE_%7Qkx_>*|qphZ~glpVk_tPG+2gsnEreFzz^h1d!w{*S>= zI%GZ?L^mJbkNZjWQvoLf;(%_z3czOpe*m}ua3NqNpa;+kNC4O_#MO`MD!^*MMS#x% z{t&PRumx~2U=UC*UmNj!lNIOlxPAeU0&KRzSWmxY`T3qDHh;bMdi`uJ>Homyf86KO zzvyT4h5luKl6-*ulJw7T`bqEfled%3>6i3>9PT@;Fou)n(t90R9Yc zD_|esHo%_)z6rP;@E3qP0N(=K3HUbPF2LOYzOxd(gYX9c4+8!Q@IAo8fbRkx0Wkiv zxIPB>YwP|A>-rR~Ph0-)TV{eQ|ll!fSg`ainqf7I;z z1}JW3?qgQ}YeRCU^hdej6Ej0sHI>``U-czT1hz8%dh^dgC5U-mRMG0x%}n^ujdBIj0=`KV{19%C_pGRj9SlE(Ht#HUKUI3<5R+E(dG^d>-%xKnn0h0Chmbe}#4B z95@T0v~2+LfUSUSfFZzkz?FbuzzARzPymbpz62Nt6agH=cK{{;~)s zTm|?t;46T=fCS!}M(QGRJp}AK5kg5@aH0CLCz6x@ner#w$SMD0*_oE^GT@@tHI349 zzEM6OV5#am&OeCvSVWr*{EhU{XMz7N1a9`%*}yNy0QT)_?tH8Kq`{fscQXExzG^u+ z{t`D`t$6nE8*%fb72pIv>A9AZ_{krf;=dVjZ?j%_w2%L*LG?M4_C~?OhCz+}pvGY{ zgc3<3C+Y7*M08sJcKYuH~y8%KjN(-h~`c7N10ZD1$e0vj3lih)(g}gSf|7FYZA*Q|~r~ ze6R)vfVE)i-&Dx|39Lzl@aut$6UToPvJIu0l4JW*rlOqX6#ri$F6)fWKHpi3oG>>+ z6V`=i)PjxH)dy-b=>Nnm$Fq9)6X*f#69x3nRTh63gY=cgz0}TKfbz2~S#~;>sgYZN z2$W^%oZ^>#gxp{ZxstAX2IX%(WG19?s$jGaiP$;VExs0L4 zvW$zY+glhR84DvoEnX#!@*!EqJ_0!+riF2Fcc5!xu}}cA{wx!H8qw`>n2v+ z2x+l&(7@Z`k$f;8GGb~z%4pdfq8Yik8i^TMEt~~TO>2MY^_5ni{7HxM(APp&ef6z(Pj344pfCT| zpMMqXfu0OHAQ|=j?=KZCy&KfexE|kAdMF@2~PRE~>h%4or5GbumiVyXYDhkwv4Id?^-F%ytwXNnwZW*h25QC6b-XSysu z>wXD9xHi*nOWwJ?vK-WB&eYk{|NP9eGCN+*w!d;gckf+;i_hJ1{Ps)eAAjoJg;`exF<_k$npUcPZ? zG*{R;U`$L5jczS2@7{eCw+S@msAI2m)xt{kULLzz+-hM=RV}=ku#}~(<(edEz60EE z$kf(ywzL-hES`{8aTkVgr{F@KnlLrKLfh*keIAtDVeY*sg41y&r~|r(3HWosQvf~< z{8+;;g?Do$WCYJ>D@N@*b;}9-%hd^yzX2;W2vR)l30`c`x*tI=Vq1*2bUPHy^-K1oR-pk>Fnf+%P-z_+sLc5;$Y6R)^`6QS zQ2rY+OYm}wP;q4mxMokDD*BYLENTUQDswEUU3e{A!D~g|MZ*5-q|t433Dc zOWT|c4bN(81XrGM#+HkpS{}V7 z#O$u0S6|w==au2NR=%>~pF95bvkRwwdBOjDX~DMWlF#kk^3spHPSyVRSJ&IiC~L8p z%5w*Sip<-~u(xe?3t-=?QLQju%a)ZKWfEMG+;JTJcnGstQX^WrCFJC4Wubi{^%6rE zv4rg0Dq|LRs0<_5d9+7K?veM3(%R(^rDN}E&2k(%CnFPS?4E=}WnpnUDJqm=6No2u6PHttukq6mB5kBwhwB5p#37zwKniZzlbzs6fvBf%}9* zku}CI_Sdy371BuuaY*!L8L26dFeXj4Ga-n zk(`k=--T0ExU-kKk|L~cDxV*k3)sE5MZwMMV)Gq0FmA&n)ET19?h%Py(oRb<=@x-~ zXf`ZG4-LSnd}hTuL)@kuCd95g2Z_+YP(;PHlQwHpW*tRe{We>T{0`$+z?NYl&g9IT zmy?pB{3kepWJdcIY%|q?lW4y&l$ZxyiGvO}EyFRR$rj%PY{{?9bI@@ zo)?Bx5+&2h?W)WP6^iBkY&PC0W(KkbSUaz_wPMYP5=gbKDAi?x`75gf7zgb?b^5Np z&z^>UI_iIE6)d_8tro?4=?ZhbV>fI8lF;hvum>1WI#2vf&v`e!u=??L9)4r-cQ&59 zMmg}@e_ek4@@JEebpJ#4_V;(uJOFM$iRG8P_~DDo*4+Q?+@s%I_FlYJOj;IBAVnqC z5b)~IL{mo)1%4I(96Q${x5H+qq~@C19OwCufY~MSrlhIkrccMOAM1`PRwjG#REIAP zoDswbBfJlxy?7SK?<$NlIoK?g5h z?h-5C(Ti04h43b>tA^kgWu2WVe}fuds4G zmhu$Ga|2eSv{{)_I#4I;VZYf0M#iz87CYPE<7RVv-{EdcZ}U^yGwC)jTrJ#<+U+xI zT|++(q5V|=L&EUs=v4{)*ym_-!+sbs`yB5AW;~|jYPr)E5m=LEn*@+DVBzXRZ(vU# zR<6v5-lyS8tnBki#OOypg21K&D=EM!R?!c<#Og&q@G?Km_5)HJ=`V^JCr?uW{brrB zMZ$POF2J^C9MUcKO0X6B&^lqH*3EWt*CJkG^`b?*%ull|5=KifKRRldBLl|;TEVgQ z8AeXb7D?bry5a5=TEr#Hmf_Bo9)!5(mEK|XqD8!{g=SlXHOrdkh!{5OoO^;u9c&Rw z102W5GlOUc741U4)r-4+q==$LG+aY2xt5n$y=W0H^V4jLu+}*)CGj6u_K0Ps%gmvf z2HPoAK96*uQT2KZ$OR19+%B*SPkJC2jUg!q>oo3ZY@CIUOAH$jk8^<(wqH?%>qI>I z0vO=QCb`5|nz0Dk_m=a2_Wm&|6GJyYv+1pM7q9#I3#(o_?VacEzwge4uOGN|-y=Np zVp`Y#0d{2E^Zj<^f#=$l>tAVCVtW@U5lFSWu34lU|97Q$Oyk1Mvi)2$C9YLMxgua* z*Sl%IKD5_Pv?gbvJTL>T9S6;kdyxW3k(6zO6dA)EDKcR4O3D;TJfUop08KiVVuc)0 z-s_sf>IFr5nV)7UvJdqcM_u>g%CSqxZh{{&pX7-mj3X51HI(VO^Rfr6k^nHBbIFc6 z%kmkIoGA+B0;TWc%u{rBoA34}Z!3^nO3z-F){CCtWqz9N3AEFv1j$(;0ds3o*cyXrI>HfUD|(}I$+=a+j;+=PxjxH?QgdSv)iW7 z)})%_`Exv@(T)8R&kEaMy{r;{_5N?qNqH_{f7aHCpz{Gv`4972>-+(MiTm!j$Y(&h z;*^<|Nn+1EL+y^|FA;AC0-fSN9&siAb7p@fxulT#xr8Sj&L1-IpXCBS&kLj73Z1=X z{qvv7&%d&tKP4?JC~42P^PhP3*i6rVveUaPqi_F71(^XW8gc%$6Z=onv{U+@PxhZ2 z@5Pn?aSmO{(n<0hp;Msk5jPXa?I`3ObUgp;)3}}ia9V!5{UudeJn4_SDfxaoKU$Ax z+(AT|Blc=z5WoL$x`o>*{j@uv~@ zISK)A>#zZ4JH{7oDyXdELFkkkIh;Re;^pg{;@^U}gVu|kjX%EquW$cby(czn|7uU~ z+y7Rt<9eaK{jYET>)Zb-if{kR(}NF}1-WnkJ9l+oX_e&L|IYmh3YBfZjnt!<$N2WY zhrca+`(JrB$>BI#MACq?DEI9@X$@6*YRuti8EP_o`%hsPIRDzixBsj+%dP*c8T(D& z{*zX+zWry(K)9MM>uSh%{7Q~9GfaGet-dW`(o}Vq?D)FyxnrS(7Yh$m1XtSSIkS>H zOo*>=TV5_M`1YS1jC}jgG4zGju#6QsJ)-PCYo4$pH$;~9Y|iFJ$;aEQeWl@KudeH% zel-}nK-0--gQL&-bb!KbUZ#7F{-~QLP|Fv5kd$CL3ODpKoo-yD4SK8ViYV$6v zHN3R9^`akmnV)9+ftQxAPEH{ZE#f6sFIvRQ{50DlURu67ZxJuCdeI_Y=BL>f@zV0u zNsG9#ZSyW~(zeaJH+Gp{F=+PGjK=x#?SC77Vzc%PTg>Omk5nuF)aksp|8;JC-z+Ea z(&E+$ClI5hmsq{v&0glG*%tBA^3{2Zc!|}E7V$Da&9;bd|LfcTMq0}L*Vq5eRHb%g z=>O(Uzbe$n&TZ!pYyG;-Y#R>!1ek7UrGHAo5q3(#JmHe20l;=kwEs7EMPo0oA|>J1WG+7}h#- zc{OaL^P#wI7@=vHpl&OFeF*wNl&`txqUp zn?2}sZ}N~2)19~fm+&uxpSGjoTy#a@x0S3@#hiXRYNivvBZ~g#ZcLEf z%<0)_Ek&OG{BQceK8$)t+$niS?)(oOx7ug@Y&y*PbV!!$ersN7pWEec@H8exsram) zW8U0}6E?-(>=EQ>6rSz$RTt&4=92yaoQLha(h@C{f8ug(H{km7e{nKxl@n-7S_W@* z79L2&Ahb&edFm@ z{M&UuT=C;amtT3~|Lxpz;a5(+h5Usli`iX?=XklfN}S{~=0bX*{8cWEHQv%y`h1_1 znW#hfGEQIX#@i0hhcv_|121)zhbkX~IOGEzigGN89SnzzyqXDx@b!>f#!zEg2Dj;0CKigN1L3^3_u7M zWTFu@n$O2n-3X`EbUYJNwO|J8oO(pdM)U0lJN0ZP6p2M5Y9Nr!s|b#&X)Tabqp@^2 z7z{oL(Xj37hy$>=X?0mEfB6B)?4yn>6!<2$bm%`2QhTXqs$z0|#FzON;@g9lyIyTT0W% zqJXriFJL_A0<8O)!$?eMxFAlpM$dcWD?|yDKk91o$7e5r2 z>)5K^t9-4pXdJc_1>%zq(d|)4K{-XifFPY)Q7|LtVMRgj(a~ai;d)$r!a-c97jX!2 z7;yw~6an4($y!o_cl8+%8GUtk-Q-}BTVN=o%|?lw66|&GCshfQ6SSwp>;o{ERB4bs zqkI_V?+1VKR$(8qGzg;L-?k^^raiWQ%^sa>4_u4O7HB)jZQ2sBo5MkKqPCR!vGMK< z5-e8~R$yC;@E}$qRv{?i>JV!Xur0nbn0wa1S#h8yE*&Dcl3N95`5c{ufCQx7~d(@akZO6fv2oA2tpNCHq3xg9}2KnGpLaAy&vsUVuuz(3!3R4xp zm2npgjLr*jh{z07hpRc~Z`!B+MX|41$VTl^M*H$)qoYrufPf?oIl7o}O5fAx_yyZ9 zy}D@ps_&Ct{uU+O2yE2g~4^>2osVt|6t8D^qYlguwJd=*X>(92rR62^1euc6}gZ5A#tXa_CrT zVMl(!;Q|JACQ%Cb<{ChspAR?YI1f8{5a;fJ1^F3lEPOO~Ha}A%Ip^)nApNG{I#c*-J%+|vCfr*B77?L*bS$WCU(K2vUEroMc#SpF% z!I)-)pIou9#F7E~E1$p_(jd9kcx2ZAqZ-G7=oEw1W_Yb?x+GSIbr5jI?XEFGDnAiD zx8v^ktr*BLsG5XO1IcF5uCZwFr|%3c3v1v+PYK_^g;s5;hKN}8)QsLs!vG9BU7PZgbQKga1 zzQ*=7zP5I_*gu1vKz8RSR?QCPF0$covm>{xw7_1Plj$t5=Vj*PxNVt^(i}&o&E~MV zX4=Zi%3OI{I*Tisz4c|yEsfriPFImv6WMsei7zsjacKxx?db+tAw5wx$6- z>(70-v$OYAFJl^8ea*g&qkN?hblyP#a}LF@dq&Tr<=p?{uq=*T+tOI?&8qiu)_ZS} z*Ylv7Pw0a_@p-f5PcI;1=E*xv%%~ZH$3fRN>*s&qp51fE8(esoHMT1!pl=Ni_ zBRCdV7)mgVVBAF|QdNPU`^wBz24xE5g~@1o(z^dqw#1rB<F6L}{kI5v8;Z*FK<`K|)8Sw7>d;Ib>__KN^^4Qzw1+S%~M zX;WS?UMcIiMy{1B!8adW`1CSb%e5enZeR5drVD8i=c3C8#-5%AZ`Y33qnbkS?dfz# zk&I)o+7Jsq38f~K4Nv0X=5aopupJ**K29!0T@?utqs&ZvT#jxPyT|3|j(5Q0a`Xt5 zqm28NBl)39HG>Mmh?=3+2&HCFIY_!&tr%4z)JkT2^s1L?+VE>z+BM)~R1%@uVjKAk H9~S%xZ2A2( diff --git a/src/cs/production/Flecs/World.cs b/src/cs/production/Flecs/World.cs index a51eef8..ff36404 100644 --- a/src/cs/production/Flecs/World.cs +++ b/src/cs/production/Flecs/World.cs @@ -48,11 +48,9 @@ public void RegisterComponent(ComponentHooks? hooks = null) var structSize = Unsafe.SizeOf(); var structAlignment = structLayoutAttribute!.Pack; - var id = default(ecs_entity_t); + var id = CreateEntityRaw(componentName); ecs_component_desc_t desc; desc.entity = id; - ////desc.entity.name = componentNameC; - ////desc.entity.symbol = componentNameC; desc.type.size = structSize; desc.type.alignment = structAlignment; id = ecs_component_init(Handle, &desc); @@ -113,9 +111,11 @@ public void RegisterSystem( private void FillSystemDescriptorCommon( ref ecs_system_desc_t desc, CallbackIterator callback, ecs_entity_t phase, string? name) { - desc.query.filter.name = name ?? callback.Method.Name; - ////desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; - ////desc.entity.add[1] = phase; + ecs_entity_desc_t edesc = default; + edesc.name = name ?? callback.Method.Name; + edesc.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; + edesc.add[1] = phase; + desc.entity = ecs_entity_init(Handle, &edesc); desc.callback.Data.Pointer = &SystemCallback; desc.binding_ctx = (void*)CallbacksHelper.CreateSystemCallbackContext(this, callback); } @@ -129,12 +129,18 @@ private static void SystemCallback(ecs_iter_t* it) data.Callback(iterator); } - public Entity CreateEntity(string name) + private ecs_entity_t CreateEntityRaw(string name) { var desc = default(ecs_entity_desc_t); desc.name = name; var entity = ecs_entity_init(Handle, &desc); + return entity; + } + + public Entity CreateEntity(string name) + { + var entity = CreateEntityRaw(name); var result = new Entity(this, entity); return result; } From 8af0454fee48f8fc6922e61e1355ea28592fca17 Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 18:14:44 +0200 Subject: [PATCH 3/6] renaming --- src/cs/examples/Flecs.Examples.HelloWorld/Program.cs | 4 ++-- src/cs/production/Flecs/Iterator.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cs/examples/Flecs.Examples.HelloWorld/Program.cs b/src/cs/examples/Flecs.Examples.HelloWorld/Program.cs index ec27a5e..131b88c 100644 --- a/src/cs/examples/Flecs.Examples.HelloWorld/Program.cs +++ b/src/cs/examples/Flecs.Examples.HelloWorld/Program.cs @@ -34,8 +34,8 @@ internal static class Program // components they have, and each group has its own set of component arrays. private static void Move(Iterator iterator) { - var p = iterator.Term(1); - var v = iterator.Term(2); + var p = iterator.Field(1); + var v = iterator.Field(2); // Print the set of components for the iterated over entities var tableString = iterator.Table().String(); diff --git a/src/cs/production/Flecs/Iterator.cs b/src/cs/production/Flecs/Iterator.cs index b0ccf3a..5c3836c 100644 --- a/src/cs/production/Flecs/Iterator.cs +++ b/src/cs/production/Flecs/Iterator.cs @@ -22,7 +22,7 @@ internal Iterator(World world, ecs_iter_t* it) Handle = it; } - public Span Term(int index) + public Span Field(int index) { var structSize = Marshal.SizeOf(); var pointer = ecs_field_w_size(Handle, (ulong) structSize, index); From ec0f3e3f831bc8c607c3466445c2e834fe0ce8f4 Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 20:29:04 +0200 Subject: [PATCH 4/6] fix systems --- src/cs/production/Flecs/World.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/cs/production/Flecs/World.cs b/src/cs/production/Flecs/World.cs index ff36404..ba31686 100644 --- a/src/cs/production/Flecs/World.cs +++ b/src/cs/production/Flecs/World.cs @@ -4,8 +4,10 @@ using System; using System.Collections.Generic; using System.Diagnostics; +using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using flecs_hub; using JetBrains.Annotations; using static flecs_hub.flecs; @@ -55,7 +57,6 @@ public void RegisterComponent(ComponentHooks? hooks = null) desc.type.alignment = structAlignment; id = ecs_component_init(Handle, &desc); _componentIdentifiersByType[typeof(TComponent)] = id.Data.Data; - SetHooks(hooks, id); } @@ -97,10 +98,7 @@ public void RegisterSystem( ecs_system_desc_t desc = default; desc.query.filter.name = name ?? callback.Method.Name; var phase = EcsOnUpdate; - ////desc.entity.add[0] = phase.Data != 0 ? ecs_pair(EcsDependsOn, phase) : default; - ////desc.entity.add[1] = phase; - desc.callback.Data.Pointer = &SystemCallback; - desc.binding_ctx = (void*)CallbacksHelper.CreateSystemCallbackContext(this, callback); + FillSystemDescriptorCommon(ref desc, callback, phase, name); var componentName1 = GetFlecsTypeName(); var componentName2 = GetFlecsTypeName(); From d52cc80f40477146df4ed460872a74b64f221fdb Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 20:29:15 +0200 Subject: [PATCH 5/6] naming --- src/cs/production/Flecs/World.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cs/production/Flecs/World.cs b/src/cs/production/Flecs/World.cs index ba31686..c010dfd 100644 --- a/src/cs/production/Flecs/World.cs +++ b/src/cs/production/Flecs/World.cs @@ -4,10 +4,8 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using flecs_hub; using JetBrains.Annotations; using static flecs_hub.flecs; From c35327d6dbe23f83d6d9b22f1238ac4180a5fda0 Mon Sep 17 00:00:00 2001 From: BlackPhoenix134 Date: Thu, 28 Jul 2022 20:30:50 +0200 Subject: [PATCH 6/6] v3 naming adjustments --- .../Flecs.Examples.Entities.IterateComponents/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cs/examples/entities/Flecs.Examples.Entities.IterateComponents/Program.cs b/src/cs/examples/entities/Flecs.Examples.Entities.IterateComponents/Program.cs index f1a183a..d21e297 100644 --- a/src/cs/examples/entities/Flecs.Examples.Entities.IterateComponents/Program.cs +++ b/src/cs/examples/entities/Flecs.Examples.Entities.IterateComponents/Program.cs @@ -103,7 +103,7 @@ private static void IterateComponents(Entity entity) var pair = identifier.AsPair(); var relationName = pair.First.Name(); var objectName = pair.Second.Name(); - Console.Write("Relation: " + relationName + ", Object: " + objectName); + Console.Write("First: " + relationName + ", Second: " + objectName); } else {