diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-01-23 21:05:18 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-01-23 21:05:18 -0200 |
commit | 9f1a8dbdd3ae7ec0b7ff5a916583f02135e21beb (patch) | |
tree | 4d0e1181d5acd341221a5277f14c4d1924ac2e36 /ltable.c | |
parent | d19f1da6effe07a48b64b226f9b193348da24801 (diff) | |
download | lua-9f1a8dbdd3ae7ec0b7ff5a916583f02135e21beb.tar.gz lua-9f1a8dbdd3ae7ec0b7ff5a916583f02135e21beb.tar.bz2 lua-9f1a8dbdd3ae7ec0b7ff5a916583f02135e21beb.zip |
'eqstr' -> 'luaS_eqstr'
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.66 2011/11/28 17:25:48 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.67 2011/11/30 12:41:45 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 | */ |
@@ -458,7 +458,7 @@ const TValue *luaH_getint (Table *t, int key) { | |||
458 | const TValue *luaH_getstr (Table *t, TString *key) { | 458 | const TValue *luaH_getstr (Table *t, TString *key) { |
459 | Node *n = hashstr(t, key); | 459 | Node *n = hashstr(t, key); |
460 | do { /* check whether `key' is somewhere in the chain */ | 460 | do { /* check whether `key' is somewhere in the chain */ |
461 | if (ttisstring(gkey(n)) && eqstr(rawtsvalue(gkey(n)), key)) | 461 | if (ttisstring(gkey(n)) && luaS_eqstr(rawtsvalue(gkey(n)), key)) |
462 | return gval(n); /* that's it */ | 462 | return gval(n); /* that's it */ |
463 | else n = gnext(n); | 463 | else n = gnext(n); |
464 | } while (n); | 464 | } while (n); |