aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-11 20:47:51 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit6eb1fa15a06ab7de08e33add1540a45b83c5f0d8 (patch)
tree86d3cfedbf2ff76878eba6d14dc7fc259d1cbf46 /src/reader.h
parentd1ba721d37af61f2b529faaa16bd20ba1e161b06 (diff)
downloadserd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.tar.gz
serd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.tar.bz2
serd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.zip
Add SerdWorld for shared library state
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h
index c562ac6c..28889307 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -17,6 +17,7 @@
#include "serd/statement.h"
#include "serd/status.h"
#include "serd/syntax.h"
+#include "serd/world.h"
#include <assert.h>
#include <stdbool.h>
@@ -32,6 +33,7 @@ typedef struct {
} ReadContext;
struct SerdReaderImpl {
+ SerdWorld* world;
const SerdSink* sink;
SerdErrorFunc error_func;
void* error_handle;