aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cancel.h')
-rw-r--r--src/cancel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cancel.h b/src/cancel.h
index 8c8063f..59ebefe 100644
--- a/src/cancel.h
+++ b/src/cancel.h
@@ -51,11 +51,11 @@ static constexpr UniqueKey kCancelError{ 0x0630345FEF912746ull, "lanes.cancel_er
51[[nodiscard]] CancelOp which_cancel_op(char const* op_string_); 51[[nodiscard]] CancelOp which_cancel_op(char const* op_string_);
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 hook_count_, lua_Duration secs_, bool wake_lindas_);
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{
56 STACK_GROW(L, 1); 56 STACK_GROW(L_, 1);
57 kCancelError.pushKey(L); // special error value 57 kCancelError.pushKey(L_); // special error value
58 raise_lua_error(L); 58 raise_lua_error(L_);
59} 59}
60 60
61// ################################################################################################# 61// #################################################################################################