summaryrefslogtreecommitdiffstats
path: root/libraries/lilv/lilvmm.patch
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2013-11-10 12:14:43 +0100
committer Robby Workman <rworkman@slackbuilds.org>2013-11-11 10:51:51 -0600
commit8b6c5a736ef63fcb19a545baf03d8b3f0141d42d (patch)
treebff6944934849d0463d576aad88495ccb1e1d231 /libraries/lilv/lilvmm.patch
parentfe6b334f56a48c5b67f03953d99fcc275bb2b074 (diff)
downloadslackbuilds-8b6c5a736ef63fcb19a545baf03d8b3f0141d42d.tar.gz
slackbuilds-8b6c5a736ef63fcb19a545baf03d8b3f0141d42d.tar.xz
libraries/lilv: Updated for version 0.16.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--libraries/lilv/lilvmm.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/lilv/lilvmm.patch b/libraries/lilv/lilvmm.patch
new file mode 100644
index 0000000000..410aac5e32
--- /dev/null
+++ b/libraries/lilv/lilvmm.patch
@@ -0,0 +1,40 @@
+Index: trunk/lilv/lilv/lilvmm.hpp
+===================================================================
+--- trunk/lilv/lilv/lilvmm.hpp (revision 4975)
++++ trunk/lilv/lilv/lilvmm.hpp (revision 5092)
+@@ -48,4 +48,9 @@
+ inline RT name(T1 a1, T2 a2) { \
+ return lilv_ ## prefix ## _ ## name(me, a1, a2); \
++ }
++
++#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \
++ inline RT name(T1 a1, T2 a2, T3 a3) { \
++ return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \
+ }
+
+@@ -138,4 +143,25 @@
+ LILV_WRAP1(bool, nodes, contains, const Node, node);
+ LILV_WRAP0(Node, nodes, get_first);
++};
++
++struct UI {
++ inline UI(const LilvUI* c_obj) : me(c_obj) {}
++ LILV_WRAP_CONVERSION(const LilvUI);
++
++ LILV_WRAP0(const LilvNode*, ui, get_uri);
++ LILV_WRAP0(const LilvNode*, ui, get_bundle_uri);
++ LILV_WRAP0(const LilvNode*, ui, get_binary_uri);
++ LILV_WRAP0(const LilvNodes*, ui, get_classes);
++ /*LILV_WRAP3(bool, ui, is_supported,
++ LilvUISupportedFunc, supported_func,
++ const LilvNode*, container_type,
++ const LilvNode**, ui_type);*/
++ LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri);
++
++ const LilvUI* me;
++};
++
++struct UIs {
++ LILV_WRAP_COLL(UIs, UI, uis);
+ };
+