mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed alwaysInclude flags
This commit is contained in:
parent
1f419deae2
commit
0576e74d58
1 changed files with 3 additions and 1 deletions
|
@ -11289,6 +11289,8 @@ void BfModule::FinishAttributeState(BfAttributeState* attributeState)
|
||||||
|
|
||||||
void BfModule::ProcessTypeInstCustomAttributes(bool& isPacked, bool& isUnion, bool& isCRepr, bool& isOrdered, int& alignOverride, BfType*& underlyingArrayType, int& underlyingArraySize)
|
void BfModule::ProcessTypeInstCustomAttributes(bool& isPacked, bool& isUnion, bool& isCRepr, bool& isOrdered, int& alignOverride, BfType*& underlyingArrayType, int& underlyingArraySize)
|
||||||
{
|
{
|
||||||
|
if (mCurTypeInstance->mTypeDef->mIsAlwaysInclude)
|
||||||
|
mCurTypeInstance->mAlwaysIncludeFlags = (BfAlwaysIncludeFlags)(mCurTypeInstance->mAlwaysIncludeFlags | BfAlwaysIncludeFlag_Type);
|
||||||
if (mCurTypeInstance->mCustomAttributes != NULL)
|
if (mCurTypeInstance->mCustomAttributes != NULL)
|
||||||
{
|
{
|
||||||
for (auto& customAttribute : mCurTypeInstance->mCustomAttributes->mAttributes)
|
for (auto& customAttribute : mCurTypeInstance->mCustomAttributes->mAttributes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue