Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
Bump ext/flecs from f9c7c3d to f3424e4 (#198)
Browse files Browse the repository at this point in the history
* Bump ext/flecs from `f9c7c3d` to `f3424e4`

Bumps [ext/flecs](https://github.com/SanderMertens/flecs) from `f9c7c3d` to `f3424e4`.
- [Release notes](https://github.com/SanderMertens/flecs/releases)
- [Commits](SanderMertens/flecs@f9c7c3d...f3424e4)

---
updated-dependencies:
- dependency-name: ext/flecs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update C# bindings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lithiumtoast <519592+lithiumtoast@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and lithiumtoast committed Aug 7, 2023
1 parent e3a3f42 commit fdcd792
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 51 deletions.
2 changes: 1 addition & 1 deletion ext/flecs
Submodule flecs updated 222 files
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code.
// <auto-generated>
// This code was generated by the following tool on 2023-07-23 13:42:09 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.2.0)
// This code was generated by the following tool on 2023-08-07 15:39:17 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
Expand Down
70 changes: 47 additions & 23 deletions src/cs/production/Interop.Flecs.Core/Generated/PInvoke.gen.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

// <auto-generated>
// This code was generated by the following tool on 2023-07-23 13:42:09 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.2.0)
// This code was generated by the following tool on 2023-08-07 15:39:17 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
Expand All @@ -23,7 +23,7 @@ namespace flecs_hub.Interop.Flecs;

public static unsafe partial class PInvoke
{
private const string LibraryName = "flecs";
private const string LibraryName = "PInvoke";

#region API

Expand Down Expand Up @@ -4623,7 +4623,7 @@ public string add_expr
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 13, Pack = 1)]
[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
public struct ecs_entity_to_json_desc_t
{
[FieldOffset(0)] // size = 1
Expand Down Expand Up @@ -4664,6 +4664,9 @@ public struct ecs_entity_to_json_desc_t

[FieldOffset(12)] // size = 1
public CBool serialize_alerts;

[FieldOffset(16)] // size = 8
public ecs_entity_t serialize_refs;
}

[CNode(Kind = "Struct")]
Expand Down Expand Up @@ -5338,21 +5341,21 @@ public string ipaddr
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)]
public struct ecs_iter_cache_t
{
[FieldOffset(0)] // size = 16
public ecs_stack_cursor_t stack_cursor;
[FieldOffset(0)] // size = 8
public ecs_stack_cursor_t* stack_cursor;

[FieldOffset(16)] // size = 1
[FieldOffset(8)] // size = 1
public ecs_flags8_t used;

[FieldOffset(17)] // size = 1
[FieldOffset(9)] // size = 1
public ecs_flags8_t allocated;
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)]
public struct ecs_iter_private_t
{
[FieldOffset(0)] // size = 296
Expand All @@ -5361,7 +5364,7 @@ public struct ecs_iter_private_t
[FieldOffset(296)] // size = 8
public void* entity_iter;

[FieldOffset(304)] // size = 24
[FieldOffset(304)] // size = 16
public ecs_iter_cache_t cache;
}

Expand Down Expand Up @@ -5392,7 +5395,7 @@ public struct ecs_iter_private_t_ANONYMOUS_FIELD0
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 608, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 600, Pack = 8)]
public struct ecs_iter_t
{
[FieldOffset(0)] // size = 8
Expand Down Expand Up @@ -5500,19 +5503,19 @@ public struct ecs_iter_t
[FieldOffset(240)] // size = 8
public ecs_entity_t interrupted_by;

[FieldOffset(248)] // size = 328
[FieldOffset(248)] // size = 320
public ecs_iter_private_t priv;

[FieldOffset(576)] // size = 8
[FieldOffset(568)] // size = 8
public ecs_iter_next_action_t next;

[FieldOffset(584)] // size = 8
[FieldOffset(576)] // size = 8
public ecs_iter_action_t callback;

[FieldOffset(592)] // size = 8
[FieldOffset(584)] // size = 8
public ecs_iter_fini_action_t fini;

[FieldOffset(600)] // size = 8
[FieldOffset(592)] // size = 8
public ecs_iter_t* chain_it;
}

Expand Down Expand Up @@ -6558,14 +6561,23 @@ public struct ecs_sparse_t
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)]
public struct ecs_stack_cursor_t
{
[FieldOffset(0)] // size = 8
public ecs_stack_page_t* cur;
public ecs_stack_cursor_t* prev;

[FieldOffset(8)] // size = 2
[FieldOffset(8)] // size = 8
public ecs_stack_page_t* page;

[FieldOffset(16)] // size = 2
public short sp;

[FieldOffset(18)] // size = 1
public CBool is_free;

[FieldOffset(24)] // size = 8
public ecs_stack_t* owner;
}

[CNode(Kind = "Struct")]
Expand Down Expand Up @@ -7986,6 +7998,12 @@ public struct ecs_stack_page_t
{
}

[CNode(Kind = "OpaqueType")]
[StructLayout(LayoutKind.Sequential)]
public struct ecs_stack_t
{
}

[CNode(Kind = "OpaqueType")]
[StructLayout(LayoutKind.Sequential)]
public struct ecs_table_cache_hdr_t
Expand Down Expand Up @@ -8828,6 +8846,9 @@ public struct ecs_xtor_t
[CNode(Kind = "MacroObject")]
public const int ECS_CYCLE_DETECTED = 13;

[CNode(Kind = "MacroObject")]
public const int ECS_DOUBLE_FREE = 15;

[CNode(Kind = "MacroObject")]
public const ulong ECS_ENTITY_MASK = 4294967295;

Expand Down Expand Up @@ -9189,10 +9210,13 @@ public struct ecs_xtor_t
public const uint EcsParent = 64;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasMonitor = 32;
public const uint EcsQueryHasMonitor = 64;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasNonThisOutTerms = 32;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasOutColumns = 16;
public const uint EcsQueryHasOutTerms = 16;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasRefs = 2;
Expand All @@ -9204,7 +9228,7 @@ public struct ecs_xtor_t
public const uint EcsQueryIsSubquery = 4;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryTrivialIter = 64;
public const uint EcsQueryTrivialIter = 128;

[CNode(Kind = "MacroObject")]
public const uint EcsSelf = 2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// To disable generating this file set `isEnabledGenerateAssemblyAttributes` to `false` in the config file for generating C# code.
// <auto-generated>
// This code was generated by the following tool on 2023-07-23 13:42:22 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.2.0)
// This code was generated by the following tool on 2023-08-07 15:39:33 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
Expand Down
70 changes: 47 additions & 23 deletions src/cs/production/Interop.Flecs.Unity/Generated/PInvoke.gen.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

// <auto-generated>
// This code was generated by the following tool on 2023-07-23 13:42:22 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.2.0)
// This code was generated by the following tool on 2023-08-07 15:39:33 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v6.1.3.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
Expand All @@ -24,7 +24,7 @@ namespace flecs_hub.Interop.Flecs

public static unsafe partial class PInvoke
{
private const string LibraryName = "flecs";
private const string LibraryName = "PInvoke";

#region API

Expand Down Expand Up @@ -4412,7 +4412,7 @@ public string add_expr
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 13, Pack = 1)]
[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
public struct ecs_entity_to_json_desc_t
{
[FieldOffset(0)] // size = 1
Expand Down Expand Up @@ -4453,6 +4453,9 @@ public struct ecs_entity_to_json_desc_t

[FieldOffset(12)] // size = 1
public CBool serialize_alerts;

[FieldOffset(16)] // size = 8
public ecs_entity_t serialize_refs;
}

[CNode(Kind = "Struct")]
Expand Down Expand Up @@ -5127,21 +5130,21 @@ public string ipaddr
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)]
public struct ecs_iter_cache_t
{
[FieldOffset(0)] // size = 16
public ecs_stack_cursor_t stack_cursor;
[FieldOffset(0)] // size = 8
public ecs_stack_cursor_t* stack_cursor;

[FieldOffset(16)] // size = 1
[FieldOffset(8)] // size = 1
public ecs_flags8_t used;

[FieldOffset(17)] // size = 1
[FieldOffset(9)] // size = 1
public ecs_flags8_t allocated;
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 328, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 320, Pack = 8)]
public struct ecs_iter_private_t
{
[FieldOffset(0)] // size = 296
Expand All @@ -5150,7 +5153,7 @@ public struct ecs_iter_private_t
[FieldOffset(296)] // size = 8
public void* entity_iter;

[FieldOffset(304)] // size = 24
[FieldOffset(304)] // size = 16
public ecs_iter_cache_t cache;
}

