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) --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index db5d1ebb..58039611 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $ +** $Id: ldebug.c,v 2.52 2009/06/10 16:57:53 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -191,7 +191,7 @@ static void collectvalidlines (lua_State *L, Closure *f) { sethvalue(L, L->top, t); incr_top(L); for (i=0; il.p->sizelineinfo; i++) - setbvalue(luaH_setnum(L, t, lineinfo[i]), 1); + setbvalue(luaH_setint(L, t, lineinfo[i]), 1); } } -- cgit v1.2.3-55-g6feb