diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 1.25 2000/06/26 19:28:31 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.26 2000/08/07 20:21:34 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 | */ |
@@ -35,7 +35,7 @@ Closure *luaF_newclosure (lua_State *L, int nelems) { | |||
35 | Proto *luaF_newproto (lua_State *L) { | 35 | Proto *luaF_newproto (lua_State *L) { |
36 | Proto *f = luaM_new(L, Proto); | 36 | Proto *f = luaM_new(L, Proto); |
37 | f->code = NULL; | 37 | f->code = NULL; |
38 | f->lines = NULL; | 38 | f->lineinfo = NULL; |
39 | f->lineDefined = 0; | 39 | f->lineDefined = 0; |
40 | f->source = NULL; | 40 | f->source = NULL; |
41 | f->kstr = NULL; | 41 | f->kstr = NULL; |
@@ -60,7 +60,7 @@ void luaF_freeproto (lua_State *L, Proto *f) { | |||
60 | luaM_free(L, f->kstr); | 60 | luaM_free(L, f->kstr); |
61 | luaM_free(L, f->knum); | 61 | luaM_free(L, f->knum); |
62 | luaM_free(L, f->kproto); | 62 | luaM_free(L, f->kproto); |
63 | luaM_free(L, f->lines); | 63 | luaM_free(L, f->lineinfo); |
64 | luaM_free(L, f); | 64 | luaM_free(L, f); |
65 | } | 65 | } |
66 | 66 | ||