From 92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 9 Aug 2011 17:58:29 -0300 Subject: no more 'luaH_setstr (used only once) + 'luaH_setint' receives value to be set. --- ltable.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ltable.h') diff --git a/ltable.h b/ltable.h index 823940b4..ad13c969 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 2.13 2009/11/06 17:07:48 roberto Exp roberto $ +** $Id: ltable.h,v 2.14 2010/06/25 12:18:10 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -17,9 +17,8 @@ LUAI_FUNC const TValue *luaH_getint (Table *t, int key); -LUAI_FUNC TValue *luaH_setint (lua_State *L, Table *t, int key); +LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value); LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); -LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); LUAI_FUNC Table *luaH_new (lua_State *L); -- cgit v1.2.3-55-g6feb