diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-01 15:22:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 15:22:22 +0800 |
commit | 548f03c66c08d0235d62505e884e8088bfda1804 (patch) | |
tree | 2c524d5d4561e600ca38c5072e9ae5df2cbd8672 /test | |
parent | 130cb4815a5c6625a938b1e93a7d60d7a38ad8dd (diff) | |
download | rneovim-548f03c66c08d0235d62505e884e8088bfda1804.tar.gz rneovim-548f03c66c08d0235d62505e884e8088bfda1804.tar.bz2 rneovim-548f03c66c08d0235d62505e884e8088bfda1804.zip |
refactor: change event_create() to a macro (#26343)
A varargs functions can never be inlined, so a macro is faster.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/fixtures/multiqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/fixtures/multiqueue.c b/test/unit/fixtures/multiqueue.c index 3a5ddab4b8..149daca893 100644 --- a/test/unit/fixtures/multiqueue.c +++ b/test/unit/fixtures/multiqueue.c @@ -6,7 +6,7 @@ void ut_multiqueue_put(MultiQueue *self, const char *str) { - multiqueue_put(self, NULL, 1, str); + multiqueue_put(self, NULL, (void *)str); } const char *ut_multiqueue_get(MultiQueue *self) |