lua-users home
lua-l archive

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


On 04/27/2014 08:09 AM, Karel Tuma wrote:
After that, you can push userdata by pointer. In case the userdata
object has been collected in the meantime, nil is pushed on stack.

Sounds interesting, just out of interest, what happens if the userdata has been collected in the meantime and a new userdata with the same pointer has been allocated as well. Will nil be pushed or the new userdata (which may be of a different kind).

--
Thomas