From 4c0d3ab99ddbfa059e9f25a20d1d55de382913db Mon Sep 17 00:00:00 2001 From: tequ Date: Thu, 20 Nov 2025 12:04:27 +0900 Subject: [PATCH] fix DECLARE_HOOK_FUNCTION macro --- src/ripple/app/hook/Macro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/app/hook/Macro.h b/src/ripple/app/hook/Macro.h index 10c89ae09e..fb21e567bf 100644 --- a/src/ripple/app/hook/Macro.h +++ b/src/ripple/app/hook/Macro.h @@ -91,7 +91,7 @@ #define DECLARE_HOOK_FUNCTION(R, F, ...) \ R F(hook::HookContext& hookCtx, \ WasmEdge_CallingFrameContext const& frameCtx __VA_OPT__( \ - , )##__VA_ARGS__); \ + COMMA __VA_ARGS__)); \ extern WasmEdge_Result WasmFunction##F( \ void* data_ptr, \ const WasmEdge_CallingFrameContext* frameCtx, \