1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Save/load source substitutions.

This commit is contained in:
Bartosz Taudul
2020-04-18 14:25:04 +02:00
parent ff4b4fd9d9
commit 91ad77d86a
5 changed files with 103 additions and 8 deletions
+8
View File
@@ -2,6 +2,7 @@
#define __TRACYVIEWDATA_HPP__
#include <stdint.h>
#include <regex>
namespace tracy
{
@@ -38,6 +39,13 @@ struct Annotation
uint32_t color;
};
struct SourceRegex
{
std::string pattern;
std::string target;
std::regex regex;
};
}
#endif