diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-26 11:02:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-26 11:02:41 -0300 |
commit | 4c5d7b2dddeb853b61489d02b738572eb29cb323 (patch) | |
tree | 98fd0c7ad24d788bb60c8aee568fad856f630b89 /ltable.h | |
parent | d7cb62286642b0f5c16057373ff129109e1a3e8a (diff) | |
download | lua-4c5d7b2dddeb853b61489d02b738572eb29cb323.tar.gz lua-4c5d7b2dddeb853b61489d02b738572eb29cb323.tar.bz2 lua-4c5d7b2dddeb853b61489d02b738572eb29cb323.zip |
small optimization for {f()}
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.45 2003/08/26 12:04:13 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.1 2003/12/10 12:13:36 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 | */ |
@@ -22,6 +22,7 @@ TValue *luaH_setstr (lua_State *L, Table *t, TString *key); | |||
22 | const TValue *luaH_get (Table *t, const TValue *key); | 22 | const TValue *luaH_get (Table *t, const TValue *key); |
23 | TValue *luaH_set (lua_State *L, Table *t, const TValue *key); | 23 | TValue *luaH_set (lua_State *L, Table *t, const TValue *key); |
24 | Table *luaH_new (lua_State *L, int narray, int lnhash); | 24 | Table *luaH_new (lua_State *L, int narray, int lnhash); |
25 | void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize); | ||
25 | void luaH_free (lua_State *L, Table *t); | 26 | void luaH_free (lua_State *L, Table *t); |
26 | int luaH_next (lua_State *L, Table *t, StkId key); | 27 | int luaH_next (lua_State *L, Table *t, StkId key); |
27 | 28 | ||