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

Hide internal generated methods from reflection, fix ctor/dtor names

This commit is contained in:
Brian Fiete 2023-10-10 13:20:35 -07:00
parent 70ab03529e
commit 078727c4a7
10 changed files with 73 additions and 15 deletions

View file

@ -842,6 +842,14 @@ BfMethodFlags BfMethodInstance::GetMethodFlags()
return methodFlags;
}
BfComptimeMethodFlags BfMethodInstance::GetComptimeMethodFlags()
{
BfComptimeMethodFlags methodFlags = (BfComptimeMethodFlags)0;
if (!mMethodDef->CanReflect())
methodFlags = (BfComptimeMethodFlags)(methodFlags | BfComptimeMethodFlags_NoReflect);
return methodFlags;
}
void BfMethodInstance::UndoDeclaration(bool keepIRFunction)
{
if (mMethodInfoEx != NULL)