diff options
Diffstat (limited to '')
-rw-r--r-- | src/stackindex.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stackindex.hpp b/src/stackindex.hpp index 1c2ce8c..c414ce2 100644 --- a/src/stackindex.hpp +++ b/src/stackindex.hpp | |||
@@ -5,6 +5,9 @@ | |||
5 | DECLARE_UNIQUE_TYPE(StackIndex, int); | 5 | DECLARE_UNIQUE_TYPE(StackIndex, int); |
6 | static_assert(std::is_trivial_v<StackIndex>); | 6 | static_assert(std::is_trivial_v<StackIndex>); |
7 | 7 | ||
8 | DECLARE_UNIQUE_TYPE(UserValueIndex, int); | ||
9 | static_assert(std::is_trivial_v<UserValueIndex>); | ||
10 | |||
8 | DECLARE_UNIQUE_TYPE(UserValueCount, int); | 11 | DECLARE_UNIQUE_TYPE(UserValueCount, int); |
9 | static_assert(std::is_trivial_v<UserValueCount>); | 12 | static_assert(std::is_trivial_v<UserValueCount>); |
10 | 13 | ||
@@ -14,4 +17,5 @@ static_assert(std::is_trivial_v<UserValueCount>); | |||
14 | // ################################################################################################# | 17 | // ################################################################################################# |
15 | 18 | ||
16 | static constexpr StackIndex kIdxRegistry{ LUA_REGISTRYINDEX }; | 19 | static constexpr StackIndex kIdxRegistry{ LUA_REGISTRYINDEX }; |
20 | static constexpr StackIndex kIdxNone{ 0 }; | ||
17 | static constexpr StackIndex kIdxTop{ -1 }; | 21 | static constexpr StackIndex kIdxTop{ -1 }; |