Function ecs_lookup_symbol


#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_lookup_symbol(const ecs_world_t *world, const char *symbol, bool lookup_as_path)


Lookup an entity by its symbol name. This looks up an entity by symbol stored in (EcsIdentifier, EcsSymbol). The operation does not take into account hierarchies.

This operation can be useful to resolve, for example, a type by its C identifier, which does not include the Flecs namespacing.


Line 2664 in include/flecs.h.