Misc convenience macro's.
More...
Misc convenience macro's.
◆ ecs_childof
◆ ecs_dependson
◆ ecs_isa
#define ecs_isa |
( |
| e | ) |
ecs_pair(EcsIsA, e) |
◆ ecs_query_new
#define ecs_query_new |
( |
| world, |
|
|
| q_expr ) |
Value:
.filter.expr = q_expr\
})
ecs_query_t * ecs_query_init(ecs_world_t *world, const ecs_query_desc_t *desc)
Create a query.
Used with ecs_query_init().
Definition at line 861 of file flecs_c.h.
◆ ecs_rule_new
#define ecs_rule_new |
( |
| world, |
|
|
| q_expr ) |
Value:
.expr = q_expr\
})
FLECS_API ecs_rule_t * ecs_rule_init(ecs_world_t *world, const ecs_filter_desc_t *desc)
Create a rule.
Used with ecs_filter_init().
Definition at line 866 of file flecs_c.h.