diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-28 17:25:51 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-28 17:25:51 +0100 |
commit | 5d365d54efef5dfd0dca814346bfee791eacab90 (patch) | |
tree | a86b216c2474a590237154944bb2ee70fe9e2ed2 /src/cancel.h | |
parent | 089f68cf6d18799028eb12cc16bbe2f8cf5e57c3 (diff) | |
download | lanes-5d365d54efef5dfd0dca814346bfee791eacab90.tar.gz lanes-5d365d54efef5dfd0dca814346bfee791eacab90.tar.bz2 lanes-5d365d54efef5dfd0dca814346bfee791eacab90.zip |
C++ migration: lots of noise, but it's only some minor code cleanup
Diffstat (limited to 'src/cancel.h')
-rw-r--r-- | src/cancel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cancel.h b/src/cancel.h index 9299ae1..9cd7d5b 100644 --- a/src/cancel.h +++ b/src/cancel.h | |||
@@ -51,7 +51,7 @@ static constexpr UniqueKey CANCEL_ERROR{ 0xe97d41626cc97577ull }; // 'raise_canc | |||
51 | // crc64/we of string "CANCEL_TEST_KEY" generated at http://www.nitrxgen.net/hashgen/ | 51 | // crc64/we of string "CANCEL_TEST_KEY" generated at http://www.nitrxgen.net/hashgen/ |
52 | static constexpr UniqueKey CANCEL_TEST_KEY{ 0xe66f5960c57d133aull }; // used as registry key | 52 | static constexpr UniqueKey CANCEL_TEST_KEY{ 0xe66f5960c57d133aull }; // used as registry key |
53 | 53 | ||
54 | CancelResult thread_cancel(lua_State* L, Lane* s, CancelOp op_, double secs_, bool force_, double waitkill_timeout_); | 54 | CancelResult thread_cancel(lua_State* L, Lane* lane_, CancelOp op_, double secs_, bool force_, double waitkill_timeout_); |
55 | 55 | ||
56 | [[noreturn]] static inline void raise_cancel_error(lua_State* L) | 56 | [[noreturn]] static inline void raise_cancel_error(lua_State* L) |
57 | { | 57 | { |
@@ -63,7 +63,7 @@ CancelResult thread_cancel(lua_State* L, Lane* s, CancelOp op_, double secs_, bo | |||
63 | // ################################################################################################ | 63 | // ################################################################################################ |
64 | // ################################################################################################ | 64 | // ################################################################################################ |
65 | 65 | ||
66 | LUAG_FUNC( cancel_test); | 66 | LUAG_FUNC(cancel_test); |
67 | LUAG_FUNC( thread_cancel); | 67 | LUAG_FUNC(thread_cancel); |
68 | 68 | ||
69 | // ################################################################################################ | 69 | // ################################################################################################ |