1
0
Fork 0

Feature: Added report XML helper for boolean values

This commit is contained in:
Philipp Schafft 2022-03-05 20:25:01 +00:00
parent 3ed84375e6
commit 02417a11bf
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ void reportxml_helper_add_value(reportxml_node_t *parent, const char *type, cons
#define reportxml_helper_add_value_string(parent,member,str) reportxml_helper_add_value((parent), "string", (member), (str))
#define reportxml_helper_add_value_enum(parent,member,str) reportxml_helper_add_value((parent), "enum", (member), (str))
#define reportxml_helper_add_value_boolean(parent,member,value) reportxml_helper_add_value((parent), "boolean", (member), (value) ? "true" : "false")
void reportxml_helper_add_value_int(reportxml_node_t *parent, const char *member, long long int val);
void reportxml_helper_add_text(reportxml_node_t *parent, const char *definition, const char *text);