diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 1.24 2000/06/12 13:52:05 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.25 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 | */ |
@@ -25,7 +25,7 @@ Closure *luaF_newclosure (lua_State *L, int nelems) { | |||
25 | (lint32)sizeof(TObject)*(nelems-1)); | 25 | (lint32)sizeof(TObject)*(nelems-1)); |
26 | c->next = L->rootcl; | 26 | c->next = L->rootcl; |
27 | L->rootcl = c; | 27 | L->rootcl = c; |
28 | c->marked = 0; | 28 | c->mark = c; |
29 | c->nupvalues = nelems; | 29 | c->nupvalues = nelems; |
30 | L->nblocks += gcsizeclosure(L, c); | 30 | L->nblocks += gcsizeclosure(L, c); |
31 | return c; | 31 | return c; |