diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:20:29 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:20:29 -0200 |
| commit | 728ff2070135b54c544b90020be268f53bf2d15a (patch) | |
| tree | e8e0ac5b298c96ab66406a9d794a531d92dd4705 | |
| parent | 2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 (diff) | |
| download | lua-728ff2070135b54c544b90020be268f53bf2d15a.tar.gz lua-728ff2070135b54c544b90020be268f53bf2d15a.tar.bz2 lua-728ff2070135b54c544b90020be268f53bf2d15a.zip | |
details
| -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.32 2000/10/10 19:52:58 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.33 2000/10/18 17:19:09 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 | */ |
| @@ -18,7 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | Closure *luaF_newclosure (lua_State *L, int nelems) { | 20 | Closure *luaF_newclosure (lua_State *L, int nelems) { |
| 21 | lint32 size = sizeclosure(nelems); | 21 | int size = sizeclosure(nelems); |
| 22 | Closure *c = (Closure *)luaM_malloc(L, size); | 22 | Closure *c = (Closure *)luaM_malloc(L, size); |
| 23 | c->next = L->rootcl; | 23 | c->next = L->rootcl; |
| 24 | L->rootcl = c; | 24 | L->rootcl = c; |
