diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-01-01 12:14:56 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-01-01 12:14:56 -0200 |
commit | c6f7181e910b6b2ff1346b5486a31be87b1da5af (patch) | |
tree | 92cc716487c83ecd9860444f23fd55ef65358cbb /lua.h | |
parent | 437a5b07d415e1a74160ddfd804017171d6cc5cb (diff) | |
download | lua-c6f7181e910b6b2ff1346b5486a31be87b1da5af.tar.gz lua-c6f7181e910b6b2ff1346b5486a31be87b1da5af.tar.bz2 lua-c6f7181e910b6b2ff1346b5486a31be87b1da5af.zip |
No more LUA_ERRGCMM errors
Errors in finalizers (__gc metamethods) are never propagated.
Instead, they generate a warning.
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -51,8 +51,7 @@ | |||
51 | #define LUA_ERRRUN 2 | 51 | #define LUA_ERRRUN 2 |
52 | #define LUA_ERRSYNTAX 3 | 52 | #define LUA_ERRSYNTAX 3 |
53 | #define LUA_ERRMEM 4 | 53 | #define LUA_ERRMEM 4 |
54 | #define LUA_ERRGCMM 5 | 54 | #define LUA_ERRERR 5 |
55 | #define LUA_ERRERR 6 | ||
56 | 55 | ||
57 | 56 | ||
58 | typedef struct lua_State lua_State; | 57 | typedef struct lua_State lua_State; |