From 20eb7727954f9d8b7164146895904bbe595f5932 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Dec 2023 12:13:56 -0500 Subject: Rename SerdErrorFunc to SerdLogFunc --- src/reader.h | 2 +- src/world.c | 6 +++--- src/world.h | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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 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 -- cgit v1.2.1