backtrace: add a clone() method
This commit is contained in:
@@ -59,6 +59,14 @@ struct backtrace_t {
|
||||
* @return TRUE if backtraces are equal
|
||||
*/
|
||||
bool (*equals)(backtrace_t *this, backtrace_t *other);
|
||||
|
||||
/**
|
||||
* Create a copy of this backtrace.
|
||||
*
|
||||
* @return cloned copy
|
||||
*/
|
||||
backtrace_t* (*clone)(backtrace_t *this);
|
||||
|
||||
/**
|
||||
* Create an enumerator over the stack frame addresses.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user