lua-users home
lua-l archive

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

>>>>> "Roberto" == Roberto Ierusalimschy <> writes:

 >> What about strings accessed via upvalue pseudo-indexes?

 Roberto> They should be valid while the corresponding call is active.
 Roberto> Documenting it is in my "todo" list.

So here's a more tricky case: what if you do lua_tostring on some stack
index, and then move that stack item while keeping it on the stack (i.e.
with lua_rotate or one of its many derivatives such as lua_remove)?