mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add Int48 clearing function.
This commit is contained in:
parent
0fdd5ab01b
commit
db1dc311b0
@ -133,6 +133,11 @@ public:
|
|||||||
SetVal( val );
|
SetVal( val );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tracy_force_inline void Clear()
|
||||||
|
{
|
||||||
|
memset( m_val, 0, 6 );
|
||||||
|
}
|
||||||
|
|
||||||
tracy_force_inline void SetVal( int64_t val )
|
tracy_force_inline void SetVal( int64_t val )
|
||||||
{
|
{
|
||||||
memcpy( m_val, &val, 4 );
|
memcpy( m_val, &val, 4 );
|
||||||
|
Loading…
Reference in New Issue
Block a user