summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-30 11:14:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-30 11:14:46 -0200
commit9a455438417b45be12b763ca56005b32bf0bb017 (patch)
tree9439ba61ebd0606aebf97f8ba445d16dee5e4b20 /ltable.h
parent766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.h b/ltable.h
index 292e1e55..b77cf2a2 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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);
19void luaH_free (Hash *frees); 19void luaH_free (Hash *frees);
20TObject *luaH_get (Hash *t, TObject *ref); 20TObject *luaH_get (Hash *t, TObject *ref);
21TObject *luaH_set (Hash *t, TObject *ref); 21TObject *luaH_set (Hash *t, TObject *ref);
22Node *luaH_next (TObject *o, TObject *r); 22Node *luaH_next (Hash *t, TObject *r);
23void luaH_setint (Hash *t, int ref, TObject *val); 23void luaH_setint (Hash *t, int ref, TObject *val);
24TObject *luaH_getint (Hash *t, int ref); 24TObject *luaH_getint (Hash *t, int ref);
25 25