fix(core/binding): 将 action_arg 改为值类型避免悬空指针问题

This commit is contained in:
zedhugh committed 2026-04-27 01:23:07 +08:00
1 parent c93e78bbd6
commit fc038eda35
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ typedef struct zdwm_api_t {
zdwm_binding_mode_id_t bind_mode,
const char *key_sequence,
zdwm_action_fn action_fn,
zdwm_action_arg_t *action_arg
zdwm_action_arg_t action_arg
);
/**