diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-07 10:05:34 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-07 10:05:34 -0200 |
commit | 544eeb1f9c1fb66926fff895598d03bc5ccf96cc (patch) | |
tree | 2781cbe610c24d7cb043313bd4ed5d9f9876f9ca | |
parent | b3fe203c36b673bd01c45bf39dbb3cf6daa6d852 (diff) | |
download | lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.tar.gz lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.tar.bz2 lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.zip |
details
-rw-r--r-- | lbuiltin.c | 4 | ||||
-rw-r--r-- | ltable.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 | ||
@@ -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); | |||
26 | unsigned long luaH_hash (lua_State *L, const TObject *key); | 26 | unsigned long luaH_hash (lua_State *L, const TObject *key); |
27 | 27 | ||
28 | /* exported only for debugging */ | 28 | /* exported only for debugging */ |
29 | Node *luaH_mainposition (lua_State *L, const Hash *t, const TObject *key); | 29 | Node *luaH_mainposition (const Hash *t, const TObject *key); |
30 | 30 | ||
31 | 31 | ||
32 | #endif | 32 | #endif |