diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-08-07 13:17:41 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-08-07 13:17:41 -0300 |
| commit | 3135a6bbaba406fd9f1e97e0b9c8415e1ad32579 (patch) | |
| tree | d03a797b5a3bad7b83013f4c4ae7162423622476 /ltable.h | |
| parent | 95cbc402dc4f246d2eeff3b53afcd183b3a8ccb0 (diff) | |
| download | lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.gz lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.tar.bz2 lua-3135a6bbaba406fd9f1e97e0b9c8415e1ad32579.zip | |
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
not generic numbers)
Diffstat (limited to 'ltable.h')
| -rw-r--r-- | ltable.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.h,v 2.10 2006/01/10 13:13:06 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.11 2006/07/11 15:53:29 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 | */ |
| @@ -18,8 +18,8 @@ | |||
| 18 | #define key2tval(n) (&(n)->i_key.tvk) | 18 | #define key2tval(n) (&(n)->i_key.tvk) |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); | 21 | LUAI_FUNC const TValue *luaH_getint (Table *t, int key); |
| 22 | LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); | 22 | LUAI_FUNC TValue *luaH_setint (lua_State *L, Table *t, int key); |
| 23 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); | 23 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); |
| 24 | LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); | 24 | LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); |
| 25 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); | 25 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); |
