diff options
author | David Robillard <d@drobilla.net> | 2023-12-02 12:13:56 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 20eb7727954f9d8b7164146895904bbe595f5932 (patch) | |
tree | 7db505d2ad5878a57bb5ed31af012ec61ffce772 /src | |
parent | b992fe3ef83e102a999084070214b8295f824f6a (diff) | |
download | serd-20eb7727954f9d8b7164146895904bbe595f5932.tar.gz serd-20eb7727954f9d8b7164146895904bbe595f5932.tar.bz2 serd-20eb7727954f9d8b7164146895904bbe595f5932.zip |
Rename SerdErrorFunc to SerdLogFunc
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.h | 2 | ||||
-rw-r--r-- | src/world.c | 6 | ||||
-rw-r--r-- | src/world.h | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/reader.h b/src/reader.h index 7bd4ff95..17c0c49d 100644 --- a/src/reader.h +++ b/src/reader.h @@ -36,7 +36,7 @@ typedef struct { struct SerdReaderImpl { SerdWorld* world; const SerdSink* sink; - SerdErrorFunc error_func; + SerdLogFunc error_func; void* error_handle; SerdNode* rdf_first; SerdNode* rdf_rest; diff --git a/src/world.c b/src/world.c index 837298f4..cb4ba02d 100644 --- a/src/world.c +++ b/src/world.c @@ -154,9 +154,9 @@ serd_world_get_blank(SerdWorld* const world) } void -serd_world_set_error_func(SerdWorld* world, - SerdErrorFunc error_func, - void* handle) +serd_world_set_error_func(SerdWorld* world, + SerdLogFunc error_func, + void* handle) { world->error_func = error_func; world->error_handle = handle; diff --git a/src/world.h b/src/world.h index 96252a7a..83393a5a 100644 --- a/src/world.h +++ b/src/world.h @@ -13,11 +13,11 @@ #include <stdio.h> struct SerdWorldImpl { - SerdLimits limits; - SerdErrorFunc error_func; - void* error_handle; - uint32_t next_blank_id; - SerdNode* blank_node; + SerdLimits limits; + SerdLogFunc error_func; + void* error_handle; + uint32_t next_blank_id; + SerdNode* blank_node; }; /// Open a file configured for fast sequential reading |