From 61d680d07e0b777048379f63e2f824c5f3bcebb5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 May 2011 14:03:01 +0000 Subject: Fix compilation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3248 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilvmm.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lilv/lilvmm.hpp') 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); -- cgit v1.2.1