Added a frame enumerator to backtrace_t

This commit is contained in:
Martin Willi
2011-05-16 15:22:21 +02:00
parent c238e8ea86
commit 61a141d01c
2 changed files with 45 additions and 0 deletions
+6
View File
@@ -56,6 +56,12 @@ struct backtrace_t {
* @return TRUE if backtraces are equal
*/
bool (*equals)(backtrace_t *this, backtrace_t *other);
/**
* Create an enumerator over the stack frame addresses.
*
* @return enumerator_t over void*
*/
enumerator_t* (*create_frame_enumerator)(backtrace_t *this);
/**
* Destroy a backtrace instance.