lua-users home
lua-l archive

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


Roberto Ierusalimschy wrote:
And what about this?

Roberto,

the problem with the original version is the use of the semicolons. While the original fails, this is working fine using VC 7.1:

#define lua_number2int(i,d)	\
	__asm fld d \
	__asm fistp i

Regards:

Attila