aboutsummaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-29 09:42:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-29 09:42:13 -0300
commitdad808a73a98a23729614b8814728d76b4e5d577 (patch)
tree945fabce1906c5f08fe6512476d7ca3d84017bca /lfunc.h
parentca7fd50a4ec2f1b41292f859ba0d5e52a2b22a5c (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lfunc.h b/lfunc.h
index 1182e3fa..3a9bc990 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -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
15Proto *luaF_newproto (lua_State *L); 15Proto *luaF_newproto (lua_State *L);
16void luaF_protook (lua_State *L, Proto *f, int pc);
16Closure *luaF_newclosure (lua_State *L, int nelems); 17Closure *luaF_newclosure (lua_State *L, int nelems);
17void luaF_freeproto (lua_State *L, Proto *f); 18void luaF_freeproto (lua_State *L, Proto *f);
18void luaF_freeclosure (lua_State *L, Closure *c); 19void luaF_freeclosure (lua_State *L, Closure *c);