diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-17 10:44:42 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-17 10:44:42 -0300 |
commit | bd96330d037660d9a1769c6c0d989f017e5f0278 (patch) | |
tree | c3f4580c628a71f512b057b7f52987153cb88d74 /ldo.h | |
parent | 4cd1f4aac01184765818e0cebf02da454ccf6590 (diff) | |
download | lua-bd96330d037660d9a1769c6c0d989f017e5f0278.tar.gz lua-bd96330d037660d9a1769c6c0d989f017e5f0278.tar.bz2 lua-bd96330d037660d9a1769c6c0d989f017e5f0278.zip |
First "complete" implementation of to-be-closed variables
Still missing:
- handling of memory errors when creating upvalue (must run closing
method all the same)
- interaction with coroutines
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ | |||
50 | /* type of protected functions, to be ran by 'runprotected' */ | 50 | /* type of protected functions, to be ran by 'runprotected' */ |
51 | typedef void (*Pfunc) (lua_State *L, void *ud); | 51 | typedef void (*Pfunc) (lua_State *L, void *ud); |
52 | 52 | ||
53 | LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop); | ||
53 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | 54 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, |
54 | const char *mode); | 55 | const char *mode); |
55 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, | 56 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, |