diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-10-20 15:42:41 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-10-20 15:42:41 -0200 |
commit | c51bcf4796d1e39bb9840825a72085c9a51ec402 (patch) | |
tree | 221a63329b5fc7cbca88110c36022df8026b13e9 /lfunc.h | |
parent | 03bab90303270534ba6a415b5379d4659757082d (diff) | |
download | lua-github-c51bcf4796d1e39bb9840825a72085c9a51ec402.tar.gz |
it's ok to dump functions with upvalues
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 1.20 2002/06/20 20:41:46 roberto Exp roberto $ +** $Id: lfunc.h,v 1.21 2003/03/18 12:50:04 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -14,6 +14,7 @@ Proto *luaF_newproto (lua_State *L); Closure *luaF_newCclosure (lua_State *L, int nelems); Closure *luaF_newLclosure (lua_State *L, int nelems, TObject *e); +UpVal *luaF_newupval (lua_State *L); UpVal *luaF_findupval (lua_State *L, StkId level); void luaF_close (lua_State *L, StkId level); void luaF_freeproto (lua_State *L, Proto *f); |