Re: lua_number2int and cast_int
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua_number2int and cast_int
- From: roberto@... (Roberto Ierusalimschy)
- Date: 2006年6月13日 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.
-- Roberto