From 76d1ffcb412360ce0e7634a7aebb4a1f80b2e283 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 8 Jul 2025 03:22:56 +0300
Subject: [PATCH 88/88] Swap headers of api_signal_callback_by_index() and
 api_signal_by_index()

See RM #1461

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 common/scriptcore/api_signal_base.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/scriptcore/api_signal_base.c b/common/scriptcore/api_signal_base.c
index b7dcc93b58..e743e4ea42 100644
--- a/common/scriptcore/api_signal_base.c
+++ b/common/scriptcore/api_signal_base.c
@@ -79,7 +79,8 @@ bool api_signal_defined(lua_State *L, const char *signal_name,
 }
 
 /**********************************************************************//**
-  Return the name of the signal with the given index.
+  Return the name of the 'index' callback function of the signal with the
+  name 'signal_name'.
 **************************************************************************/
 const char *api_signal_callback_by_index(lua_State *L,
                                          const char *signal_name,
@@ -99,8 +100,7 @@ const char *api_signal_callback_by_index(lua_State *L,
 }
 
 /**********************************************************************//**
-  Return the name of the 'index' callback function of the signal with the
-  name 'signal_name'.
+  Return the name of the signal with the given index.
 **************************************************************************/
 const char *api_signal_by_index(lua_State *L, int sindex)
 {
-- 
2.47.2

