aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd/error.h')
-rw-r--r--include/serd/error.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/serd/error.h b/include/serd/error.h
index 79b22a29..7051bd4f 100644
--- a/include/serd/error.h
+++ b/include/serd/error.h
@@ -28,13 +28,13 @@ typedef struct {
} SerdError;
/**
- Callback function for errors.
+ Callback function to log errors.
@param handle Handle for user data.
@param error Error description.
*/
-typedef SerdStatus (*SerdErrorFunc)(void* ZIX_NULLABLE handle,
- const SerdError* ZIX_NONNULL error);
+typedef SerdStatus (*SerdLogFunc)(void* ZIX_NULLABLE handle,
+ const SerdError* ZIX_NONNULL error);
/**
@}