diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-02 17:10:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-02 17:10:55 -0300 |
commit | f6834f4393eaa1055c2bbde82ebb33cc58be8371 (patch) | |
tree | 3583008ef181106d0fc7e130300f12adc70a5854 /lvm.c | |
parent | 78bc8e553d4190fc3b90be5b621fc0f3507586ef (diff) | |
download | lua-f6834f4393eaa1055c2bbde82ebb33cc58be8371.tar.gz lua-f6834f4393eaa1055c2bbde82ebb33cc58be8371.tar.bz2 lua-f6834f4393eaa1055c2bbde82ebb33cc58be8371.zip |
new API function `lua_type' + new type lua_Type
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.137 2000/09/25 14:48:42 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.138 2000/10/02 14:47:43 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -85,7 +85,7 @@ static void traceexec (lua_State *L, StkId base, StkId top, lua_Hook linehook) { | |||
85 | } | 85 | } |
86 | 86 | ||
87 | 87 | ||
88 | static Closure *luaV_closure (lua_State *L, lua_Type t, int nelems) { | 88 | static Closure *luaV_closure (lua_State *L, lua_Tag t, int nelems) { |
89 | Closure *c = luaF_newclosure(L, nelems); | 89 | Closure *c = luaF_newclosure(L, nelems); |
90 | L->top -= nelems; | 90 | L->top -= nelems; |
91 | while (nelems--) | 91 | while (nelems--) |