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 /lstate.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 'lstate.h')
| -rw-r--r-- | lstate.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -316,6 +316,7 @@ LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L); | |||
| 316 | LUAI_FUNC void luaE_freeCI (lua_State *L); | 316 | LUAI_FUNC void luaE_freeCI (lua_State *L); |
| 317 | LUAI_FUNC void luaE_shrinkCI (lua_State *L); | 317 | LUAI_FUNC void luaE_shrinkCI (lua_State *L); |
| 318 | LUAI_FUNC void luaE_enterCcall (lua_State *L); | 318 | LUAI_FUNC void luaE_enterCcall (lua_State *L); |
| 319 | LUAI_FUNC void luaE_warning (lua_State *L, const char *msg); | ||
| 319 | 320 | ||
| 320 | 321 | ||
| 321 | #define luaE_exitCcall(L) ((L)->nCcalls--) | 322 | #define luaE_exitCcall(L) ((L)->nCcalls--) |
