diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-14 12:54:20 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-14 12:54:20 -0300 |
| commit | 1dc0e82aeb43d2265fcb6834430e8471729c77e2 (patch) | |
| tree | 8bb9f7280481321955091c4e5f5986f90f72a683 /func.c | |
| parent | c2eb02aaf6f0c852b5528a6d47d098af103a6258 (diff) | |
| download | lua-1dc0e82aeb43d2265fcb6834430e8471729c77e2.tar.gz lua-1dc0e82aeb43d2265fcb6834430e8471729c77e2.tar.bz2 lua-1dc0e82aeb43d2265fcb6834430e8471729c77e2.zip | |
"freefunc" now is public.
Diffstat (limited to 'func.c')
| -rw-r--r-- | func.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -43,7 +43,7 @@ void luaI_insertfunction (TFunc *f) | |||
| 43 | /* | 43 | /* |
| 44 | ** Free function | 44 | ** Free function |
| 45 | */ | 45 | */ |
| 46 | static void freefunc (TFunc *f) | 46 | void luaI_freefunc (TFunc *f) |
| 47 | { | 47 | { |
| 48 | luaI_free (f->code); | 48 | luaI_free (f->code); |
| 49 | luaI_free (f->locvars); | 49 | luaI_free (f->locvars); |
| @@ -68,7 +68,7 @@ Long luaI_funccollector (void) | |||
| 68 | function_root = next; | 68 | function_root = next; |
| 69 | else | 69 | else |
| 70 | prev->next = next; | 70 | prev->next = next; |
| 71 | freefunc (curr); | 71 | luaI_freefunc (curr); |
| 72 | ++counter; | 72 | ++counter; |
| 73 | } | 73 | } |
| 74 | else | 74 | else |
