diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-04 10:06:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-04 10:06:15 -0300 |
commit | 545f43065ff8fa20e5f8254e6270d00694b847dd (patch) | |
tree | 22660d6087cd7c5b342652d6e3ee555df58fdabd /lfunc.h | |
parent | 3819c30e5553b98ceb7d8d2da20c9da25cbdc62a (diff) | |
download | lua-545f43065ff8fa20e5f8254e6270d00694b847dd.tar.gz lua-545f43065ff8fa20e5f8254e6270d00694b847dd.tar.bz2 lua-545f43065ff8fa20e5f8254e6270d00694b847dd.zip |
'luaF_newLclosure' gets prototype of new closure as argument
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.h,v 2.4 2005/04/25 19:24:10 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 2.5 2010/03/26 20:58:11 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); | 21 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); |
22 | LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems); | 22 | LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems); |
23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems); | 23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, Proto *p); |
24 | LUAI_FUNC UpVal *luaF_newupval (lua_State *L); | 24 | LUAI_FUNC UpVal *luaF_newupval (lua_State *L); |
25 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); | 25 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); |
26 | LUAI_FUNC void luaF_close (lua_State *L, StkId level); | 26 | LUAI_FUNC void luaF_close (lua_State *L, StkId level); |