lua-users home
lua-l archive

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


Too late now, but I think lua_pushvalue would have been better named
lua_pushfrom.

I know in our implementation we wanted to be able to refer to objects
representing Lua values and needed to make sure that people kept straight
the difference between pushing value objects and using the built-in
lua_pushvalue function to copy a value from one place to another on the
stack.

Mark

on 2/13/06 8:27 AM, Alex Queiroz at asandroq@gmail.com wrote:

>    Maybe you are looking for lua_pushvalue()?