aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-23 17:46:25 +0000
committerDavid Robillard <d@drobilla.net>2011-01-23 17:46:25 +0000
commitbdae0a9015cb399e11525d4296c1a910d038e3dc (patch)
tree82e29fec9225745bc4ab0493ef8603381624ce2a /src/serdi.c
parentebcef72577398fa10a6ad6545317f704bcf9a1c4 (diff)
downloadserd-bdae0a9015cb399e11525d4296c1a910d038e3dc.tar.gz
serd-bdae0a9015cb399e11525d4296c1a910d038e3dc.tar.bz2
serd-bdae0a9015cb399e11525d4296c1a910d038e3dc.zip
Shrink code.
git-svn-id: http://svn.drobilla.net/serd/trunk@47 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 5c176ce8..d8b88dd0 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -96,23 +96,20 @@ event_prefix(void* handle,
static bool
event_statement(void* handle,
- const SerdString* graph,
- const SerdString* subject,
- SerdType subject_type,
- const SerdString* predicate,
- SerdType predicate_type,
- const SerdString* object,
- SerdType object_type,
+ const SerdString* graph, SerdType graph_type,
+ const SerdString* subject, SerdType subject_type,
+ const SerdString* predicate, SerdType predicate_type,
+ const SerdString* object, SerdType object_type,
const SerdString* object_datatype,
const SerdString* object_lang)
{
State* const state = (State*)handle;
- return serd_writer_write_statement(
- state->writer,
- graph,
- subject, subject_type,
- predicate, predicate_type,
- object, object_type, object_datatype, object_lang);
+ return serd_writer_write_statement(state->writer,
+ graph, graph_type,
+ subject, subject_type,
+ predicate, predicate_type,
+ object, object_type,
+ object_datatype, object_lang);
}
static bool