summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-03 14:03:01 +0000
committerDavid Robillard <d@drobilla.net>2011-05-03 14:03:01 +0000
commit61d680d07e0b777048379f63e2f824c5f3bcebb5 (patch)
treeb512d768ed104408496e69a3897519f0970fd646
parent2b2f150447c2d3bde17cbe5d95b9902b7ef6e040 (diff)
downloadlilv-61d680d07e0b777048379f63e2f824c5f3bcebb5.tar.gz
lilv-61d680d07e0b777048379f63e2f824c5f3bcebb5.tar.bz2
lilv-61d680d07e0b777048379f63e2f824c5f3bcebb5.zip
Fix compilation.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3248 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--lilv/lilvmm.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp
index 5fb51af..e021a02 100644
--- a/lilv/lilvmm.hpp
+++ b/lilv/lilvmm.hpp
@@ -146,10 +146,12 @@ struct World {
inline LilvNode* new_bool(bool val) {
return lilv_new_bool(me, val);
}
- LILV_WRAP2(Nodes, world, find_nodes,
- Node, subject,
- Node, predicate,
- Node, object);
+ inline Nodes find_nodes(const LilvNode* subject,
+ const LilvNode* predicate,
+ const LilvNode* object) {
+ return lilv_world_find_nodes(me, subject, predicate, object);
+ }
+
LILV_WRAP2_VOID(world, set_option, const char*, uri, LilvNode*, value);
LILV_WRAP0_VOID(world, free);
LILV_WRAP0_VOID(world, load_all);