Skip to content

Commit

Permalink
fix: wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Oct 14, 2024
1 parent 1808bf0 commit 2d822fe
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions ecsact/runtime/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,27 +285,27 @@ ECSACT_CORE_API_FN(ecsact_stream_error, ecsact_stream)
#ifdef ECSACT_MSVC_TRADITIONAL
# define FOR_EACH_ECSACT_CORE_API_FN(fn, ...) ECSACT_MSVC_TRADITIONAL_ERROR()
#else
# define FOR_EACH_ECSACT_CORE_API_FN(fn, ...) \
fn(ecsact_create_registry, __VA_ARGS__); \
fn(ecsact_destroy_registry, __VA_ARGS__); \
fn(ecsact_clear_registry, __VA_ARGS__); \
fn(ecsact_create_entity, __VA_ARGS__); \
fn(ecsact_ensure_entity, __VA_ARGS__); \
fn(ecsact_entity_exists, __VA_ARGS__); \
fn(ecsact_destroy_entity, __VA_ARGS__); \
fn(ecsact_count_entities, __VA_ARGS__); \
fn(ecsact_get_entities, __VA_ARGS__); \
fn(ecsact_add_component, __VA_ARGS__); \
fn(ecsact_has_component, __VA_ARGS__); \
fn(ecsact_get_component, __VA_ARGS__); \
fn(ecsact_count_components, __VA_ARGS__); \
fn(ecsact_get_components, __VA_ARGS__); \
fn(ecsact_each_component, __VA_ARGS__); \
fn(ecsact_update_component, __VA_ARGS__); \
fn(ecsact_remove_component, __VA_ARGS__); \
fn(ecsact_execute_systems, __VA_ARGS__); \
fn(ecsact_stream, __VA_ARGS__); \
fn(ecsact_get_entity_execution_status, __VA_ARGS__)
# define FOR_EACH_ECSACT_CORE_API_FN(fn, ...) \
fn(ecsact_create_registry, __VA_ARGS__); \
fn(ecsact_destroy_registry, __VA_ARGS__); \
fn(ecsact_clear_registry, __VA_ARGS__); \
fn(ecsact_create_entity, __VA_ARGS__); \
fn(ecsact_ensure_entity, __VA_ARGS__); \
fn(ecsact_entity_exists, __VA_ARGS__); \
fn(ecsact_destroy_entity, __VA_ARGS__); \
fn(ecsact_count_entities, __VA_ARGS__); \
fn(ecsact_get_entities, __VA_ARGS__); \
fn(ecsact_add_component, __VA_ARGS__); \
fn(ecsact_has_component, __VA_ARGS__); \
fn(ecsact_get_component, __VA_ARGS__); \
fn(ecsact_count_components, __VA_ARGS__); \
fn(ecsact_get_components, __VA_ARGS__); \
fn(ecsact_each_component, __VA_ARGS__); \
fn(ecsact_update_component, __VA_ARGS__); \
fn(ecsact_remove_component, __VA_ARGS__); \
fn(ecsact_execute_systems, __VA_ARGS__); \
fn(ecsact_get_entity_execution_status, __VA_ARGS__); \
fn(ecsact_stream, __VA_ARGS__)
#endif

#endif // ECSACT_RUNTIME_CORE_H

0 comments on commit 2d822fe

Please sign in to comment.