1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-22 19:11:40 +03:00
kakoune/src/backtrace.hh

23 lines
300 B
C++
Raw Normal View History

#ifndef backtrace_hh_INCLUDED
#define backtrace_hh_INCLUDED
namespace Kakoune
{
2015-05-29 15:35:54 +03:00
class String;
struct Backtrace
{
static constexpr int max_frames = 16;
void* stackframes[max_frames];
int num_frames = 0;
Backtrace();
2015-05-29 15:35:54 +03:00
String desc() const;
};
}
#endif // backtrace_hh_INCLUDED