diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-18 16:15:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-18 16:15:09 -0300 |
commit | 3c7dc52909ce0688bdb20cacaf686413a79aaf48 (patch) | |
tree | 15a55b38f747154a1ebf4cf7d7eb088fe98daedc /lfunc.h | |
parent | bd96330d037660d9a1769c6c0d989f017e5f0278 (diff) | |
download | lua-3c7dc52909ce0688bdb20cacaf686413a79aaf48.tar.gz lua-3c7dc52909ce0688bdb20cacaf686413a79aaf48.tar.bz2 lua-3c7dc52909ce0688bdb20cacaf686413a79aaf48.zip |
Handling of memory errors when creating to-be-closed upvalues
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nelems); | |||
47 | LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nelems); | 47 | LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nelems); |
48 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); | 48 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); |
49 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); | 49 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); |
50 | LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); | ||
50 | LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status); | 51 | LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status); |
51 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); | 52 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); |
52 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); | 53 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); |