From 0df9a1e1e7f409e25d8d698957caac16358c17d7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 18 Feb 2025 14:33:56 +0900 Subject: [PATCH] [ruamoko] Update function names for IMP button/axis listeners The function attribute fix made it necessary. --- libs/ruamoko/rua_input.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ruamoko/rua_input.c b/libs/ruamoko/rua_input.c index ede23559d..38c7dbd2a 100644 --- a/libs/ruamoko/rua_input.c +++ b/libs/ruamoko/rua_input.c @@ -563,13 +563,13 @@ static builtin_t builtins[] = { rua_IN_AxisAddListener_func, -1, 3, {p(ptr), p(func), p(ptr)}}, {"IN_AxisRemoveListener|^{tag in_axis_s=}^(v^v^{tag in_axis_s=})^v", rua_IN_AxisRemoveListener_func, -1, 3, {p(ptr), p(func), p(ptr)}}, - {"IN_ButtonAddListener|^{tag in_button_s=}^(@@:.)@", + {"IN_ButtonAddListener|^{tag in_button_s=}^%(@@:.)@", rua_IN_ButtonAddListener_method, -1, 3, {p(ptr), p(func), p(ptr)}}, - {"IN_ButtonRemoveListener|^{tag in_button_s=}^(@@:.)@", + {"IN_ButtonRemoveListener|^{tag in_button_s=}^%(@@:.)@", rua_IN_ButtonRemoveListener_method, -1, 3, {p(ptr), p(func), p(ptr)}}, - {"IN_AxisAddListener|^{tag in_axis_s=}^(@@:.)@", + {"IN_AxisAddListener|^{tag in_axis_s=}^%(@@:.)@", rua_IN_AxisAddListener_method, -1, 3, {p(ptr), p(func), p(ptr)}}, - {"IN_AxisRemoveListener|^{tag in_axis_s=}^(@@:.)@", + {"IN_AxisRemoveListener|^{tag in_axis_s=}^%(@@:.)@", rua_IN_AxisRemoveListener_method, -1, 3, {p(ptr), p(func), p(ptr)}}, bi(IMT_CreateContext, 1, p(string)),