aboutsummaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-17 10:44:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-17 10:44:42 -0300
commitbd96330d037660d9a1769c6c0d989f017e5f0278 (patch)
treec3f4580c628a71f512b057b7f52987153cb88d74 /lfunc.h
parent4cd1f4aac01184765818e0cebf02da454ccf6590 (diff)
downloadlua-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 'lfunc.h')
-rw-r--r--lfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfunc.h b/lfunc.h
index 859ccc12..4c788005 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -47,7 +47,7 @@ LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nelems);
47LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nelems); 47LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nelems);
48LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); 48LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl);
49LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 49LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
50LUAI_FUNC void luaF_close (lua_State *L, StkId level); 50LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status);
51LUAI_FUNC void luaF_unlinkupval (UpVal *uv); 51LUAI_FUNC void luaF_unlinkupval (UpVal *uv);
52LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); 52LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
53LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, 53LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,