Function ecs_query_orphaned

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_query_orphaned(ecs_query_t *query)

Description

Returns whether query is orphaned. When the parent query of a subquery is deleted, it is left in an orphaned state. The only valid operation on an orphaned query is deleting it. Only subqueries can be orphaned.

Parameters

query - The query.

Returns
true if query is orphaned, otherwise false.

Source

Line 2771 in include/flecs.h.