aboutsummaryrefslogtreecommitdiff
path: root/src/compat.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/compat.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compat.hpp b/src/compat.hpp
index 0c7c5bb..d864ae9 100644
--- a/src/compat.hpp
+++ b/src/compat.hpp
@@ -34,7 +34,7 @@
34// ################################################################################################# 34// #################################################################################################
35 35
36// a strong-typed wrapper over lua types to see them easier in a debugger 36// a strong-typed wrapper over lua types to see them easier in a debugger
37enum class LuaType 37enum class [[nodiscard]] LuaType
38{ 38{
39 NONE = LUA_TNONE, 39 NONE = LUA_TNONE,
40 NIL = LUA_TNIL, 40 NIL = LUA_TNIL,
@@ -49,7 +49,7 @@ enum class LuaType
49 CDATA = 10 // LuaJIT CDATA 49 CDATA = 10 // LuaJIT CDATA
50}; 50};
51 51
52enum class LuaHookMask 52enum class [[nodiscard]] LuaHookMask
53{ 53{
54 None = 0, 54 None = 0,
55 Call = LUA_MASKCALL, 55 Call = LUA_MASKCALL,
@@ -113,7 +113,7 @@ inline int luaL_optint(lua_State* L_, StackIndex n_, lua_Integer d_)
113// ################################################################################################# 113// #################################################################################################
114 114
115// a strong-typed wrapper over lua error codes to see them easier in a debugger 115// a strong-typed wrapper over lua error codes to see them easier in a debugger
116enum class LuaError 116enum class [[nodiscard]] LuaError
117{ 117{
118 OK = LUA_OK, 118 OK = LUA_OK,
119 YIELD = LUA_YIELD, 119 YIELD = LUA_YIELD,