aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-28 17:34:56 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-28 17:34:56 +0200
commit8d7791f3eb1c5fc449490845254b59fdde30e9e0 (patch)
tree7c0c414bbe592b81a8c2073584bf1c627618ff2b /src/compat.h
parent02fea6561b8ea1a25d740088c4911b584bd763d9 (diff)
downloadlanes-8d7791f3eb1c5fc449490845254b59fdde30e9e0.tar.gz
lanes-8d7791f3eb1c5fc449490845254b59fdde30e9e0.tar.bz2
lanes-8d7791f3eb1c5fc449490845254b59fdde30e9e0.zip
Handle LUA_ERRFILE
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index b971a76..fb31cab 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -232,7 +232,8 @@ enum class LuaError
232 ERRSYNTAX = LUA_ERRSYNTAX, 232 ERRSYNTAX = LUA_ERRSYNTAX,
233 ERRMEM = LUA_ERRMEM, 233 ERRMEM = LUA_ERRMEM,
234 ERRGCMM = LUA_ERRGCMM, // pre-5.4 234 ERRGCMM = LUA_ERRGCMM, // pre-5.4
235 ERRERR = LUA_ERRERR 235 ERRERR = LUA_ERRERR,
236 ERRFILE = LUA_ERRFILE
236}; 237};
237 238
238inline constexpr LuaError ToLuaError(int rc_) 239inline constexpr LuaError ToLuaError(int rc_)