From 545f43065ff8fa20e5f8254e6270d00694b847dd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 4 Jun 2010 10:06:15 -0300 Subject: 'luaF_newLclosure' gets prototype of new closure as argument --- lfunc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lfunc.h') diff --git a/lfunc.h b/lfunc.h index 0d52058d..315ffe1d 100644 --- a/lfunc.h +++ b/lfunc.h @@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 2.4 2005/04/25 19:24:10 roberto Exp roberto $ +** $Id: lfunc.h,v 2.5 2010/03/26 20:58:11 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -20,7 +20,7 @@ LUAI_FUNC Proto *luaF_newproto (lua_State *L); LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems); -LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems); +LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, Proto *p); LUAI_FUNC UpVal *luaF_newupval (lua_State *L); LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); LUAI_FUNC void luaF_close (lua_State *L, StkId level); -- cgit v1.2.1