aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 15:06:07 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-24 15:06:07 +0200
commit3bfb6dec957e5e034c12157787fab9faf75c85a1 (patch)
tree075f4345f7217a41fb117aa2c78ee910934c28fe /src/cancel.cpp
parentb013fb7e517f866577c8a7f5dcda41d95cd5de11 (diff)
downloadlanes-3bfb6dec957e5e034c12157787fab9faf75c85a1.tar.gz
lanes-3bfb6dec957e5e034c12157787fab9faf75c85a1.tar.bz2
lanes-3bfb6dec957e5e034c12157787fab9faf75c85a1.zip
C++ migration: push_thread_status converted to a Lane class method
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r--src/cancel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp
index a7dc0ec..5bcf79d 100644
--- a/src/cancel.cpp
+++ b/src/cancel.cpp
@@ -274,7 +274,7 @@ LUAG_FUNC(thread_cancel)
274 274
275 case CancelResult::Cancelled: 275 case CancelResult::Cancelled:
276 lua_pushboolean(L, 1); // true 276 lua_pushboolean(L, 1); // true
277 push_thread_status(L, lane); // true status 277 lane->pushThreadStatus(L); // true status
278 break; 278 break;
279 } 279 }
280 STACK_CHECK(L, 2); 280 STACK_CHECK(L, 2);