diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-29 15:55:54 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-29 15:55:54 +0200 |
commit | d60a9fb712886880ec9630e744e1258ec3ed19b1 (patch) | |
tree | 068bc002f88c2f555d64218e0db6fb6f7e671d49 /src/cancel.h | |
parent | dd4a6ece589ca49130f2adf29d38af678f1640a9 (diff) | |
download | lanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.tar.gz lanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.tar.bz2 lanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.zip |
Progressively applying the coding rules
Diffstat (limited to 'src/cancel.h')
-rw-r--r-- | src/cancel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cancel.h b/src/cancel.h index 59ebefe..3df5252 100644 --- a/src/cancel.h +++ b/src/cancel.h | |||
@@ -48,8 +48,8 @@ enum class CancelOp | |||
48 | // xxh64 of string "kCancelError" generated at https://www.pelock.com/products/hash-calculator | 48 | // xxh64 of string "kCancelError" generated at https://www.pelock.com/products/hash-calculator |
49 | static constexpr UniqueKey kCancelError{ 0x0630345FEF912746ull, "lanes.cancel_error" }; // 'raise_cancel_error' sentinel | 49 | static constexpr UniqueKey kCancelError{ 0x0630345FEF912746ull, "lanes.cancel_error" }; // 'raise_cancel_error' sentinel |
50 | 50 | ||
51 | [[nodiscard]] CancelOp which_cancel_op(char const* op_string_); | 51 | [[nodiscard]] CancelOp which_cancel_op(char const* opString_); |
52 | [[nodiscard]] CancelResult thread_cancel(Lane* lane_, CancelOp op_, int hook_count_, lua_Duration secs_, bool wake_lindas_); | 52 | [[nodiscard]] CancelResult thread_cancel(Lane* lane_, CancelOp op_, int hookCount_, lua_Duration secs_, bool wakeLane_); |
53 | 53 | ||
54 | [[noreturn]] static inline void raise_cancel_error(lua_State* L_) | 54 | [[noreturn]] static inline void raise_cancel_error(lua_State* L_) |
55 | { | 55 | { |