From c6f7181e910b6b2ff1346b5486a31be87b1da5af Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 1 Jan 2019 12:14:56 -0200 Subject: No more LUA_ERRGCMM errors Errors in finalizers (__gc metamethods) are never propagated. Instead, they generate a warning. --- lua.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index a6f8268b..b777624e 100644 --- a/lua.h +++ b/lua.h @@ -51,8 +51,7 @@ #define LUA_ERRRUN 2 #define LUA_ERRSYNTAX 3 #define LUA_ERRMEM 4 -#define LUA_ERRGCMM 5 -#define LUA_ERRERR 6 +#define LUA_ERRERR 5 typedef struct lua_State lua_State; -- cgit v1.2.3-55-g6feb