diff options
Diffstat (limited to 'src/lanes.cpp')
-rw-r--r-- | src/lanes.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lanes.cpp b/src/lanes.cpp index 72652ef..a378a88 100644 --- a/src/lanes.cpp +++ b/src/lanes.cpp | |||
@@ -142,8 +142,6 @@ static constexpr UniqueKey STACKTRACE_REGKEY{ 0x534af7d3226a429full }; | |||
142 | // crc64/we of string "FINALIZER_REGKEY" generated at http://www.nitrxgen.net/hashgen/ | 142 | // crc64/we of string "FINALIZER_REGKEY" generated at http://www.nitrxgen.net/hashgen/ |
143 | static constexpr UniqueKey FINALIZER_REGKEY{ 0x188fccb8bf348e09ull }; | 143 | static constexpr UniqueKey FINALIZER_REGKEY{ 0x188fccb8bf348e09ull }; |
144 | 144 | ||
145 | struct s_Linda; | ||
146 | |||
147 | /* | 145 | /* |
148 | * Push a table stored in registry onto Lua stack. | 146 | * Push a table stored in registry onto Lua stack. |
149 | * | 147 | * |
@@ -892,7 +890,7 @@ static THREAD_RETURN_T THREAD_CALLCONV lane_main( void* vs) | |||
892 | lua_setglobal( L, "set_finalizer"); | 890 | lua_setglobal( L, "set_finalizer"); |
893 | 891 | ||
894 | // Tie "set_debug_threadname()" to the state | 892 | // Tie "set_debug_threadname()" to the state |
895 | // But don't register it in the lookup database because of the s_lane pointer upvalue | 893 | // But don't register it in the lookup database because of the Lane pointer upvalue |
896 | lua_pushlightuserdata( L, s); | 894 | lua_pushlightuserdata( L, s); |
897 | lua_pushcclosure( L, LG_set_debug_threadname, 1); | 895 | lua_pushcclosure( L, LG_set_debug_threadname, 1); |
898 | lua_setglobal( L, "set_debug_threadname"); | 896 | lua_setglobal( L, "set_debug_threadname"); |