mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28: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
|
@ -158,6 +158,18 @@ public:
|
|||
return mPtr;
|
||||
}
|
||||
|
||||
String GetString() const
|
||||
{
|
||||
if (!mType->IsPointer())
|
||||
return "";
|
||||
if ((mType->mTypeParam->mTypeCode != DbgType_SChar) && (mType->mTypeParam->mTypeCode != DbgType_UChar))
|
||||
return "";
|
||||
if (mIsLiteral)
|
||||
return mCharPtr;
|
||||
//return (const char*)mPtr;
|
||||
return "";
|
||||
}
|
||||
|
||||
operator bool() const
|
||||
{
|
||||
return (mType != NULL) && (!mHasNoValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue