diff options
author | David Robillard <d@drobilla.net> | 2018-11-26 22:14:39 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | ab7be940e5b9c74a842ec286abefa431ab8a840a (patch) | |
tree | 694d866afe94f64528c5ffb1727c4eb2a4f113d9 /src/world.h | |
parent | 21db1e0ea65ff57edb23c204ea94fac9b1e5c3d3 (diff) | |
download | serd-ab7be940e5b9c74a842ec286abefa431ab8a840a.tar.gz serd-ab7be940e5b9c74a842ec286abefa431ab8a840a.tar.bz2 serd-ab7be940e5b9c74a842ec286abefa431ab8a840a.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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.h b/src/world.h index 9ac13a95..f4e7ee3e 100644 --- a/src/world.h +++ b/src/world.h @@ -24,8 +24,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; @@ -39,7 +39,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, ...); |