mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
15 lines
300 B
C++
15 lines
300 B
C++
#include "Variable.h"
|
|
|
|
unsigned Variable::GetAlignment()
|
|
{
|
|
if (m_has_alignment_override)
|
|
return m_alignment_override;
|
|
|
|
return m_type_declaration->GetAlignment();
|
|
}
|
|
|
|
bool Variable::GetForceAlignment()
|
|
{
|
|
return m_has_alignment_override || m_type_declaration->GetForceAlignment();
|
|
}
|