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 304a5df to 1e551ae (#204)
Browse files Browse the repository at this point in the history
* Bump ext/flecs from `304a5df` to `1e551ae`

Bumps [ext/flecs](https://github.com/SanderMertens/flecs) from `304a5df` to `1e551ae`.
- [Release notes](https://github.com/SanderMertens/flecs/releases)
- [Commits](SanderMertens/flecs@304a5df...1e551ae)

---
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 20, 2023
1 parent 79e3214 commit 3b18516
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 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-08-17 01:02:31 GMT+00:00:
// This code was generated by the following tool on 2023-08-18 00:54:53 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.
Expand Down
43 changes: 24 additions & 19 deletions src/cs/production/Interop.Flecs.Core/Generated/PInvoke.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// <auto-generated>
// This code was generated by the following tool on 2023-08-17 01:02:31 GMT+00:00:
// This code was generated by the following tool on 2023-08-18 00:54:53 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.
Expand Down Expand Up @@ -2452,6 +2452,16 @@ public static unsafe partial class PInvoke
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial ecs_table_t* ecs_table_add_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_column_count")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_column_count(ecs_table_t* table);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_column_to_type_index")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_column_to_type_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_count")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
Expand All @@ -2467,6 +2477,11 @@ public static unsafe partial class PInvoke
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial void* ecs_table_get_column(ecs_table_t* table, int index, int offset);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_column_index")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_get_column_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_column_size")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
Expand All @@ -2483,30 +2498,25 @@ public static unsafe partial class PInvoke
public static partial void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_index")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_type")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);
public static partial ecs_type_t* ecs_table_get_type(ecs_table_t* table);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_storage_table")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_type_index")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table);
public static partial int ecs_table_get_type_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_get_type")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_has_flags")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial ecs_type_t* ecs_table_get_type(ecs_table_t* table);
public static partial CBool ecs_table_has_flags(ecs_table_t* table, ecs_flags32_t flags);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_has_id")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_has_module")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial CBool ecs_table_has_module(ecs_table_t* table);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_lock")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
Expand All @@ -2517,11 +2527,6 @@ public static unsafe partial class PInvoke
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial ecs_table_t* ecs_table_remove_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_storage_to_type_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_str")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
Expand All @@ -2533,9 +2538,9 @@ public static unsafe partial class PInvoke
public static partial void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_type_to_column_index")]
[UnmanagedCallConv(CallConvs = new[] { typeof(CallConvCdecl) })]
public static partial int ecs_table_type_to_storage_index(ecs_table_t* table, int index);
public static partial int ecs_table_type_to_column_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[LibraryImport(LibraryName, EntryPoint = "ecs_table_unlock")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 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-08-17 01:02:46 GMT+00:00:
// This code was generated by the following tool on 2023-08-18 00:55:05 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.
Expand Down
38 changes: 21 additions & 17 deletions src/cs/production/Interop.Flecs.Unity/Generated/PInvoke.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// <auto-generated>
// This code was generated by the following tool on 2023-08-17 01:02:46 GMT+00:00:
// This code was generated by the following tool on 2023-08-18 00:55:05 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.
Expand Down Expand Up @@ -1968,6 +1968,14 @@ public static unsafe partial class PInvoke
[DllImport(LibraryName, EntryPoint = "ecs_table_add_id", 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);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_column_count", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_column_count(ecs_table_t* table);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_column_to_type_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_column_to_type_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_count", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_count(ecs_table_t* table);
Expand All @@ -1980,6 +1988,10 @@ public static unsafe partial class PInvoke
[DllImport(LibraryName, EntryPoint = "ecs_table_get_column", CallingConvention = CallingConvention.Cdecl)]
public static extern void* ecs_table_get_column(ecs_table_t* table, int index, int offset);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_get_column_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_get_column_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_get_column_size", CallingConvention = CallingConvention.Cdecl)]
public static extern ulong ecs_table_get_column_size(ecs_table_t* table, int index);
Expand All @@ -1993,25 +2005,21 @@ public static unsafe partial class PInvoke
public static extern void* ecs_table_get_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id, int offset);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_get_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_get_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);
[DllImport(LibraryName, EntryPoint = "ecs_table_get_type", CallingConvention = CallingConvention.Cdecl)]
public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_get_storage_table", CallingConvention = CallingConvention.Cdecl)]
public static extern ecs_table_t* ecs_table_get_storage_table(ecs_table_t* table);
[DllImport(LibraryName, EntryPoint = "ecs_table_get_type_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_get_type_index(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_get_type", CallingConvention = CallingConvention.Cdecl)]
public static extern ecs_type_t* ecs_table_get_type(ecs_table_t* table);
[DllImport(LibraryName, EntryPoint = "ecs_table_has_flags", CallingConvention = CallingConvention.Cdecl)]
public static extern CBool ecs_table_has_flags(ecs_table_t* table, ecs_flags32_t flags);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_has_id", CallingConvention = CallingConvention.Cdecl)]
public static extern CBool ecs_table_has_id(ecs_world_t* world, ecs_table_t* table, ecs_id_t id);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_has_module", CallingConvention = CallingConvention.Cdecl)]
public static extern CBool ecs_table_has_module(ecs_table_t* table);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_lock", CallingConvention = CallingConvention.Cdecl)]
public static extern void ecs_table_lock(ecs_world_t* world, ecs_table_t* table);
Expand All @@ -2020,10 +2028,6 @@ public static unsafe partial class PInvoke
[DllImport(LibraryName, EntryPoint = "ecs_table_remove_id", 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);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_storage_to_type_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_storage_to_type_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_str", CallingConvention = CallingConvention.Cdecl)]
public static extern CString ecs_table_str(ecs_world_t* world, ecs_table_t* table);
Expand All @@ -2033,8 +2037,8 @@ public static unsafe partial class PInvoke
public static extern void ecs_table_swap_rows(ecs_world_t* world, ecs_table_t* table, int row_1, int row_2);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_type_to_storage_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_type_to_storage_index(ecs_table_t* table, int index);
[DllImport(LibraryName, EntryPoint = "ecs_table_type_to_column_index", CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_table_type_to_column_index(ecs_table_t* table, int index);

[CNode(Kind = "Function")]
[DllImport(LibraryName, EntryPoint = "ecs_table_unlock", CallingConvention = CallingConvention.Cdecl)]
Expand Down

0 comments on commit 3b18516

Please sign in to comment.