OSDN Git Service

The position of the struct was collected in every group which related.
authortsutsumi <>
Sat, 13 Sep 2003 05:27:35 +0000 (05:27 +0000)
committertsutsumi <>
Sat, 13 Sep 2003 05:27:35 +0000 (05:27 +0000)
src/ccunit/CCUnitList.h

index 840c57f..b9b1aaa 100755 (executable)
@@ -24,7 +24,7 @@
 
 /**
  * @file
- * List class.
+ * Linked list module.
  */
 #ifndef CCUNITLIST_H
 #define CCUNITLIST_H
 #if STDC_HEADERS
 #include <stdlib.h>
 #endif
-#include <stdbool.h>
+
+/**
+ * @defgroup CCUnitList List
+ * Linked list container.
+ * @{
+ */
 
 /**
  * list container.
@@ -48,15 +53,6 @@ typedef struct CCUnitList
 } CCUnitList;
 
 /**
- * list iterator.
- */
-typedef struct CCUnitListIterator
-{
-  struct CCUnitListCell* current;              /**< current list cell  */
-  bool isAllocated;                            /**< flag ob allocated object */
-} CCUnitListIterator;
-
-/**
  * Create new list object.
  * @return new list object.
  */
@@ -86,6 +82,21 @@ extern CCUnitList* ccunit_initList (CCUnitList* list);
 extern void ccunit_deleteList (CCUnitList* list, void (*deleteContents)(void*));
 
 /**
+ * @defgroup CCUnitListIterator ListIterator
+ * List iterator
+ * @{
+ */
+
+/**
+ * list iterator.
+ */
+typedef struct CCUnitListIterator
+{
+  struct CCUnitListCell* current;              /**< current list cell  */
+  bool isAllocated;                            /**< flag ob allocated object */
+} CCUnitListIterator;
+
+/**
  * create new list iterator.
  *
  * @param list An owner list of iterator.
@@ -124,5 +135,13 @@ extern void* ccunit_nextListIterator (struct CCUnitListIterator* it);
  */
 extern bool ccunit_hasNextListIterator (struct CCUnitListIterator* it);
 
+/** @}
+ * end group CCUnitListIterator
+ */
+
+/** @}
+ * end group CCUnitList
+ */
+
 #endif