api documentation for ec_parse
[protos/libecoli.git] / include / ecoli_node_seq.h
index 21c96b1..403cabf 100644 (file)
@@ -2,14 +2,19 @@
  * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
  */
 
+/**
+ * @defgroup nodes Nodes
+ * @{
+ */
+
 #ifndef ECOLI_NODE_SEQ_
 #define ECOLI_NODE_SEQ_
 
 #include <ecoli_node.h>
 
-#define EC_NODE_SEQ(args...) __ec_node_seq(args, EC_NODE_ENDLIST)
+#define EC_NODE_SEQ(args...) __ec_node_seq(args, EC_VA_END)
 
-/* list must be terminated with EC_NODE_ENDLIST */
+/* list must be terminated with EC_VA_END */
 /* all nodes given in the list will be freed when freeing this one */
 /* avoid using this function directly, prefer the macro EC_NODE_SEQ() or
  * ec_node_seq() + ec_node_seq_add() */
@@ -21,3 +26,5 @@ struct ec_node *ec_node_seq(const char *id);
 int ec_node_seq_add(struct ec_node *node, struct ec_node *child);
 
 #endif
+
+/** @} */