mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Early code generation support
This commit is contained in:
parent
0b48a60592
commit
71d4dd0e90
26 changed files with 2422 additions and 1576 deletions
|
@ -2671,6 +2671,14 @@ BfCustomAttribute* BfCustomAttributes::Get(BfTypeDef * typeDef)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
BfCustomAttribute* BfCustomAttributes::Get(BfType* type)
|
||||
{
|
||||
for (auto& customAttr : mAttributes)
|
||||
if (customAttr.mType == type)
|
||||
return &customAttr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
BfResolvedTypeSet::~BfResolvedTypeSet()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue