WIP: add a Val struct as an input/output when calling a function

This commit is contained in:
2025-01-15 18:30:30 +01:00
parent e2cfedda6c
commit aaaf38cd79
2 changed files with 69 additions and 25 deletions

View File

@@ -2113,6 +2113,13 @@ bool Model::convert_to_bool(const pt::Space & space)
}
void Model::put_bool_to_stream(bool val, pt::Stream & str)
{
if( val )
str << L"true";
else
str << L"false";
}
} // namespace