@@ -31,10 +31,11 @@ @interface OFList: OFObject { of_list_object_t *first; of_list_object_t *last; size_t listobj_size; + size_t count; BOOL retain_and_release; } /** * \return A new autoreleased OFList */ @@ -122,12 +123,9 @@ * \param listobj The list object returned by append / prepend */ - remove: (of_list_object_t*)listobj; /** - * Get the number of items in the list. Use with caution, as this means one - * iteration through the whole list! - * * \return The number of items in the list. */ - (size_t)count; @end