mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 05:41:36 +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…
x
Reference in New Issue
Block a user