mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-05 03:44:45 -04:00
Add #subtype struct field prefix, required to have a COM interface hierarchy
This commit is contained in:
1 parent
0e69993d39
commit
65dedbb1ca
6 files changed
+37
-8
No files matched your search
@@ -74,6 +74,7 @@ enum EntityFlag : u64 {
|
||||
|
||||
EntityFlag_Test = 1ull<<30,
|
||||
EntityFlag_Init = 1ull<<31,
|
||||
EntityFlag_Subtype = 1ull<<32,
|
||||
|
||||
EntityFlag_CustomLinkName = 1ull<<40,
|
||||
EntityFlag_CustomLinkage_Internal = 1ull<<41,
|
||||
@@ -86,6 +87,10 @@ enum EntityFlag : u64 {
|
||||
EntityFlag_Overridden = 1ull<<63,
|
||||
};
|
||||
|
||||
enum : u64 {
|
||||
EntityFlags_IsSubtype = EntityFlag_Using|EntityFlag_Subtype,
|
||||
};
|
||||
|
||||
enum EntityState : u32 {
|
||||
EntityState_Unresolved = 0,
|
||||
EntityState_InProgress = 1,
|
||||
|
||||
Reference in new issue
Block a user