mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
19 lines
332 B
C++
19 lines
332 B
C++
#ifndef __TRACYFILEHEADER_HPP__
|
|
#define __TRACYFILEHEADER_HPP__
|
|
|
|
#include "../common/TracyForceInline.hpp"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
static const char Lz4Header[4] = { 't', 'l', 'Z', 4 };
|
|
|
|
static constexpr tracy_force_inline int FileVersion( uint8_t h5, uint8_t h6, uint8_t h7 )
|
|
{
|
|
return ( h5 << 16 ) | ( h6 << 8 ) | h7;
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|