diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-18 10:40:02 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-18 10:40:02 -0200 |
commit | 7d45a5f48ff32a4e09a1734de23823943d6a6b28 (patch) | |
tree | de7bef1faf37d9b639928e5269e89d7112b5b6fa /lfunc.h | |
parent | 73d764024451c24bc43b8e5102fe90974a86b7f4 (diff) | |
download | lua-github-7d45a5f48ff32a4e09a1734de23823943d6a6b28.tar.gz |
C functions and userdata also have environments
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |