summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-03-26 11:02:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-03-26 11:02:41 -0300
commit4c5d7b2dddeb853b61489d02b738572eb29cb323 (patch)
tree98fd0c7ad24d788bb60c8aee568fad856f630b89 /ltable.h
parentd7cb62286642b0f5c16057373ff129109e1a3e8a (diff)
downloadlua-4c5d7b2dddeb853b61489d02b738572eb29cb323.tar.gz
lua-4c5d7b2dddeb853b61489d02b738572eb29cb323.tar.bz2
lua-4c5d7b2dddeb853b61489d02b738572eb29cb323.zip
small optimization for {f()}
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index e953bb70..902beec4 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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);
22const TValue *luaH_get (Table *t, const TValue *key); 22const TValue *luaH_get (Table *t, const TValue *key);
23TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 23TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
24Table *luaH_new (lua_State *L, int narray, int lnhash); 24Table *luaH_new (lua_State *L, int narray, int lnhash);
25void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize);
25void luaH_free (lua_State *L, Table *t); 26void luaH_free (lua_State *L, Table *t);
26int luaH_next (lua_State *L, Table *t, StkId key); 27int luaH_next (lua_State *L, Table *t, StkId key);
27 28