summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
Diffstat (limited to 'slv2')
-rw-r--r--slv2/world.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/slv2/world.h b/slv2/world.h
index 6cd1402..b5a4f30 100644
--- a/slv2/world.h
+++ b/slv2/world.h
@@ -21,6 +21,7 @@
#include <slv2/plugins.h>
#include <slv2/pluginclasses.h>
+#include <librdf.h>
#ifdef __cplusplus
extern "C" {
@@ -52,6 +53,12 @@ SLV2World
slv2_world_new();
+/** Initialize a new, empty world, using an existing Redland context.
+ */
+SLV2World
+slv2_world_new_using_rdf_world(librdf_world* world);
+
+
/** Destroy the world, mwahaha.
*
* NB: Destroying the world will leave dangling references in any plugin lists,