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 d0e2820 to ed9b724 (#140)
Browse files Browse the repository at this point in the history
* Bump ext/flecs from `d0e2820` to `ed9b724`

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

---
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 <lithiumtoast@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and lithiumtoast authored Mar 9, 2023
1 parent bdf7279 commit a75995b
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 10 deletions.
59 changes: 50 additions & 9 deletions src/cs/production/Flecs/flecs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// <auto-generated>
// This code was generated by the following tool on 2023-03-07 01:11:09 GMT+00:00:
// This code was generated by the following tool on 2023-03-09 01:10:51 GMT+00:00:
// https://github.com/bottlenoselabs/c2cs (v4.1.9.0)
//
// Changes to this file may cause incorrect behavior and will be lost if the code is
Expand Down Expand Up @@ -4344,23 +4344,50 @@ public static unsafe partial class flecs
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ecs_set_pipeline(ecs_world_t* world, ecs_entity_t pipeline);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:101:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:101:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:101:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:101:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:101:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:101:5 (/flecs/addons/plecs.h)")]
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_script_update(ecs_world_t* world, ecs_entity_t script, CString str);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:108:6 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:108:6 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:108:6 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:108:6 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:108:6 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:108:6 (/flecs/addons/plecs.h)")]
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern void FlecsScriptImport(ecs_world_t* world);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:50:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:50:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:50:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:50:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:50:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:50:5 (/flecs/addons/plecs.h)")]
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:65:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:65:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:65:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:65:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:65:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:65:5 (/flecs/addons/plecs.h)")]
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_plecs_from_str(ecs_world_t* world, CString name, CString str);
public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:80:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:80:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:80:5 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:80:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:80:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:80:5 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "plecs.h:87:14 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "plecs.h:87:14 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-pc-windows-msvc", Location = "plecs.h:87:14 (\\flecs\\addons\\plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-apple-darwin", Location = "plecs.h:87:14 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "x86_64-unknown-linux-gnu", Location = "plecs.h:87:14 (/flecs/addons/plecs.h)")]
[CNode(Kind = "Function", Platform = "aarch64-unknown-linux-gnu", Location = "plecs.h:87:14 (/flecs/addons/plecs.h)")]
[DllImport(LibraryName, CallingConvention = CallingConvention.Cdecl)]
public static extern int ecs_plecs_from_file(ecs_world_t* world, CString filename);
public static extern ecs_entity_t ecs_script_init(ecs_world_t* world, ecs_script_desc_t* desc);

[CNode(Kind = "Function", Platform = "x86_64-pc-windows-msvc", Location = "rest.h:85:20 (\\flecs\\addons\\rest.h)")]
[CNode(Kind = "Function", Platform = "aarch64-apple-darwin", Location = "rest.h:85:20 (/flecs/addons/rest.h)")]
Expand Down Expand Up @@ -9242,6 +9269,20 @@ public struct ecs_pipeline_desc_t
}


[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
public struct ecs_script_desc_t
{
[FieldOffset(0)] // size = 8
public ecs_entity_t entity;

[FieldOffset(8)] // size = 8
public CString filename;

[FieldOffset(16)] // size = 8
public CString str;
}


[StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)]
public struct EcsRest
{
Expand Down

0 comments on commit a75995b

Please sign in to comment.