fix DECLARE_HOOK_FUNCTION macro

This commit is contained in:
tequ
2025-11-20 12:04:27 +09:00
parent 7c96052f03
commit 4c0d3ab99d

View File

@@ -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, \