mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed some constraint and generic type lifetime issues
This commit is contained in:
parent
88926da1ed
commit
dacbcf4eb3
8 changed files with 145 additions and 47 deletions
|
@ -82,7 +82,8 @@ public:
|
|||
DependencyFlag_TypeReference = 0x100000, // Explicit type reference for things like tuples, so all referencing types get passed over on symbol reference
|
||||
DependencyFlag_Allocates = 0x200000,
|
||||
DependencyFlag_NameReference = 0x400000,
|
||||
DependencyFlag_VirtualCall = 0x800000
|
||||
DependencyFlag_VirtualCall = 0x800000,
|
||||
DependencyFlag_WeakReference = 0x1000000, // Keeps alive but won't rebuild
|
||||
};
|
||||
|
||||
struct DependencyEntry
|
||||
|
@ -102,7 +103,7 @@ public:
|
|||
TypeMap mTypeSet;
|
||||
|
||||
public:
|
||||
void AddUsedBy(BfType* dependentType, DependencyDependencyFlag flags);
|
||||
bool AddUsedBy(BfType* dependentType, DependencyDependencyFlag flags);
|
||||
bool IsEmpty();
|
||||
TypeMap::iterator begin();
|
||||
TypeMap::iterator end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue