aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.cpp')
-rw-r--r--src/lanes.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lanes.cpp b/src/lanes.cpp
index 3aa3365..6b3a9a1 100644
--- a/src/lanes.cpp
+++ b/src/lanes.cpp
@@ -219,7 +219,7 @@ static void securize_debug_threadname(lua_State* L, Lane* lane_)
219#if ERROR_FULL_STACK 219#if ERROR_FULL_STACK
220[[nodiscard]] static int lane_error(lua_State* L); 220[[nodiscard]] static int lane_error(lua_State* L);
221// crc64/we of string "STACKTRACE_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 221// crc64/we of string "STACKTRACE_REGKEY" generated at http://www.nitrxgen.net/hashgen/
222static constexpr UniqueKey STACKTRACE_REGKEY{ 0x534af7d3226a429full }; 222static constexpr RegistryUniqueKey STACKTRACE_REGKEY{ 0x534AF7D3226A429Full };
223#endif // ERROR_FULL_STACK 223#endif // ERROR_FULL_STACK
224 224
225/* 225/*
@@ -231,7 +231,7 @@ static constexpr UniqueKey STACKTRACE_REGKEY{ 0x534af7d3226a429full };
231* anyways complicate that approach. 231* anyways complicate that approach.
232*/ 232*/
233// crc64/we of string "FINALIZER_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 233// crc64/we of string "FINALIZER_REGKEY" generated at http://www.nitrxgen.net/hashgen/
234static constexpr UniqueKey FINALIZER_REGKEY{ 0x188fccb8bf348e09ull }; 234static constexpr RegistryUniqueKey FINALIZER_REGKEY{ 0x188FCCB8BF348E09ull };
235 235
236// ################################################################################################# 236// #################################################################################################
237 237
@@ -634,7 +634,7 @@ LUAG_FUNC( set_singlethreaded)
634#if ERROR_FULL_STACK 634#if ERROR_FULL_STACK
635 635
636// crc64/we of string "EXTENDED_STACKTRACE_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 636// crc64/we of string "EXTENDED_STACKTRACE_REGKEY" generated at http://www.nitrxgen.net/hashgen/
637static constexpr UniqueKey EXTENDED_STACKTRACE_REGKEY{ 0x2357c69a7c92c936ull }; // used as registry key 637static constexpr RegistryUniqueKey EXTENDED_STACKTRACE_REGKEY{ 0x2357C69A7C92C936ull }; // used as registry key
638 638
639LUAG_FUNC( set_error_reporting) 639LUAG_FUNC( set_error_reporting)
640{ 640{
@@ -731,7 +731,7 @@ LUAG_FUNC( set_error_reporting)
731LUAG_FUNC(set_debug_threadname) 731LUAG_FUNC(set_debug_threadname)
732{ 732{
733 // fnv164 of string "debug_threadname" generated at https://www.pelock.com/products/hash-calculator 733 // fnv164 of string "debug_threadname" generated at https://www.pelock.com/products/hash-calculator
734 constexpr UniqueKey hidden_regkey{ 0x79C0669AAAE04440ull }; 734 constexpr RegistryUniqueKey hidden_regkey{ 0x79C0669AAAE04440ull };
735 // C s_lane structure is a light userdata upvalue 735 // C s_lane structure is a light userdata upvalue
736 Lane* const lane{ lua_tolightuserdata<Lane>(L, lua_upvalueindex(1)) }; 736 Lane* const lane{ lua_tolightuserdata<Lane>(L, lua_upvalueindex(1)) };
737 luaL_checktype(L, -1, LUA_TSTRING); // "name" 737 luaL_checktype(L, -1, LUA_TSTRING); // "name"
@@ -960,7 +960,7 @@ LUAG_FUNC(register)
960// ################################################################################################# 960// #################################################################################################
961 961
962// crc64/we of string "GCCB_KEY" generated at http://www.nitrxgen.net/hashgen/ 962// crc64/we of string "GCCB_KEY" generated at http://www.nitrxgen.net/hashgen/
963static constexpr UniqueKey GCCB_KEY{ 0xcfb1f046ef074e88ull }; 963static constexpr UniqueKey GCCB_KEY{ 0xCFB1F046EF074E88ull };
964 964
965//--- 965//---
966// lane_ud = lane_new( function 966// lane_ud = lane_new( function