Brew MP 1.0.2
Gets information about a closure's upvalue, which are the external
local variables a Lua function uses. The upvalue's value is pushed
onto the Lua stack.
a pointer to the ILuaDebug interface
the index of the closure on the Lua stack
the (1-based) index of the upvalue to retrieve. Note that
upvalues are numbered in arbitrary order.
output pointer set to the upvalue variable's name. For C
functions this will always point to the empty string "".
- AEE_SUCCESS if there are no errors, otherwise AEE_EFAILED if nUpvalIdx
is greater than the number of upvalues.