diff options
author | David Robillard <d@drobilla.net> | 2018-11-26 22:14:39 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-26 22:14:39 +0100 |
commit | af475a0c5ee0f61c3046caa0d9b563c07a14d995 (patch) | |
tree | 6b6db89aa95772dbd60cff12315d535f709d812a /src/world.h | |
parent | 2a1a2522b23122e2428019489df9ddb5b0ec30ea (diff) | |
download | serd-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.h | 6 |
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, ...); |