mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Renamed TypeCode_Single to TypeCode_Float. Float struct interop fixes.
This commit is contained in:
parent
14c3d0cd35
commit
2fe209447e
20 changed files with 595 additions and 69 deletions
|
@ -1381,7 +1381,7 @@ void DbgExprEvaluator::BeefTypeToString(const DbgTypedValue& val, String& outStr
|
|||
case BfTypeCode_Char8: outStr += "char8"; break;
|
||||
case BfTypeCode_Char16: outStr += "char16"; break;
|
||||
case BfTypeCode_Char32: outStr += "char32"; break;
|
||||
case BfTypeCode_Single: outStr += "float"; break;
|
||||
case BfTypeCode_Float: outStr += "float"; break;
|
||||
case BfTypeCode_Double: outStr += "double"; break;
|
||||
}
|
||||
}
|
||||
|
@ -5432,7 +5432,7 @@ void DbgExprEvaluator::Visit(BfLiteralExpression* literalExpr)
|
|||
mResult.mUInt32 = literalExpr->mValue.mUInt32;
|
||||
}
|
||||
break;
|
||||
case BfTypeCode_Single:
|
||||
case BfTypeCode_Float:
|
||||
mResult.mType = mDbgModule->GetPrimitiveType(DbgType_Single, GetLanguage());
|
||||
mResult.mSingle = literalExpr->mValue.mSingle;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue