diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-08-09 17:58:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-08-09 17:58:29 -0300 |
commit | 92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8 (patch) | |
tree | 8e360f9491a5d547a8be1aaddce780adb9fcea6b /ltable.h | |
parent | b5bf7d9ef414ce05da8523b966d94252c32a4010 (diff) | |
download | lua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.tar.gz lua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.tar.bz2 lua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.zip |
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 2.13 2009/11/06 17:07:48 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.14 2010/06/25 12:18:10 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 | */ |
@@ -17,9 +17,8 @@ | |||
17 | 17 | ||
18 | 18 | ||
19 | LUAI_FUNC const TValue *luaH_getint (Table *t, int key); | 19 | LUAI_FUNC const TValue *luaH_getint (Table *t, int key); |
20 | LUAI_FUNC TValue *luaH_setint (lua_State *L, Table *t, int key); | 20 | LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value); |
21 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); | 21 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); |
22 | LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); | ||
23 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); | 22 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); |
24 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); | 23 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); |
25 | LUAI_FUNC Table *luaH_new (lua_State *L); | 24 | LUAI_FUNC Table *luaH_new (lua_State *L); |