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-12-31 11:37:49 -0500
commit66412dc1084040263f8ec75fde51129176a053de (patch)
tree9e7b686844bd3bdde13f73a176b6a937118cbf96 /src/world.h
parent086c16d97a70baa782aed938e16c500d1cda53be (diff)
downloadserd-66412dc1084040263f8ec75fde51129176a053de.tar.gz
serd-66412dc1084040263f8ec75fde51129176a053de.tar.bz2
serd-66412dc1084040263f8ec75fde51129176a053de.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..7acc5b6b 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_log(const SerdWorld* world, const SerdMessage* msg);
SerdStatus
serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...);