diff options
Diffstat (limited to 'src/sordi.c')
-rw-r--r-- | src/sordi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sordi.c b/src/sordi.c index 6f4539a..48f3065 100644 --- a/src/sordi.c +++ b/src/sordi.c @@ -23,11 +23,11 @@ #include "sord-config.h" typedef struct { - SerdWriter writer; - SerdEnv env; - SerdNode base_uri_node; - SerdURI base_uri; - SordModel sord; + SerdWriter* writer; + SerdEnv* env; + SerdNode base_uri_node; + SerdURI base_uri; + SordModel sord; } State; int @@ -129,9 +129,9 @@ main(int argc, char** argv) return 1; } - SerdEnv env = serd_env_new(); - SerdWriter writer = serd_writer_new(SERD_TURTLE, SERD_STYLE_ABBREVIATED, - env, &base_uri, file_sink, stdout); + SerdEnv* env = serd_env_new(); + SerdWriter* writer = serd_writer_new(SERD_TURTLE, SERD_STYLE_ABBREVIATED, + env, &base_uri, file_sink, stdout); // Query SordQuad pat = { 0, 0, 0, 0 }; |