aboutsummaryrefslogtreecommitdiffstats
path: root/serd
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 /serd
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 'serd')
-rw-r--r--serd/serd.h36
1 files changed, 16 insertions, 20 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 01e58f80..6b27ff18 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -243,16 +243,14 @@ typedef bool (*SerdPrefixSink)(void* handle,
const SerdString* uri);
/** Sink for statements. */
-typedef bool (*SerdStatementSink)(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* object_lang,
- const SerdString* object_datatype);
+typedef bool (*SerdStatementSink)(
+ void* handle,
+ 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_lang,
+ const SerdString* object_datatype);
/** Sink for anonymous node end markers.
* This is called to indicate that the anonymous node with the given
@@ -326,16 +324,14 @@ serd_writer_set_prefix(SerdWriter writer,
/** Write a statement. */
SERD_API
bool
-serd_writer_write_statement(SerdWriter writer,
- const SerdString* graph,
- 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);
+serd_writer_write_statement(
+ SerdWriter writer,
+ 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);
/** Mark the end of an anonymous node's description. */
SERD_API