mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Attribute error fix for functions
This commit is contained in:
parent
6703cd18ee
commit
1e5e263a31
1 changed files with 2 additions and 0 deletions
|
@ -11394,6 +11394,8 @@ BfCustomAttributes* BfModule::GetCustomAttributes(BfTypeDef* typeDef)
|
|||
BfAttributeTargets attrTarget;
|
||||
if (typeDef->mIsDelegate)
|
||||
attrTarget = BfAttributeTargets_Delegate;
|
||||
else if (typeDef->mIsFunction)
|
||||
attrTarget = BfAttributeTargets_Function;
|
||||
else if (typeDef->mTypeCode == BfTypeCode_Enum)
|
||||
attrTarget = BfAttributeTargets_Enum;
|
||||
else if (typeDef->mTypeCode == BfTypeCode_Interface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue