From f6ff6e487201bdd94e584397ce829daaa424aba9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 8 May 2007 03:30:37 +0000 Subject: Reworked simple query API to allow passing either QName or URI predicates. Hack around a Rasqal bug for the above (URI predicates). Clean up exposed names for greppability and to not violate user namespace. Fixed slv2_plugin_get_value and slv2_plugin_get_value_for_resource. git-svn-id: http://svn.drobilla.net/lad/slv2@517 a436a847-0d15-0410-975c-d299462d15a1 --- src/world.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index dab7532..ff91ead 100644 --- a/src/world.c +++ b/src/world.c @@ -32,7 +32,7 @@ SLV2World slv2_world_new() { - struct _World* world = (struct _World*)malloc(sizeof(struct _World)); + SLV2World world = (SLV2World)malloc(sizeof(struct _SLV2World)); world->world = librdf_new_world(); librdf_world_open(world->world); @@ -60,7 +60,7 @@ slv2_world_new() SLV2World slv2_world_new_using_rdf_world(librdf_world* rdf_world) { - struct _World* world = (struct _World*)malloc(sizeof(struct _World)); + SLV2World world = (SLV2World)malloc(sizeof(struct _SLV2World)); world->world = rdf_world; -- cgit v1.2.1