[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUA_NUMBER and tolua
- From: Jose Marin <jose_marin2@...>
- Date: Tue, 18 May 2004 12:09:38 -0300 (ART)
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/