diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-01-20 20:05:50 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-01-20 20:05:50 -0200 |
commit | fd22ccd6d020bca1039626ee0c7de42b237a5686 (patch) | |
tree | c9f756634bec409b4ccb3f1a8e21357f409a7ddd /lfunc.h | |
parent | 76eab106df01013de80033ac07586a79879fca55 (diff) | |
download | lua-fd22ccd6d020bca1039626ee0c7de42b237a5686.tar.gz lua-fd22ccd6d020bca1039626ee0c7de42b237a5686.tar.bz2 lua-fd22ccd6d020bca1039626ee0c7de42b237a5686.zip |
object tag keeps variant bits too -> no need for 'isC' field in
Closures + more strick typing for closure variants
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.h,v 2.5 2010/03/26 20:58:11 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 2.6 2010/06/04 13:06:15 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 | */ |
@@ -25,7 +25,6 @@ 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); |
27 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); | 27 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); |
28 | LUAI_FUNC void luaF_freeclosure (lua_State *L, Closure *c); | ||
29 | LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv); | 28 | LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv); |
30 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, | 29 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, |
31 | int pc); | 30 | int pc); |