Project

General

Profile

Bug #1461 ยป 0088-Swap-headers-of-api_signal_callback_by_index-and-api.patch

Marko Lindqvist, 07/08/2025 03:25 AM

View differences:

common/scriptcore/api_signal_base.c
}
/**********************************************************************//**
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,
......
}
/**********************************************************************//**
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)
{
    (1-1/1)