lua-users home
lua-l archive

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


> Should I be able to use getlocal(2, i) from within a callhook?

No. You can use `getlocal' from within a linehook, but not from a
callhook. The callhook is called while the function is being called
(or returning), so some parts of its state may not be completely
initialized.

-- Roberto