Skip to content

Commit e9c6eb6

Browse files
Update submodule and regenerate bindings
1 parent 7bce97e commit e9c6eb6

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

native/flecs

Submodule flecs updated 78 files

src/Flecs.NET.Bindings/Flecs.g.cs

+3-10
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,8 @@ public partial class BindgenInternal
8888
[DllImport(BindgenInternal.DllImportPath, EntryPoint = "ecs_count_id")]
8989
public static extern int ecs_count_id(ecs_world_t* world, ulong entity);
9090

91-
[DllImport(BindgenInternal.DllImportPath, EntryPoint = "ecs_cpp_component_find")]
92-
public static extern ulong ecs_cpp_component_find(ecs_world_t* world, ulong id, byte* name, byte* symbol, nint size, nint alignment, bool implicit_name, bool* existing_out);
93-
9491
[DllImport(BindgenInternal.DllImportPath, EntryPoint = "ecs_cpp_component_register")]
95-
public static extern ulong ecs_cpp_component_register(ecs_world_t* world, ulong s_id, ulong id, byte* name, byte* type_name, byte* symbol, nint size, nint alignment, bool is_component, bool* existing_out);
92+
public static extern ulong ecs_cpp_component_register(ecs_world_t* world, ulong id, int ids_index, byte* name, byte* cpp_name, byte* cpp_symbol, nint size, nint alignment, bool is_component, bool explicit_registration, bool* registered_out, bool* existing_out);
9693

9794
[DllImport(BindgenInternal.DllImportPath, EntryPoint = "ecs_cpp_enum_constant_register")]
9895
public static extern ulong ecs_cpp_enum_constant_register(ecs_world_t* world, ulong parent, ulong id, byte* name, void* value, ulong value_type, nint value_size);
@@ -2269,17 +2266,13 @@ public partial struct ecs_block_allocator_t
22692266

22702267
public partial struct ecs_map_t
22712268
{
2272-
public byte bucket_shift;
2273-
2274-
public bool shared_allocator;
2275-
22762269
public ecs_bucket_t* buckets;
22772270

22782271
public int bucket_count;
22792272

2280-
public int count;
2273+
public uint count;
22812274

2282-
public ecs_block_allocator_t* entry_allocator;
2275+
public uint bucket_shift;
22832276

22842277
public ecs_allocator_t* allocator;
22852278
}

0 commit comments

Comments
 (0)