lua-users home
lua-l archive

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


Possible typo with define tonumberns?

Should it be?

#define tonumberns(o,n) \
(ttisfloat(o) ? (*(n) = fltvalue(o), 1) : \
(ttisinteger(o) ? (*(n) = cast_num(ivalue(o)), 1) : 0))

regards,

Ranier Vilela

Attachment: fix_typo_tonumberns.patch
Description: Binary data