lua-users home
lua-l archive

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


> 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.