CLEANUP: hlua: hlua_register_task() may longjmp

Adding __LJMP prefix to hlua_register_task() to indicate that the
function may longjmp when executed.
This commit is contained in:
Aurelien DARRAGON 2023-04-21 17:38:37 +02:00 committed by Christopher Faulet
parent 977688bd57
commit e0b16355ce
1 changed files with 1 additions and 1 deletions

View File

@ -8863,7 +8863,7 @@ __LJMP static int hlua_register_init(lua_State *L)
* *
* <arg1..4> are optional arguments that will be provided to <function> * <arg1..4> are optional arguments that will be provided to <function>
*/ */
static int hlua_register_task(lua_State *L) __LJMP static int hlua_register_task(lua_State *L)
{ {
struct hlua *hlua = NULL; struct hlua *hlua = NULL;
struct task *task = NULL; struct task *task = NULL;