[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUA_NUMBER to float
- From: "Tom Spilman" <tom@...>
- Date: Thu, 23 Sep 2004 19:53:26 -0500
I think I've got this right, but it seems there have been a lot of changes
since 5.0 so I want to check. To change over Lua to use floats I changed
the following lines in luaconf.h:
#define LUA_NUMBER float
#define LUA_NUMBER_SCAN "%f"
#define LUA_NUMBER_FMT "%g"
#define LUA_UACNUMBER float
#define LUSER_ALIGNMENT_T union { float u; void *s; long l; }
Did I miss anything?
Tom Spilman
Co-owner | Programmer
www.sickheadgames.com