mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 11:01:48 +03:00
23 lines
300 B
C++
23 lines
300 B
C++
#ifndef backtrace_hh_INCLUDED
|
|
#define backtrace_hh_INCLUDED
|
|
|
|
namespace Kakoune
|
|
{
|
|
|
|
class String;
|
|
|
|
struct Backtrace
|
|
{
|
|
static constexpr int max_frames = 16;
|
|
void* stackframes[max_frames];
|
|
int num_frames = 0;
|
|
|
|
Backtrace();
|
|
String desc() const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // backtrace_hh_INCLUDED
|
|
|