v1.2.112 - kfun - previous_object

NAME

previous_object - return the previous object

SYNOPSIS

object previous_object(varargs int n)

DESCRIPTION

Return the object n+1 (default: 1) steps back in the call_other chain. If the object is destructed, or the number of steps is larger than the number of call_others involved, nil is returned.

SEE ALSO

kfun/call_other, kfun/previous_program, kfun/this_object, kfun/call_trace