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

Reflection changes - interface info, boxed type

This commit is contained in:
Brian Fiete 2020-09-14 06:54:49 -07:00
parent 5640e6b074
commit 8def1d4522
11 changed files with 350 additions and 108 deletions

View file

@ -630,8 +630,7 @@ public:
public:
BfDeferredMethodCallData()
{
mDeferDIType = NULL;
{
mAlign = 0;
mSize = 0;
mMethodId = 0;
@ -2351,7 +2350,7 @@ public:
BfTypeDef* mRootTypeDef;
BfTypeInstance* mRootOuterTypeInstance;
BfType* mResolvedType;
BfResolveTypeRefFlags mResolveFlags;
BfResolveTypeRefFlags mResolveFlags;
bool mFailed;
public:
@ -2426,6 +2425,9 @@ public:
BF_ASSERT(tryCount < 10);
}
if ((ctx->mResolveFlags & BfResolveTypeRefFlag_NoCreate) != 0)
return false;
mCount++;
Entry* entry = (Entry*)BfResolvedTypeSetFuncs::Allocate(sizeof(Entry), alignof(Entry));
entry->mValue = NULL;