From 3135a6bbaba406fd9f1e97e0b9c8415e1ad32579 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 7 Aug 2009 13:17:41 -0300 Subject: luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, not generic numbers) --- ltable.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ltable.h') diff --git a/ltable.h b/ltable.h index 60569fd0..681dfbbf 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 2.10 2006/01/10 13:13:06 roberto Exp roberto $ +** $Id: ltable.h,v 2.11 2006/07/11 15:53:29 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -18,8 +18,8 @@ #define key2tval(n) (&(n)->i_key.tvk) -LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); -LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); +LUAI_FUNC const TValue *luaH_getint (Table *t, int key); +LUAI_FUNC TValue *luaH_setint (lua_State *L, Table *t, int key); 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); -- cgit v1.2.3-55-g6feb