/* */
/* */
/* */
-/* (C) 2000 Ullrich von Bassewitz */
+/* (C) 2000-2001 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
+void CollDeleteAll (Collection* C)
+/* Delete all items from the given collection. This will not free the items
+ * itself, it will only remove the pointers.
+ */
+{
+ /* This one is easy... */
+ C->Count = 0;
+}
+
+
+
void CollReplace (Collection* C, void* Item, unsigned Index)
/* Replace the item at the given position. The old item will not be freed,
* just the pointer will et replaced.
/* */
/* */
/* */
-/* (C) 2000 Ullrich von Bassewitz */
+/* (C) 2000-2001 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
* will get moved to a lower position.
*/
+void CollDeleteAll (Collection* C);
+/* Delete all items from the given collection. This will not free the items
+ * itself, it will only remove the pointers.
+ */
+
void CollReplace (Collection* C, void* Item, unsigned Index);
/* Replace the item at the given position. The old item will not be freed,
* just the pointer will et replaced.