From 81e142fc14b6412f5854ffbc25c2a23f60e2e9ba Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Nov 2002 14:03:33 -0200 Subject: [PATCH] detail (`key' is always on stack) --- ltable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltable.h b/ltable.h index 54fba106..2f865453 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 1.41 2002/03/11 12:45:00 roberto Exp roberto $ +** $Id: ltable.h,v 1.42 2002/05/27 20:35:40 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -22,7 +22,7 @@ const TObject *luaH_get (Table *t, const TObject *key); TObject *luaH_set (lua_State *L, Table *t, const TObject *key); Table *luaH_new (lua_State *L, int narray, int lnhash); void luaH_free (lua_State *L, Table *t); -int luaH_next (lua_State *L, Table *t, TObject *key); +int luaH_next (lua_State *L, Table *t, StkId key); /* exported only for debugging */ Node *luaH_mainposition (const Table *t, const TObject *key);