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

Add helper function for opening files.

This commit is contained in:
Bartosz Taudul
2019-08-28 19:28:31 +02:00
parent 2a0d6ce4ad
commit 38bfae13dd
2 changed files with 21 additions and 18 deletions
+3
View File
@@ -2,6 +2,7 @@
#define __TRACYUSERDATA_HPP__
#include <stdint.h>
#include <stdio.h>
#include <string>
namespace tracy
@@ -20,6 +21,8 @@ public:
bool SetDescription( const char* description );
private:
FILE* OpenFile( const char* filename, bool write );
std::string m_program;
uint64_t m_time;