Expand Down Expand Up @@ -5181,7 +5184,7 @@ public struct ecs_iter_private_t_ANONYMOUS_FIELD0
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 608, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 600, Pack = 8)]
public struct ecs_iter_t
{
[FieldOffset(0)] // size = 8
Expand Down Expand Up @@ -5289,19 +5292,19 @@ public struct ecs_iter_t
[FieldOffset(240)] // size = 8
public ecs_entity_t interrupted_by;

[FieldOffset(248)] // size = 328
[FieldOffset(248)] // size = 320
public ecs_iter_private_t priv;

[FieldOffset(576)] // size = 8
[FieldOffset(568)] // size = 8
public ecs_iter_next_action_t next;

[FieldOffset(584)] // size = 8
[FieldOffset(576)] // size = 8
public ecs_iter_action_t callback;

[FieldOffset(592)] // size = 8
[FieldOffset(584)] // size = 8
public ecs_iter_fini_action_t fini;

[FieldOffset(600)] // size = 8
[FieldOffset(592)] // size = 8
public ecs_iter_t* chain_it;
}

Expand Down Expand Up @@ -6347,14 +6350,23 @@ public struct ecs_sparse_t
}

[CNode(Kind = "Struct")]
[StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)]
[StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)]
public struct ecs_stack_cursor_t
{
[FieldOffset(0)] // size = 8
public ecs_stack_page_t* cur;
public ecs_stack_cursor_t* prev;

[FieldOffset(8)] // size = 2
[FieldOffset(8)] // size = 8
public ecs_stack_page_t* page;

[FieldOffset(16)] // size = 2
public short sp;

[FieldOffset(18)] // size = 1
public CBool is_free;

[FieldOffset(24)] // size = 8
public ecs_stack_t* owner;
}

[CNode(Kind = "Struct")]
Expand Down Expand Up @@ -7775,6 +7787,12 @@ public struct ecs_stack_page_t
{
}

[CNode(Kind = "OpaqueType")]
[StructLayout(LayoutKind.Sequential)]
public struct ecs_stack_t
{
}

[CNode(Kind = "OpaqueType")]
[StructLayout(LayoutKind.Sequential)]
public struct ecs_table_cache_hdr_t
Expand Down Expand Up @@ -8617,6 +8635,9 @@ public struct ecs_xtor_t
[CNode(Kind = "MacroObject")]
public const int ECS_CYCLE_DETECTED = 13;

[CNode(Kind = "MacroObject")]
public const int ECS_DOUBLE_FREE = 15;

[CNode(Kind = "MacroObject")]
public const ulong ECS_ENTITY_MASK = 4294967295;

Expand Down Expand Up @@ -8978,10 +8999,13 @@ public struct ecs_xtor_t
public const uint EcsParent = 64;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasMonitor = 32;
public const uint EcsQueryHasMonitor = 64;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasNonThisOutTerms = 32;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasOutColumns = 16;
public const uint EcsQueryHasOutTerms = 16;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryHasRefs = 2;
Expand All @@ -8993,7 +9017,7 @@ public struct ecs_xtor_t
public const uint EcsQueryIsSubquery = 4;

[CNode(Kind = "MacroObject")]
public const uint EcsQueryTrivialIter = 64;
public const uint EcsQueryTrivialIter = 128;

[CNode(Kind = "MacroObject")]
public const uint EcsSelf = 2;
Expand Down

0 comments on commit fdcd792

Please sign in to comment.