Fix GodotProfileZone with tracy backend failing with shadowed variable names.
This commit is contained in:
parent
ef34c3d534
commit
98caaebb72
3 changed files with 7 additions and 5 deletions
|
|
@ -30,10 +30,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define _GD_VARNAME_CONCAT_B_(m_ignore, m_name) m_name
|
||||
#define _GD_VARNAME_CONCAT_A_(m_a, m_b, m_c) _GD_VARNAME_CONCAT_B_(hello there, m_a##m_b##m_c)
|
||||
#define _GD_VARNAME_CONCAT_(m_a, m_b, m_c) _GD_VARNAME_CONCAT_A_(m_a, m_b, m_c)
|
||||
#define GD_UNIQUE_NAME(m_name) _GD_VARNAME_CONCAT_(m_name, _, __COUNTER__)
|
||||
#include "core/typedefs.h"
|
||||
|
||||
// unreachable
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue