@brief A single stack trace entry with location information
| 25 | |
| 26 | /// @brief A single stack trace entry with location information |
| 27 | struct TraceEntry { |
| 28 | const char* function; |
| 29 | int line; |
| 30 | |
| 31 | TraceEntry() FL_NOEXCEPT : function(nullptr), line(0) {} |
| 32 | TraceEntry(const char* f, int l) FL_NOEXCEPT : function(f), line(l) {} |
| 33 | }; |
| 34 | |
| 35 | /// @brief Internal storage for the trace system |
| 36 | /// Encapsulates call stack and depth tracking per-thread |