diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-05 17:07:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-05 17:07:53 -0300 |
commit | c542aac0b935a65203244c130cdfa700113f0bc8 (patch) | |
tree | 83719377490646a17c31ceb3cabb3111b713151a /ltable.h | |
parent | dbfb810267d8fd7ecf546ea1e1edc8892547e664 (diff) | |
download | lua-c542aac0b935a65203244c130cdfa700113f0bc8.tar.gz lua-c542aac0b935a65203244c130cdfa700113f0bc8.tar.bz2 lua-c542aac0b935a65203244c130cdfa700113f0bc8.zip |
collect dead indices in tables
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); | |||
21 | const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key); | 21 | const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key); |
22 | const TObject *luaH_getnum (const Hash *t, Number key); | 22 | const TObject *luaH_getnum (const Hash *t, Number key); |
23 | const TObject *luaH_getstr (const Hash *t, TString *key); | 23 | const TObject *luaH_getstr (const Hash *t, TString *key); |
24 | void luaH_remove (Hash *t, TObject *key); | ||
24 | void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val); | 25 | void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val); |
25 | int luaH_pos (lua_State *L, const Hash *t, const TObject *r); | 26 | int luaH_pos (lua_State *L, const Hash *t, const TObject *r); |
26 | void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val); | 27 | void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val); |