aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-03-29 17:29:23 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-03-29 17:29:23 +0100
commit53d327679364093e8e1b4c17075633670bea9c83 (patch)
treec114ec2bec00c7f1cbd1ad4db1439d0b5089c25f /src/tools.h
parent17576c3f6762b5ba0359ddec04f5cd8916d3e2f8 (diff)
downloadlanes-53d327679364093e8e1b4c17075633670bea9c83.tar.gz
lanes-53d327679364093e8e1b4c17075633670bea9c83.tar.bz2
lanes-53d327679364093e8e1b4c17075633670bea9c83.zip
C++ migration: all enums are enum class
Diffstat (limited to 'src/tools.h')
-rw-r--r--src/tools.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools.h b/src/tools.h
index 5e6ce78..c1a8534 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -19,13 +19,13 @@ void luaG_dump( lua_State* L);
19void push_registry_subtable_mode( lua_State* L, UniqueKey key_, const char* mode_); 19void push_registry_subtable_mode( lua_State* L, UniqueKey key_, const char* mode_);
20void push_registry_subtable( lua_State* L, UniqueKey key_); 20void push_registry_subtable( lua_State* L, UniqueKey key_);
21 21
22enum e_vt 22enum class VT
23{ 23{
24 VT_NORMAL, 24 NORMAL,
25 VT_KEY, 25 KEY,
26 VT_METATABLE 26 METATABLE
27}; 27};
28bool inter_copy_one(Universe* U, lua_State* L2, int L2_cache_i, lua_State* L, int i, enum e_vt vt, LookupMode mode_, char const* upName_); 28bool inter_copy_one(Universe* U, lua_State* L2, int L2_cache_i, lua_State* L, int i, VT vt_, LookupMode mode_, char const* upName_);
29 29
30// ################################################################################################ 30// ################################################################################################
31 31