aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-31 18:02:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-31 18:02:55 -0300
commitebdd4e84514cdb81de9569dda796c58c344025bb (patch)
treea49dd740d9b1245c255cc8de6b8f12c21fbf9a8f
parent9a21e81907e49b79ec44677660acf9e35ad308bb (diff)
downloadlua-ebdd4e84514cdb81de9569dda796c58c344025bb.tar.gz
lua-ebdd4e84514cdb81de9569dda796c58c344025bb.tar.bz2
lua-ebdd4e84514cdb81de9569dda796c58c344025bb.zip
`call' doesn't use pack anymore
-rw-r--r--lvm.c4
-rw-r--r--lvm.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/lvm.c b/lvm.c
index fb7998f4..a2aa456e 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.131 2000/08/29 14:48:16 roberto Exp roberto $ 2** $Id: lvm.c,v 1.132 2000/08/31 14:08:27 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*/
@@ -313,7 +313,7 @@ static void strconc (lua_State *L, int total, StkId top) {
313} 313}
314 314
315 315
316void luaV_pack (lua_State *L, StkId firstelem) { 316static void luaV_pack (lua_State *L, StkId firstelem) {
317 int i; 317 int i;
318 Hash *htab = luaH_new(L, 0); 318 Hash *htab = luaH_new(L, 0);
319 for (i=0; firstelem+i<L->top; i++) 319 for (i=0; firstelem+i<L->top; i++)
diff --git a/lvm.h b/lvm.h
index a85673c4..5783c209 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 1.23 2000/06/06 16:31:41 roberto Exp roberto $ 2** $Id: lvm.h,v 1.24 2000/08/29 14:41:56 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*/
@@ -17,7 +17,6 @@
17#define tostring(L,o) ((ttype(o) != TAG_STRING) && (luaV_tostring(L, o) != 0)) 17#define tostring(L,o) ((ttype(o) != TAG_STRING) && (luaV_tostring(L, o) != 0))
18 18
19 19
20void luaV_pack (lua_State *L, StkId firstel);
21int luaV_tonumber (TObject *obj); 20int luaV_tonumber (TObject *obj);
22int luaV_tostring (lua_State *L, TObject *obj); 21int luaV_tostring (lua_State *L, TObject *obj);
23void luaV_gettable (lua_State *L, StkId top); 22void luaV_gettable (lua_State *L, StkId top);