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 /lbuiltin.c | |
| parent | b3fe203c36b673bd01c45bf39dbb3cf6daa6d852 (diff) | |
| download | lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.tar.gz lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.tar.bz2 lua-544eeb1f9c1fb66926fff895598d03bc5ccf96cc.zip | |
details
Diffstat (limited to 'lbuiltin.c')
| -rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 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 | ||
