/** * @file entity_name.h * @brief Utilities for looking up entities by name. */ #include "private_api.h" /* Called during bootstrap to register entity name logic with world. */ void flecs_bootstrap_entity_name( ecs_world_t *world); /* Update lookup index for entity names. */ void flecs_reparent_name_index( ecs_world_t *world, ecs_table_t *src, ecs_table_t *dst, int32_t offset, int32_t count); void flecs_unparent_name_index( ecs_world_t *world, ecs_table_t *src, ecs_table_t *dst, int32_t offset, int32_t count); /* Hook (on_set/on_remove) for updating lookup index for entity names. */ void ecs_on_set(EcsIdentifier)( ecs_iter_t *it);