lua-users home
lua-l archive

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


Hi.

I'm using float as the base number type when compiling
Lua (#define USE_FLOAT).

tolua function use double type, as in

double tolua_tonumber (lua_State* L, int narg, double
def);


I would like to use

lua_Number tolua_tonumber (lua_State* L, int narg,
lua_Number def);


I could alter the C and Lua code of tolua to do this.

As a sugestion, a next version of tolua could use
lua_Number instead of double.



______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora! 
http://br.download.yahoo.com/messenger/