diff options
| author | yangwei <[email protected]> | 2024-09-14 10:51:02 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-09-14 10:51:02 +0800 |
| commit | a23411f4535f331efa3c6c2be8c469dc518df284 (patch) | |
| tree | e117e8a013be2b12d49a7e772ab2d842cffb40fe /include | |
| parent | 364f8c84a355bcd2425781149258fbcd326d95e3 (diff) | |
🧪 test(mq test case): more test case
Diffstat (limited to 'include')
| -rw-r--r-- | include/stellar/mq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stellar/mq.h b/include/stellar/mq.h index 57e860a..0afc201 100644 --- a/include/stellar/mq.h +++ b/include/stellar/mq.h @@ -14,9 +14,9 @@ struct mq_runtime *mq_runtime_new(struct mq_schema *s); void mq_runtime_free(struct mq_runtime *s); typedef void mq_msg_free_cb_func(void *msg, void *msg_free_arg); -typedef void on_msg_cb_func(int topic_id, const void *msg, void *on_msg_arg); +typedef void on_msg_cb_func(int topic_id, void *msg, void *on_msg_arg); typedef void on_msg_dispatch_cb_func(int topic_id, - const void *msg, + void *msg, on_msg_cb_func* on_msg_cb, void *on_msg_cb_arg, void *dispatch_arg); |
