aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-01-01 12:14:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-01-01 12:14:56 -0200
commitc6f7181e910b6b2ff1346b5486a31be87b1da5af (patch)
tree92cc716487c83ecd9860444f23fd55ef65358cbb /lstate.h
parent437a5b07d415e1a74160ddfd804017171d6cc5cb (diff)
downloadlua-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lstate.h b/lstate.h
index f3793256..05a74dda 100644
--- a/lstate.h
+++ b/lstate.h
@@ -316,6 +316,7 @@ LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L);
316LUAI_FUNC void luaE_freeCI (lua_State *L); 316LUAI_FUNC void luaE_freeCI (lua_State *L);
317LUAI_FUNC void luaE_shrinkCI (lua_State *L); 317LUAI_FUNC void luaE_shrinkCI (lua_State *L);
318LUAI_FUNC void luaE_enterCcall (lua_State *L); 318LUAI_FUNC void luaE_enterCcall (lua_State *L);
319LUAI_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--)