lua-users home
lua-l archive

Re: lua_number2int and cast_int

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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

AltStyle によって変換されたページ (->オリジナル) /