lua-users home
lua-l archive

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


Hi,

Really simple question...
I would like to change the 'double' to 'float' in the wrapper that's
generated by tolua++ (1.03)...

For example

from
"double x1 = ((double)  tolua_tonumber(tolua_S,2,0));"
To 
"float x1 = ((float)  tolua_tonumber(tolua_S,2,0));"

(x1 is a class member variable)

Many thanks
tham