mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Interop fixes and tests, fixing xplat struct passing issues
This commit is contained in:
parent
4cf6af53bd
commit
5da74382d4
31 changed files with 1569 additions and 239 deletions
|
@ -410,6 +410,7 @@ public:
|
|||
bool mNoCapture;
|
||||
bool mZExt;
|
||||
int mDereferenceableSize;
|
||||
int mByValSize;
|
||||
|
||||
BeFunctionParam()
|
||||
{
|
||||
|
@ -418,6 +419,7 @@ public:
|
|||
mNoCapture = false;
|
||||
mZExt = false;
|
||||
mDereferenceableSize = -1;
|
||||
mByValSize = -1;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1207,6 +1209,7 @@ public:
|
|||
{
|
||||
BeValue* mValue;
|
||||
int mDereferenceableSize;
|
||||
int mByRefSize;
|
||||
bool mStructRet;
|
||||
bool mZExt;
|
||||
bool mNoAlias;
|
||||
|
@ -1219,6 +1222,7 @@ public:
|
|||
mNoAlias = false;
|
||||
mNoCapture = false;
|
||||
mDereferenceableSize = -1;
|
||||
mByRefSize = -1;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1254,6 +1258,8 @@ public:
|
|||
arg.mValue->HashReference(hashCtx);
|
||||
hashCtx.Mixin(arg.mStructRet);
|
||||
hashCtx.Mixin(arg.mZExt);
|
||||
hashCtx.Mixin(arg.mDereferenceableSize);
|
||||
hashCtx.Mixin(arg.mByRefSize);
|
||||
}
|
||||
hashCtx.Mixin(mCallingConv);
|
||||
hashCtx.Mixin(mNoReturn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue