mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
parent
d15b396202
commit
ed1c87c8d6
@ -357,6 +357,12 @@ class Genode::Xml_generator
|
||||
attribute(name, static_cast<unsigned long long>(value));
|
||||
}
|
||||
|
||||
void attribute(char const *name, double value)
|
||||
{
|
||||
String<64> buf(value);
|
||||
_curr_node->insert_attribute(name, buf.string());
|
||||
}
|
||||
|
||||
/**
|
||||
* Append content to XML node
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user