#include <include/flecs.h> FLECS_API void ecs_ensure_id(ecs_world_t *world, ecs_id_t id)
When this operation is successful it guarantees that the provided id can be used in operations that accept an id.
Since entities in a pair do not encode their generation ids, this operation will not fail when an entity with non-zero generation count already exists in the world.
world- The world.
id- The id to make alive.