lua-users home
lua-l archive

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


> Very happy to see lua_rotate added! Thanks a lot!
> 
> But I still want to see a API can push multiple values, maybe lua_pushvalues?

What would it do?


> still miss the fast double/integer conversion, I have found l_castS2U
> and l_castU2S can be defined out of lua, or maybe add
> lua_number2integer, lua_integer2number, lua_unsigend2integer,
> lua_integer2unsigned to luaconf.h? allow others to make the tricks.

lua_numtointeger is there (check the manual); I do not see how the
others could be better than a type cast.

-- Roberto