summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-28 00:19:34 +0000
committerDavid Robillard <d@drobilla.net>2011-04-28 00:19:34 +0000
commit6259cdfd5365898a3be6e2967714e610b93acee2 (patch)
tree2efb66fccf105deb41b5b897056dd67b142ca672 /src/slv2_internal.h
parent03e318d5d80b0cfda96efc58e270693eeabe9a79 (diff)
downloadlilv-6259cdfd5365898a3be6e2967714e610b93acee2.tar.gz
lilv-6259cdfd5365898a3be6e2967714e610b93acee2.tar.bz2
lilv-6259cdfd5365898a3be6e2967714e610b93acee2.zip
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3202 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index 539232a..2ca71fe 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -60,8 +60,8 @@ static inline char* dlerror(void) { return "Unknown error"; }
#define SLV2_NS_XSD (const uint8_t*)"http://www.w3.org/2001/XMLSchema#"
#define SLV2_NS_RDF (const uint8_t*)"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-typedef SordIter SLV2Matches;
-typedef SordNode SLV2Node;
+typedef SordIter* SLV2Matches;
+typedef SordNode* SLV2Node;
#define FOREACH_MATCH(iter) \
for (; !sord_iter_end(iter); sord_iter_next(iter))
@@ -224,8 +224,8 @@ typedef struct {
/** Model of LV2 (RDF) data loaded from bundles.
*/
struct _SLV2World {
- SordWorld world;
- SordModel model;
+ SordWorld* world;
+ SordModel* model;
SerdReader* reader;
SerdEnv* namespaces;
unsigned n_read_files;