From 4c5d7b2dddeb853b61489d02b738572eb29cb323 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 26 Mar 2004 11:02:41 -0300 Subject: small optimization for {f()} --- ltable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ltable.h') diff --git a/ltable.h b/ltable.h index e953bb70..902beec4 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 1.45 2003/08/26 12:04:13 roberto Exp roberto $ +** $Id: ltable.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -22,6 +22,7 @@ TValue *luaH_setstr (lua_State *L, Table *t, TString *key); const TValue *luaH_get (Table *t, const TValue *key); TValue *luaH_set (lua_State *L, Table *t, const TValue *key); Table *luaH_new (lua_State *L, int narray, int lnhash); +void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize); void luaH_free (lua_State *L, Table *t); int luaH_next (lua_State *L, Table *t, StkId key); -- cgit v1.2.3-55-g6feb