summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-05 17:07:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-05 17:07:53 -0300
commitc542aac0b935a65203244c130cdfa700113f0bc8 (patch)
tree83719377490646a17c31ceb3cabb3111b713151a /ltable.h
parentdbfb810267d8fd7ecf546ea1e1edc8892547e664 (diff)
downloadlua-c542aac0b935a65203244c130cdfa700113f0bc8.tar.gz
lua-c542aac0b935a65203244c130cdfa700113f0bc8.tar.bz2
lua-c542aac0b935a65203244c130cdfa700113f0bc8.zip
collect dead indices in tables
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index 3d1f674a..df36e8a6 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.19 2000/04/25 16:55:09 roberto Exp roberto $ 2** $Id: ltable.h,v 1.20 2000/05/08 19:32:53 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*/
@@ -21,6 +21,7 @@ void luaH_free (lua_State *L, Hash *t);
21const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key); 21const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key);
22const TObject *luaH_getnum (const Hash *t, Number key); 22const TObject *luaH_getnum (const Hash *t, Number key);
23const TObject *luaH_getstr (const Hash *t, TString *key); 23const TObject *luaH_getstr (const Hash *t, TString *key);
24void luaH_remove (Hash *t, TObject *key);
24void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val); 25void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val);
25int luaH_pos (lua_State *L, const Hash *t, const TObject *r); 26int luaH_pos (lua_State *L, const Hash *t, const TObject *r);
26void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val); 27void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val);