diff options
Diffstat (limited to 'src/utils/xml.hpp')
-rw-r--r-- | src/utils/xml.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/xml.hpp b/src/utils/xml.hpp index ec384f5..ace8d64 100644 --- a/src/utils/xml.hpp +++ b/src/utils/xml.hpp @@ -40,4 +40,7 @@ namespace XML std::string getProperty(xmlNodePtr node, char const *name, std::string const &def); } +#define for_each_xml_child_node(var, parent) \ + for (xmlNodePtr var = parent->xmlChildrenNode; var; var = var->next) + #endif |