Pular para o conteúdo principal

Aliases

  • debug.setstack

Argumentos

number
obrigatório
Stack level number. Must satisfy 0 <= level < the current call stack depth.
number
obrigatório
One-based stack slot index.
any
obrigatório
New value for the stack slot.

Exemplo

Replace one stack slot value in a Lua stack frame.