From 5df41327415be29ea1ca1493872e63b1d6692c79 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Tue, 13 Aug 2024 17:46:30 -0700 Subject: [PATCH] fix: add missing 'async to FOR_EACH_ECSACT_API_FN macro (#259) --- BUILD.bazel | 1 + ecsact/runtime.h | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index b0c2b86e..effe0c61 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -123,5 +123,6 @@ cc_library( ":meta", ":serialize", ":static", + ":async", ], ) diff --git a/ecsact/runtime.h b/ecsact/runtime.h index 8314c777..ae7ff087 100644 --- a/ecsact/runtime.h +++ b/ecsact/runtime.h @@ -10,12 +10,14 @@ #include "ecsact/runtime/static.h" #include "ecsact/runtime/meta.h" #include "ecsact/runtime/serialize.h" +#include "ecsact/runtime/async.h" -#define FOR_EACH_ECSACT_API_FN(fn, ...) \ - FOR_EACH_ECSACT_CORE_API_FN(fn, __VA_ARGS__); \ - FOR_EACH_ECSACT_DYNAMIC_API_FN(fn, __VA_ARGS__); \ - FOR_EACH_ECSACT_META_API_FN(fn, __VA_ARGS__); \ - FOR_EACH_ECSACT_STATIC_API_FN(fn, __VA_ARGS__); \ - FOR_EACH_ECSACT_SERIALIZE_API_FN(fn, __VA_ARGS__) +#define FOR_EACH_ECSACT_API_FN(fn, ...) \ + FOR_EACH_ECSACT_CORE_API_FN(fn, __VA_ARGS__); \ + FOR_EACH_ECSACT_DYNAMIC_API_FN(fn, __VA_ARGS__); \ + FOR_EACH_ECSACT_META_API_FN(fn, __VA_ARGS__); \ + FOR_EACH_ECSACT_STATIC_API_FN(fn, __VA_ARGS__); \ + FOR_EACH_ECSACT_SERIALIZE_API_FN(fn, __VA_ARGS__); \ + FOR_EACH_ECSACT_ASYNC_API_FN(fn, __VA_ARGS__) #endif // ECSACT_RUNTIME_H