diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-30 11:14:46 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-30 11:14:46 -0200 |
commit | 9a455438417b45be12b763ca56005b32bf0bb017 (patch) | |
tree | 9439ba61ebd0606aebf97f8ba445d16dee5e4b20 /ltable.h | |
parent | 766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f (diff) | |
download | lua-9a455438417b45be12b763ca56005b32bf0bb017.tar.gz lua-9a455438417b45be12b763ca56005b32bf0bb017.tar.bz2 lua-9a455438417b45be12b763ca56005b32bf0bb017.zip |
tables are better manipulated via "Hash *" instead of "TObject" or
"lua_Object".
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.5 1997/11/26 18:53:45 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.6 1998/07/12 16:15:19 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 | */ |
@@ -19,7 +19,7 @@ Hash *luaH_new (int nhash); | |||
19 | void luaH_free (Hash *frees); | 19 | void luaH_free (Hash *frees); |
20 | TObject *luaH_get (Hash *t, TObject *ref); | 20 | TObject *luaH_get (Hash *t, TObject *ref); |
21 | TObject *luaH_set (Hash *t, TObject *ref); | 21 | TObject *luaH_set (Hash *t, TObject *ref); |
22 | Node *luaH_next (TObject *o, TObject *r); | 22 | Node *luaH_next (Hash *t, TObject *r); |
23 | void luaH_setint (Hash *t, int ref, TObject *val); | 23 | void luaH_setint (Hash *t, int ref, TObject *val); |
24 | TObject *luaH_getint (Hash *t, int ref); | 24 | TObject *luaH_getint (Hash *t, int ref); |
25 | 25 | ||