From 544eeb1f9c1fb66926fff895598d03bc5ccf96cc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 Dec 1999 10:05:34 -0200 Subject: [PATCH] details --- lbuiltin.c | 4 ++-- ltable.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lbuiltin.c b/lbuiltin.c index 2f4c1862..77e1bc56 100644 --- a/lbuiltin.c +++ b/lbuiltin.c @@ -1,5 +1,5 @@ /* -** $Id: lbuiltin.c,v 1.81 1999/12/03 18:02:54 roberto Exp $ +** $Id: lbuiltin.c,v 1.82 1999/12/06 11:42:18 roberto Exp roberto $ ** Built-in functions ** See Copyright Notice in lua.h */ @@ -624,7 +624,7 @@ static void hash_query (lua_State *L) { } else { const Hash *t = avalue(luaL_tablearg(L, 2)); - lua_pushnumber(L, luaH_mainposition(L, t, o) - t->node); + lua_pushnumber(L, luaH_mainposition(t, o) - t->node); } } diff --git a/ltable.h b/ltable.h index b9096627..e678533e 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 1.16 1999/11/22 13:12:07 roberto Exp roberto $ +** $Id: ltable.h,v 1.17 1999/11/23 13:58:02 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -26,7 +26,7 @@ const TObject *luaH_getint (lua_State *L, const Hash *t, int key); unsigned long luaH_hash (lua_State *L, const TObject *key); /* exported only for debugging */ -Node *luaH_mainposition (lua_State *L, const Hash *t, const TObject *key); +Node *luaH_mainposition (const Hash *t, const TObject *key); #endif