aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-09 17:58:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-09 17:58:29 -0300
commit92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8 (patch)
tree8e360f9491a5d547a8be1aaddce780adb9fcea6b /ltable.h
parentb5bf7d9ef414ce05da8523b966d94252c32a4010 (diff)
downloadlua-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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ltable.h b/ltable.h
index 823940b4..ad13c969 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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
19LUAI_FUNC const TValue *luaH_getint (Table *t, int key); 19LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
20LUAI_FUNC TValue *luaH_setint (lua_State *L, Table *t, int key); 20LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
21LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 21LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
22LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key);
23LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 22LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
24LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 23LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
25LUAI_FUNC Table *luaH_new (lua_State *L); 24LUAI_FUNC Table *luaH_new (lua_State *L);