Indra-db / Flecs-Rust

Rust API for Flecs: A Fast and Flexible Entity Component System (ECS)
MIT License
194 stars 11 forks source link

Use a `*const ecs_world_t` more. #152

Closed waywardmonkeys closed 4 months ago

waywardmonkeys commented 4 months ago

Now that ecs_get_hooks_id takes a *const ecs_world_t, a couple more call sites can be made to take a *const ecs_world_t rather than *mut ecs_world_t.

There were also some other places that could be made to take a *const ecs_world_t as well that were missed in previous changes.