From 7b21b438b02d8ff14ae079a0734b1a9e51b7c453 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 03:51:27 +0000 Subject: Hide zix symbols (fix static builds with lilv). git-svn-id: http://svn.drobilla.net/sord/trunk@248 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/sord.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/sord.c') diff --git a/src/sord.c b/src/sord.c index f0f3428..bd68d65 100644 --- a/src/sord.c +++ b/src/sord.c @@ -22,7 +22,10 @@ #include #include +#define ZIX_INLINE +#include "zix/hash.c" #include "zix/hash.h" +#include "zix/tree.c" #include "zix/tree.h" #include "sord_config.h" @@ -640,10 +643,10 @@ sord_new(SordWorld* world, unsigned indices, bool graphs) if (indices & (1 << i)) { sord->indices[i] = zix_tree_new( - false, sord_quad_compare, (void*)ordering); + false, sord_quad_compare, (void*)ordering, NULL); if (graphs) { sord->indices[i + (NUM_ORDERS / 2)] = zix_tree_new( - false, sord_quad_compare, (void*)g_ordering); + false, sord_quad_compare, (void*)g_ordering, NULL); } else { sord->indices[i + (NUM_ORDERS / 2)] = NULL; } @@ -655,11 +658,11 @@ sord_new(SordWorld* world, unsigned indices, bool graphs) if (!sord->indices[DEFAULT_ORDER]) { sord->indices[DEFAULT_ORDER] = zix_tree_new( - false, sord_quad_compare, (void*)orderings[DEFAULT_ORDER]); + false, sord_quad_compare, (void*)orderings[DEFAULT_ORDER], NULL); } if (graphs && !sord->indices[DEFAULT_GRAPH_ORDER]) { sord->indices[DEFAULT_GRAPH_ORDER] = zix_tree_new( - false, sord_quad_compare, (void*)orderings[DEFAULT_GRAPH_ORDER]); + false, sord_quad_compare, (void*)orderings[DEFAULT_GRAPH_ORDER], NULL); } return sord; -- cgit v1.2.1