mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
No more LUA_ERRGCMM errors
Errors in finalizers (__gc metamethods) are never propagated. Instead, they generate a warning.
This commit is contained in:
parent
437a5b07d4
commit
c6f7181e91
10 changed files with 143 additions and 109 deletions
3
lua.h
3
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue