api documentation for ec_parse
[protos/libecoli.git] / include / ecoli_strvec.h
index 727d4c8..ee793e7 100644 (file)
@@ -3,7 +3,10 @@
  */
 
 /**
- * Vectors of strings.
+ * @defgroup strvec String vectors
+ * @{
+ *
+ * @brief Helpers for strings vectors manipulation.
  *
  * The ec_strvec API provide helpers to manipulate string vectors.
  * When duplicating vectors, the strings are not duplicated in memory,
  */
 struct ec_strvec *ec_strvec(void);
 
-#ifndef EC_COUNT_OF
-#define EC_COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / \
-               ((size_t)(!(sizeof(x) % sizeof(0[x])))))
-#endif
-
 /**
  * Allocate a new string vector
  *
@@ -222,3 +220,5 @@ void ec_strvec_sort(struct ec_strvec *strvec,
 void ec_strvec_dump(FILE *out, const struct ec_strvec *strvec);
 
 #endif
+
+/** } */