diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 11:18:00 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 11:18:00 -0200 |
| commit | 7959f3aebb5b12f474b65429dedf550b28223e08 (patch) | |
| tree | 206746f154ef0e211b3ce5f74bf7d9fb241d47c5 /ltable.h | |
| parent | bce6572579a7e6c7a96895d9280396b3b33b8f3f (diff) | |
| download | lua-7959f3aebb5b12f474b65429dedf550b28223e08.tar.gz lua-7959f3aebb5b12f474b65429dedf550b28223e08.tar.bz2 lua-7959f3aebb5b12f474b65429dedf550b28223e08.zip | |
easier way to erase 'dead' keys
Diffstat (limited to 'ltable.h')
| -rw-r--r-- | ltable.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.h,v 1.26 2000/12/04 18:33:40 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.27 2001/01/10 18:56:11 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,6 @@ void luaH_free (lua_State *L, Hash *t); | |||
| 19 | const TObject *luaH_get (const Hash *t, const TObject *key); | 19 | const TObject *luaH_get (const Hash *t, const TObject *key); |
| 20 | const TObject *luaH_getnum (const Hash *t, lua_Number key); | 20 | const TObject *luaH_getnum (const Hash *t, lua_Number key); |
| 21 | const TObject *luaH_getstr (const Hash *t, TString *key); | 21 | const TObject *luaH_getstr (const Hash *t, TString *key); |
| 22 | void luaH_remove (Hash *t, TObject *key); | ||
| 23 | TObject *luaH_set (lua_State *L, Hash *t, const TObject *key); | 22 | TObject *luaH_set (lua_State *L, Hash *t, const TObject *key); |
| 24 | Node * luaH_next (lua_State *L, const Hash *t, const TObject *r); | 23 | Node * luaH_next (lua_State *L, const Hash *t, const TObject *r); |
| 25 | TObject *luaH_setnum (lua_State *L, Hash *t, lua_Number key); | 24 | TObject *luaH_setnum (lua_State *L, Hash *t, lua_Number key); |
