Added an equals function to backtrace_t

This commit is contained in:
Martin Willi
2011-05-16 15:22:21 +02:00
parent 79edee7422
commit c238e8ea86
2 changed files with 33 additions and 0 deletions
+8
View File
@@ -49,6 +49,14 @@ struct backtrace_t {
*/
bool (*contains_function)(backtrace_t *this, char *function[], int count);
/**
* Check two backtraces for equality.
*
* @param other backtrace to compare to this
* @return TRUE if backtraces are equal
*/
bool (*equals)(backtrace_t *this, backtrace_t *other);
/**
* Destroy a backtrace instance.
*/