luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,

not generic numbers)
This commit is contained in:
Roberto Ierusalimschy
2009-08-07 13:17:41 -03:00
parent 95cbc402dc
commit 3135a6bbab
4 changed files with 10 additions and 10 deletions

View File

@@ -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; i<f->l.p->sizelineinfo; i++)
setbvalue(luaH_setnum(L, t, lineinfo[i]), 1);
setbvalue(luaH_setint(L, t, lineinfo[i]), 1);
}
}