[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling 5.2 Work 2 for Small Micros
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 19 Mar 2010 00:17:47 -0300
> The first major problem I hit is that the #define for luai_hashnum
> requires floating point math, which I have, but may turn off.
If lua_Number is int then just use
#define luai_hashnum(i,d) i=d
If lua_Number is long and long is not the same size as int then you'll
probably want to mixed its bytes into something that fits an int.