diff options
Diffstat (limited to 'src/bookmarks.h')
-rw-r--r-- | src/bookmarks.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks.h b/src/bookmarks.h index a3269a59..aac83be1 100644 --- a/src/bookmarks.h +++ b/src/bookmarks.h | |||
@@ -52,7 +52,7 @@ void add_Bookmarks (iBookmarks *, const iString *url, const iString *ti | |||
52 | iBool remove_Bookmarks (iBookmarks *, uint32_t id); | 52 | iBool remove_Bookmarks (iBookmarks *, uint32_t id); |
53 | iBookmark *get_Bookmarks (iBookmarks *, uint32_t id); | 53 | iBookmark *get_Bookmarks (iBookmarks *, uint32_t id); |
54 | 54 | ||
55 | typedef iBool (*iBookmarksFilterFunc) (const iBookmark *); | 55 | typedef iBool (*iBookmarksFilterFunc) (void *context, const iBookmark *); |
56 | typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **); | 56 | typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **); |
57 | 57 | ||
58 | /** | 58 | /** |
@@ -66,5 +66,5 @@ typedef int (*iBookmarksCompareFunc)(const iBookmark **, const iBookmark **); | |||
66 | * @return Collected array of bookmarks. Caller does not get ownership of the | 66 | * @return Collected array of bookmarks. Caller does not get ownership of the |
67 | * listed bookmarks. | 67 | * listed bookmarks. |
68 | */ | 68 | */ |
69 | const iPtrArray *list_Bookmarks(const iBookmarks *, iBookmarksFilterFunc filter, | 69 | const iPtrArray *list_Bookmarks(const iBookmarks *, iBookmarksCompareFunc cmp, |
70 | iBookmarksCompareFunc cmp); | 70 | iBookmarksFilterFunc filter, void *context); |