diff options
author | David Robillard <d@drobilla.net> | 2011-04-27 18:42:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-27 18:42:32 +0000 |
commit | 12880a451ad29c7a53ab0de23bea3c481f493f52 (patch) | |
tree | 95548f12419400abd4f373cd4a520824b336cfcb /src/sordi.c | |
parent | c7674e42ab2389265a00ecfe94d42f0a521eb81b (diff) | |
download | sord-12880a451ad29c7a53ab0de23bea3c481f493f52.tar.gz sord-12880a451ad29c7a53ab0de23bea3c481f493f52.tar.bz2 sord-12880a451ad29c7a53ab0de23bea3c481f493f52.zip |
Update for new Serd API.
git-svn-id: http://svn.drobilla.net/sord/trunk@86 3d64ff67-21c5-427c-a301-fe4f08042e5a
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 }; |