diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-29 09:42:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-29 09:42:13 -0300 |
commit | dad808a73a98a23729614b8814728d76b4e5d577 (patch) | |
tree | 945fabce1906c5f08fe6512476d7ca3d84017bca /lfunc.h | |
parent | ca7fd50a4ec2f1b41292f859ba0d5e52a2b22a5c (diff) | |
download | lua-dad808a73a98a23729614b8814728d76b4e5d577.tar.gz lua-dad808a73a98a23729614b8814728d76b4e5d577.tar.bz2 lua-dad808a73a98a23729614b8814728d76b4e5d577.zip |
new way to count `nblocks' for GC (try to count bytes).
Diffstat (limited to 'lfunc.h')
-rw-r--r-- | lfunc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.h,v 1.11 2000/03/10 18:37:44 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 1.12 2000/06/26 19:28:31 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 | */ |
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | 14 | ||
15 | Proto *luaF_newproto (lua_State *L); | 15 | Proto *luaF_newproto (lua_State *L); |
16 | void luaF_protook (lua_State *L, Proto *f, int pc); | ||
16 | Closure *luaF_newclosure (lua_State *L, int nelems); | 17 | Closure *luaF_newclosure (lua_State *L, int nelems); |
17 | void luaF_freeproto (lua_State *L, Proto *f); | 18 | void luaF_freeproto (lua_State *L, Proto *f); |
18 | void luaF_freeclosure (lua_State *L, Closure *c); | 19 | void luaF_freeclosure (lua_State *L, Closure *c); |