aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/node.hpp')
-rw-r--r--node/node.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/node.hpp b/node/node.hpp
index 5365c9f..a058916 100644
--- a/node/node.hpp
+++ b/node/node.hpp
@@ -22,6 +22,12 @@
*/
#ifndef NDEBUG
+/*!
+ * \brief to_string Debug function that turns a groupelement to a string.
+ * \param el element to convert.
+ * \param ctx The context to use.
+ * \return The string containing the binary data of the array representation of the groupelement
+ */
inline std::string to_string(GroupElement el, CMixContext const& ctx) {
std::string ret;
ret.resize(get_group_element_array_size(&ctx));