aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-26 22:14:39 +0100
committerDavid Robillard <d@drobilla.net>2018-11-26 22:14:39 +0100
commitaf475a0c5ee0f61c3046caa0d9b563c07a14d995 (patch)
tree6b6db89aa95772dbd60cff12315d535f709d812a /src/world.h
parent2a1a2522b23122e2428019489df9ddb5b0ec30ea (diff)
downloadserd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.tar.gz
serd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.tar.bz2
serd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.zip
Rename SerdError to SerdMessage
Towards more general usage for all types of logging.
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.h b/src/world.h
index 232d458f..724bd038 100644
--- a/src/world.h
+++ b/src/world.h
@@ -23,8 +23,8 @@
struct SerdWorldImpl {
SerdNodes* nodes;
- SerdErrorSink error_sink;
- void* error_handle;
+ SerdMessageSink msg_sink;
+ void* msg_handle;
uint32_t next_blank_id;
SerdNode* blank_node;
const SerdNode* rdf_first;
@@ -38,7 +38,7 @@ struct SerdWorldImpl {
FILE* serd_world_fopen(SerdWorld* world, const char* path, const char* mode);
-SerdStatus serd_world_error(const SerdWorld* world, const SerdError* e);
+SerdStatus serd_world_error(const SerdWorld* world, const SerdMessage* msg);
SerdStatus
serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...);