lua-users home
lua-l archive

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


> > #define luaL_checkunsigned luaL_checkint
> 
> That looks nasty. Would that not cause problems?

Lazy, yes. Nasty, no. :-)

Fortunately, luaL_checkunsigned is used in lmathlib.c only in math_randomseed
when calling srand and for that any bit pattern works fine...