backtrace.hh (300B)
1 #ifndef backtrace_hh_INCLUDED 2 #define backtrace_hh_INCLUDED 3 4 namespace Kakoune 5 { 6 7 class String; 8 9 struct Backtrace 10 { 11 static constexpr int max_frames = 16; 12 void* stackframes[max_frames]; 13 int num_frames = 0; 14 15 Backtrace(); 16 String desc() const; 17 }; 18 19 } 20 21 #endif // backtrace_hh_INCLUDED 22