summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/collections.c16
-rw-r--r--src/lilv_internal.h3
2 files changed, 2 insertions, 17 deletions
diff --git a/src/collections.c b/src/collections.c
index fc24669..e057c6f 100644
--- a/src/collections.c
+++ b/src/collections.c
@@ -136,18 +136,6 @@ lilv_nodes_contains(const LilvNodes* list, const LilvNode* value)
/* Iterator */
-LilvIter*
-lilv_iter_next(LilvIter* i)
-{
- return zix_tree_iter_next((ZixTreeIter*)i);
-}
-
-bool
-lilv_iter_end(LilvIter* i)
-{
- return !i || zix_tree_iter_is_end((ZixTreeIter*)i);
-}
-
#define LILV_COLLECTION_IMPL(prefix, CT, ET) \
LILV_API \
unsigned \
@@ -170,13 +158,13 @@ prefix##_get(const CT* collection, LilvIter* i) { \
LILV_API \
LilvIter* \
prefix##_next(const CT* collection, LilvIter* i) { \
- return lilv_iter_next(i); \
+ return zix_tree_iter_next(i); \
} \
\
LILV_API \
bool \
prefix##_is_end(const CT* collection, LilvIter* i) { \
- return lilv_iter_end(i); \
+ return zix_tree_iter_is_end(i); \
}
LILV_COLLECTION_IMPL(lilv_plugin_classes, LilvPluginClasses, LilvPluginClass)
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index 03252a3..0d4310f 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -203,9 +203,6 @@ LilvNode* lilv_plugin_get_unique(const LilvPlugin* p,
const SordNode* subject,
const SordNode* predicate);
-LilvIter* lilv_iter_next(LilvIter* i);
-bool lilv_iter_end(LilvIter* i);
-
void lilv_collection_free(LilvCollection* collection);
unsigned lilv_collection_size(const LilvCollection* collection);
LilvIter* lilv_collection_begin(const LilvCollection* collection);