Skip to content

Commit 5df4132

Browse files
authored
fix: add missing 'async to FOR_EACH_ECSACT_API_FN macro (#259)
1 parent 877ed85 commit 5df4132

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,6 @@ cc_library(
123123
":meta",
124124
":serialize",
125125
":static",
126+
":async",
126127
],
127128
)

ecsact/runtime.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
#include "ecsact/runtime/static.h"
1111
#include "ecsact/runtime/meta.h"
1212
#include "ecsact/runtime/serialize.h"
13+
#include "ecsact/runtime/async.h"
1314

14-
#define FOR_EACH_ECSACT_API_FN(fn, ...) \
15-
FOR_EACH_ECSACT_CORE_API_FN(fn, __VA_ARGS__); \
16-
FOR_EACH_ECSACT_DYNAMIC_API_FN(fn, __VA_ARGS__); \
17-
FOR_EACH_ECSACT_META_API_FN(fn, __VA_ARGS__); \
18-
FOR_EACH_ECSACT_STATIC_API_FN(fn, __VA_ARGS__); \
19-
FOR_EACH_ECSACT_SERIALIZE_API_FN(fn, __VA_ARGS__)
15+
#define FOR_EACH_ECSACT_API_FN(fn, ...) \
16+
FOR_EACH_ECSACT_CORE_API_FN(fn, __VA_ARGS__); \
17+
FOR_EACH_ECSACT_DYNAMIC_API_FN(fn, __VA_ARGS__); \
18+
FOR_EACH_ECSACT_META_API_FN(fn, __VA_ARGS__); \
19+
FOR_EACH_ECSACT_STATIC_API_FN(fn, __VA_ARGS__); \
20+
FOR_EACH_ECSACT_SERIALIZE_API_FN(fn, __VA_ARGS__); \
21+
FOR_EACH_ECSACT_ASYNC_API_FN(fn, __VA_ARGS__)
2022

2123
#endif // ECSACT_RUNTIME_H

0 commit comments

Comments
 (0)