lua-users home
lua-l archive

Re: [ANN] Lua 5.2.0 (work1) now available

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


On 08/01/2010 20:46, Ignacio Burgueño wrote:
...
No, leaving out the braces around "fld d" won't work.
Sorry for the noise, but this is better:
#define lua_number2int(i,d) {__asm fld d __asm fistp i}
Regards,
Ignacio
I had the same Problem with Visual Studio 2008 your fix works perfectly. Thanks! Also the definition for lua_number2uint is missing under #if defined(_MSC_VER)
Best Regards,
Michael

AltStyle によって変換されたページ (->オリジナル) /