diff options
| author | ruki <[email protected]> | 2025-11-09 20:16:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-09 20:16:46 +0800 |
| commit | 12e00a411dfe202dcfa1de9a8511a802ce1af40d (patch) | |
| tree | 05c1dde2cc3897d627f983304127c45479153493 /core/src/xmake/thread/thread_exit.c | |
| parent | 39189e3a1bd2979b7b454547b03e5926a8027431 (diff) | |
format single line
Diffstat (limited to 'core/src/xmake/thread/thread_exit.c')
| -rw-r--r-- | core/src/xmake/thread/thread_exit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/xmake/thread/thread_exit.c b/core/src/xmake/thread/thread_exit.c index ae828805e..ca495d4a5 100644 --- a/core/src/xmake/thread/thread_exit.c +++ b/core/src/xmake/thread/thread_exit.c @@ -37,8 +37,9 @@ tb_int_t xm_thread_exit(lua_State *lua) { tb_assert_and_check_return_val(lua, 0); // is pointer? - if (!xm_lua_ispointer(lua, 1)) + if (!xm_lua_ispointer(lua, 1)) { return 0; + } // get thread xm_thread_t *thread = (xm_thread_t *)xm_lua_topointer(lua, 1); |
