diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-08 10:53:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-08 10:53:33 -0300 |
commit | 3cadc37f470df50deb5c920b028125b8bb6c316b (patch) | |
tree | a2a448ef80bddb0ddef2581d0692ccec3de5b159 /lfunc.h | |
parent | bb1146dc3986c6f123ed6d85a26694ca8d56f94a (diff) | |
download | lua-3cadc37f470df50deb5c920b028125b8bb6c316b.tar.gz lua-3cadc37f470df50deb5c920b028125b8bb6c316b.tar.bz2 lua-3cadc37f470df50deb5c920b028125b8bb6c316b.zip |
no more 'Proto' objects on the stack. Protos are anchored on outer
Protos or on a Closure, which must be created before the Proto.
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.6 2010/06/04 13:06:15 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 2.7 2012/01/20 22:05:50 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, Proto *p); | 23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems); |
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); |