lua-users home
lua-l archive

[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