WIP: add a Val struct as an input/output when calling a function
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user