Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Convenience macro's for sorting tables. More...
Macros | |
#define | ecs_sort_table(id) ecs_id(id##_sort_table) |
#define | ecs_compare(id) ecs_id(id##_compare_fn) |
#define | ECS_SORT_TABLE_WITH_COMPARE(id, op_name, compare_fn, ...) |
#define | ECS_SORT_TABLE(id, ...) ECS_SORT_TABLE_WITH_COMPARE(id, ecs_sort_table(id), ecs_compare(id), __VA_ARGS__) |
#define | ECS_COMPARE(id, ...) |
Convenience macro's for sorting tables.
#define ECS_COMPARE | ( | id, | |
... ) |
#define ECS_SORT_TABLE | ( | id, | |
... ) ECS_SORT_TABLE_WITH_COMPARE(id, ecs_sort_table(id), ecs_compare(id), __VA_ARGS__) |