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:
parent
70ab03529e
commit
078727c4a7
10 changed files with 73 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue