aboutsummaryrefslogtreecommitdiff
path: root/src/lane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lane.cpp')
-rw-r--r--src/lane.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lane.cpp b/src/lane.cpp
index e045d88..7182ad6 100644
--- a/src/lane.cpp
+++ b/src/lane.cpp
@@ -44,8 +44,8 @@ static constexpr UniqueKey kCachedTostring{ 0xAB5EA23BCEA0C35Cull };
44// ################################################################################################# 44// #################################################################################################
45// ################################################################################################# 45// #################################################################################################
46 46
47// lane:get_debug_threadname() 47// lane:get_threadname()
48static LUAG_FUNC(get_debug_threadname) 48static LUAG_FUNC(get_threadname)
49{ 49{
50 Lane* const _lane{ ToLane(L_, 1) }; 50 Lane* const _lane{ ToLane(L_, 1) };
51 luaL_argcheck(L_, lua_gettop(L_) == 1, 2, "too many arguments"); 51 luaL_argcheck(L_, lua_gettop(L_) == 1, 2, "too many arguments");
@@ -1079,7 +1079,7 @@ namespace {
1079 { "__gc", LG_lane_gc }, 1079 { "__gc", LG_lane_gc },
1080 { "__index", LG_thread_index }, 1080 { "__index", LG_thread_index },
1081 { "cancel", LG_thread_cancel }, 1081 { "cancel", LG_thread_cancel },
1082 { "get_debug_threadname", LG_get_debug_threadname }, 1082 { "get_threadname", LG_get_threadname },
1083 { "join", LG_thread_join }, 1083 { "join", LG_thread_join },
1084 { "resume", LG_thread_resume }, 1084 { "resume", LG_thread_resume },
1085 { nullptr, nullptr } 1085 { nullptr, nullptr }
@@ -1087,7 +1087,7 @@ namespace {
1087 } // namespace local 1087 } // namespace local
1088} // namespace 1088} // namespace
1089 1089
1090 // contains keys: { __close, __gc, __index, kCachedError, kCachedTostring, cancel, get_debug_threadname, join } 1090 // contains keys: { __close, __gc, __index, kCachedError, kCachedTostring, cancel, get_threadname, join }
1091void Lane::PushMetatable(lua_State* L_) 1091void Lane::PushMetatable(lua_State* L_)
1092{ 1092{
1093 STACK_CHECK_START_REL(L_, 0); 1093 STACK_CHECK_START_REL(L_, 0);