lua-users home
lua-l archive

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

> I'm trying to use ints instead of doubles in lua 5.1w6
> but it's not working as it was in 5.0 (found no
> luser_number.h in the package nor use_int definition
> in the whole code)

Edit luaconf.h and look for LUA_NUMBER. Change the definitions in this and
the next block. The ones in luser_number.h from 5.0 will probably work.
Sorry for the inconvenience.
> Also a little question, I'm starting with lua and from
> time to time I'm crashing the lua vm after quite a
> number of operations.

You'll have to provide us with more details. Ideally, a simple test program
that can reproduce the problem.