[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua_number2int and cast_int
- From: roberto@... (Roberto Ierusalimschy)
- Date: Tue, 13 Jun 2006 10:22:15 -0300
> But in lcode.c, line 230/231. It uses "cast_int(nvalue(idx))".
> I think using lua_number2int would be better, isn't it?
Sure. Thanks for the feedback.