1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Reflect Filtered, extension attribs fix, generic arg BfAstNode

This commit is contained in:
Brian Fiete 2022-02-04 12:00:43 -05:00
parent 6315d81207
commit 361be9dc92
13 changed files with 75 additions and 26 deletions

View file

@ -71,7 +71,8 @@ namespace IDE
No,
IncludeType,
AssumeInstantiated,
IncludeAll
IncludeAll,
IncludeFiltered
}
}

View file

@ -26,8 +26,9 @@ namespace IDE.Compiler
ReflectStaticMethods = 0x800,
ReflectNonStaticMethods = 0x1000,
ReflectConstructors = 0x2000,
ReflectAlwaysIncludeFiltered= 0x4000,
All = 0x3FFF
All = 0x7FFF
};
[CallingConvention(.Stdcall), CLink]
@ -401,6 +402,8 @@ namespace IDE.Compiler
orFlags |= .ReflectAssumeInstantiated;
case .IncludeAll:
orFlags |= .ReflectAlwaysIncludeType | .ReflectAlwaysIncludeAll | .ReflectAssumeInstantiated;
case .IncludeFiltered:
orFlags |= .ReflectAlwaysIncludeType | .ReflectAlwaysIncludeFiltered | .ReflectAssumeInstantiated;
}
SetFlag(typeOption.mReflectBoxing, .ReflectBoxing);