Project

General

Profile

Download (536 Bytes) Statistics
| Branch: | Tag: | Revision:
7e8045d8 David Sorber
#ifndef __BACKTRACE_H__
#define __BACKTRACE_H__

#include <stdlib.h> // For size_t

/* Fancier backtrace facility.
*/
void spew_backtrace(size_t spew_level);
void spew_stored_backtrace(void *const*ptrs,
// This is an int, rather than a size_t because
// I cannot ASSERT that nelem fits in an int
// inside the spew code.
int nelem,
size_t spew_level);

#endif // !__SPEW_H__