X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=include%2Fecoli_node_subset.h;h=6eff1a00515d60b51d15790ee3a003971cf05f0a;hb=70ebe6bd8740d8cb32cd0b0a21ca28a4fa74a2a5;hp=734b1aeab7128c128d7c2e458f2f69011fd5bd96;hpb=18d03456d96f7a086a2ccc82ce97fcf056848d90;p=protos%2Flibecoli.git diff --git a/include/ecoli_node_subset.h b/include/ecoli_node_subset.h index 734b1ae..6eff1a0 100644 --- a/include/ecoli_node_subset.h +++ b/include/ecoli_node_subset.h @@ -2,14 +2,19 @@ * Copyright 2016, Olivier MATZ */ +/** + * @defgroup nodes Nodes + * @{ + */ + #ifndef ECOLI_NODE_SUBSET_ #define ECOLI_NODE_SUBSET_ #include -#define EC_NODE_SUBSET(args...) __ec_node_subset(args, EC_NODE_ENDLIST) +#define EC_NODE_SUBSET(args...) __ec_node_subset(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_SUBSET() or * ec_node_subset() + ec_node_subset_add() */ @@ -21,3 +26,5 @@ struct ec_node *ec_node_subset(const char *id); int ec_node_subset_add(struct ec_node *node, struct ec_node *child); #endif + +/** @} */