diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-08 15:27:13 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-08 15:27:13 -0300 |
| commit | 8ca9534d048782af13141874e0d2fec0d0f806af (patch) | |
| tree | d58ab47be12ff9d5910ffaf6222cf94bd0dff0f6 /ltable.c | |
| parent | 8bcf6228765e56be19feb90c8805cc2fb2223188 (diff) | |
| download | lua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.gz lua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.bz2 lua-8ca9534d048782af13141874e0d2fec0d0f806af.zip | |
access to `values' in TObject always through macros
Diffstat (limited to '')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 1.45 2000/06/05 20:15:33 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.46 2000/06/06 16:31:41 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 | */ |
| @@ -54,7 +54,7 @@ Node *luaH_mainposition (const Hash *t, const TObject *key) { | |||
| 54 | h = IntPoint(tsvalue(key)); | 54 | h = IntPoint(tsvalue(key)); |
| 55 | break; | 55 | break; |
| 56 | case TAG_TABLE: | 56 | case TAG_TABLE: |
| 57 | h = IntPoint(avalue(key)); | 57 | h = IntPoint(hvalue(key)); |
| 58 | break; | 58 | break; |
| 59 | case TAG_LCLOSURE: case TAG_CCLOSURE: | 59 | case TAG_LCLOSURE: case TAG_CCLOSURE: |
| 60 | h = IntPoint(clvalue(key)); | 60 | h = IntPoint(clvalue(key)); |
