From 2d822febac174c5557bd6e88117a955886064a73 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Mon, 14 Oct 2024 11:49:28 -0700 Subject: [PATCH] fix: wrong order --- ecsact/runtime/core.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/ecsact/runtime/core.h b/ecsact/runtime/core.h index c8a1614c..af4a05d1 100644 --- a/ecsact/runtime/core.h +++ b/ecsact/runtime/core.h @@ -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