sgs_GetFramePtr [function]
sgs_StackFrame* sgs_GetFramePtr( sgs_Context* C, sgs_StackFrame* from, int bwd )
Returns a call stack frame pointer.
- If
bwd
is 0, request a pointer for forward iteration:- if
from
is NULL, return pointer to first frame, otherwise return the frame afterfrom
(or NULL if it doesn't exist).
- if
- If
bwd
is not 0, request a pointer for reverse iteration:- if
from
is NULL, return pointer to last frame, otherwise return the frame beforefrom
(or NULL if it doesn't exist).
- if