diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-08 18:42:39 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-08 18:42:39 +0200 |
commit | 16b5070c0cd56e10c5074eb9903dbc3ae4e15a61 (patch) | |
tree | f6d5cdb74b505e13aa3261f7ab6192da0133b7b9 /src/macros_and_utils.h | |
parent | e939e5e6a894a042d3301e47faa05264445f27f6 (diff) | |
download | lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.tar.gz lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.tar.bz2 lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.zip |
Sprinkling StackIndex all over the place
Diffstat (limited to 'src/macros_and_utils.h')
-rw-r--r-- | src/macros_and_utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index e73abef..f22d124 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h | |||
@@ -25,9 +25,8 @@ using lua_Duration = std::chrono::template duration<lua_Number>; | |||
25 | 25 | ||
26 | // ################################################################################################# | 26 | // ################################################################################################# |
27 | 27 | ||
28 | using SourceState = Unique<lua_State*>; | 28 | DECLARE_UNIQUE_TYPE(SourceState, lua_State*); |
29 | using DestState = Unique<lua_State*>; | 29 | DECLARE_UNIQUE_TYPE(DestState, lua_State*); |
30 | using StackIndex = Unique<int>; | ||
31 | 30 | ||
32 | // ################################################################################################# | 31 | // ################################################################################################# |
33 | 32 | ||