From 7d45a5f48ff32a4e09a1734de23823943d6a6b28 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Feb 2005 10:40:02 -0200 Subject: C functions and userdata also have environments --- lfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lfunc.h') diff --git a/lfunc.h b/lfunc.h index fb542716..a69b5327 100644 --- a/lfunc.h +++ b/lfunc.h @@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 2.1 2003/12/10 12:13:36 roberto Exp $ +** $Id: lfunc.h,v 2.2 2005/01/18 17:18:09 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -19,8 +19,8 @@ Proto *luaF_newproto (lua_State *L); -Closure *luaF_newCclosure (lua_State *L, int nelems); -Closure *luaF_newLclosure (lua_State *L, int nelems, TValue *e); +Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e); +Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e); UpVal *luaF_newupval (lua_State *L); UpVal *luaF_findupval (lua_State *L, StkId level); void luaF_close (lua_State *L, StkId level); -- cgit v1.2.1