mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Some refactoring and add GetCustomAttributes for Comptime
This commit is contained in:
parent
d52ebfa1db
commit
3df708779d
8 changed files with 557 additions and 97 deletions
|
@ -2904,6 +2904,13 @@ BfCustomAttribute* BfCustomAttributes::Get(BfType* type)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
BfCustomAttribute* BfCustomAttributes::Get(int idx)
|
||||
{
|
||||
if (idx >= mAttributes.size())
|
||||
return NULL;
|
||||
return &mAttributes[idx];
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
BfResolvedTypeSet::~BfResolvedTypeSet()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue