made linked lists invoke() method consistent to clone_*() and destroy_*() methods

This commit is contained in:
Martin Willi
2007-08-09 12:43:11 +00:00
parent 10c6cc0a36
commit 939e93787e
3 changed files with 29 additions and 6 deletions
+9 -1
View File
@@ -184,7 +184,15 @@ struct linked_list_t {
* @param this calling object
* @param offset offset of the method to invoke on objects
*/
void (*invoke) (linked_list_t *this, size_t offset);
void (*invoke_offset) (linked_list_t *this, size_t offset);
/**
* @brief Invoke a function on all of the contained objects.
*
* @param this calling object
* @param offset offset of the method to invoke on objects
*/
void (*invoke_function) (linked_list_t *this, void (*)(void*));
/**
* @brief Clones a list and its objects using the objects' clone method.