diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 12:24:18 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 12:24:18 +0200 |
commit | ce7006e3c063fc1383c23d2e0e36917b31d04e3f (patch) | |
tree | 08c0240655c50eb17c1e9f82e66d019d2bc9afc0 /src/tools.h | |
parent | bbb4f99918d00308b52af3289c29624bfeb0066b (diff) | |
download | lanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.tar.gz lanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.tar.bz2 lanes-ce7006e3c063fc1383c23d2e0e36917b31d04e3f.zip |
C++ migration: split UniqueKey into UniqueKey+RegistryUniqueKey
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools.h b/src/tools.h index ddf5c67..673d6f0 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -8,8 +8,8 @@ class Universe; | |||
8 | 8 | ||
9 | // ################################################################################################# | 9 | // ################################################################################################# |
10 | 10 | ||
11 | void push_registry_subtable_mode(lua_State* L, UniqueKey key_, const char* mode_); | 11 | void push_registry_subtable_mode(lua_State* L, RegistryUniqueKey key_, const char* mode_); |
12 | void push_registry_subtable(lua_State* L, UniqueKey key_); | 12 | void push_registry_subtable(lua_State* L, RegistryUniqueKey key_); |
13 | 13 | ||
14 | enum class VT | 14 | enum class VT |
15 | { | 15 | { |
@@ -88,7 +88,7 @@ void initialize_allocator_function(Universe* U, lua_State* L); | |||
88 | // ################################################################################################# | 88 | // ################################################################################################# |
89 | 89 | ||
90 | // crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ | 90 | // crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ |
91 | static constexpr UniqueKey CONFIG_REGKEY{ 0x31cd24894eae8624ull }; // registry key to access the configuration | 91 | static constexpr RegistryUniqueKey CONFIG_REGKEY{ 0x31CD24894EAE8624ull }; // registry key to access the configuration |
92 | 92 | ||
93 | // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ | 93 | // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ |
94 | static constexpr UniqueKey LOOKUP_REGKEY{ 0x5051ed67ee7b51a1ull }; // registry key to access the lookup database | 94 | static constexpr RegistryUniqueKey LOOKUP_REGKEY{ 0x5051ED67EE7B51A1ull }; // registry key to access the lookup database |