aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbuiltin.c4
-rw-r--r--ltable.h4
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 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.81 1999/12/03 18:02:54 roberto Exp $ 2** $Id: lbuiltin.c,v 1.82 1999/12/06 11:42:18 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -624,7 +624,7 @@ static void hash_query (lua_State *L) {
624 } 624 }
625 else { 625 else {
626 const Hash *t = avalue(luaL_tablearg(L, 2)); 626 const Hash *t = avalue(luaL_tablearg(L, 2));
627 lua_pushnumber(L, luaH_mainposition(L, t, o) - t->node); 627 lua_pushnumber(L, luaH_mainposition(t, o) - t->node);
628 } 628 }
629} 629}
630 630
diff --git a/ltable.h b/ltable.h
index b9096627..e678533e 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.16 1999/11/22 13:12:07 roberto Exp roberto $ 2** $Id: ltable.h,v 1.17 1999/11/23 13:58:02 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -26,7 +26,7 @@ const TObject *luaH_getint (lua_State *L, const Hash *t, int key);
26unsigned long luaH_hash (lua_State *L, const TObject *key); 26unsigned long luaH_hash (lua_State *L, const TObject *key);
27 27
28/* exported only for debugging */ 28/* exported only for debugging */
29Node *luaH_mainposition (lua_State *L, const Hash *t, const TObject *key); 29Node *luaH_mainposition (const Hash *t, const TObject *key);
30 30
31 31
32#endif 32#endif