From c51bcf4796d1e39bb9840825a72085c9a51ec402 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 20 Oct 2003 15:42:41 -0200 Subject: it's ok to dump functions with upvalues --- lfunc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lfunc.h') diff --git a/lfunc.h b/lfunc.h index 34aa9d1a..ae55e289 100644 --- a/lfunc.h +++ b/lfunc.h @@ -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); -- cgit v1.2.3-55-g6feb