|
#define | ecs_ids(...) (ecs_id_t[]){ __VA_ARGS__, 0 } |
| Convenience macro for creating compound literal id array.
|
|
#define | ecs_values(...) (ecs_value_t[]){ __VA_ARGS__, {0, 0}} |
| Convenience macro for creating compound literal values array.
|
|
#define | ecs_value_ptr(T, ptr) ((ecs_value_t){ecs_id(T), ptr}) |
| Convenience macro for creating compound literal value.
|
|
#define | ecs_value_pair(R, t, ...) ((ecs_value_t){ecs_pair_t(R, t), &(R)__VA_ARGS__}) |
| Convenience macro for creating compound literal pair value.
|
|
#define | ecs_value_pair_2nd(r, T, ...) ((ecs_value_t){ecs_pair(r, ecs_id(T)), &(T)__VA_ARGS__}) |
| Convenience macro for creating compound literal pair value.
|
|
#define | ecs_value_new_t(world, T) ecs_value_new(world, ecs_id(T)) |
| Convenience macro for creating heap allocated value.
|
|
#define | ecs_value(T, ...) ((ecs_value_t){ecs_id(T), &(T)__VA_ARGS__}) |
| Convenience macro for creating compound literal value literal.
|
|