aboutsummaryrefslogtreecommitdiff
path: root/src/deep.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/deep.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/deep.h')
-rw-r--r--src/deep.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/deep.h b/src/deep.h
index 2983427..1799cf0 100644
--- a/src/deep.h
+++ b/src/deep.h
@@ -21,19 +21,19 @@ extern "C" {
21// forwards 21// forwards
22struct Universe; 22struct Universe;
23 23
24enum LookupMode 24enum class LookupMode
25{ 25{
26 eLM_LaneBody, // send the lane body directly from the source to the destination lane 26 LaneBody, // send the lane body directly from the source to the destination lane
27 eLM_ToKeeper, // send a function from a lane to a keeper state 27 ToKeeper, // send a function from a lane to a keeper state
28 eLM_FromKeeper // send a function from a keeper state to a lane 28 FromKeeper // send a function from a keeper state to a lane
29}; 29};
30 30
31enum DeepOp 31enum class DeepOp
32{ 32{
33 eDO_new, 33 New,
34 eDO_delete, 34 Delete,
35 eDO_metatable, 35 Metatable,
36 eDO_module, 36 Module,
37}; 37};
38 38
39using luaG_IdFunction = void*(*)( lua_State* L, DeepOp op_); 39using luaG_IdFunction = void*(*)( lua_State* L, DeepOp op_);