From 39fe9be4dc6e85ba221de405c4ce90ee78514b18 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 4 Aug 2025 12:44:00 -0400 Subject: [PATCH] Clarify header comments --- include/weaseljson.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/weaseljson.h b/include/weaseljson.h index 93d734b..cafce4a 100644 --- a/include/weaseljson.h +++ b/include/weaseljson.h @@ -8,14 +8,15 @@ extern "C" { struct WeaselJsonCallbacks { void (*on_begin_object)(void *userdata); void (*on_end_object)(void *userdata); - /** The string data provided has already been unescaped. If `done` is false, - * this string may be incomplete and there will be another call with more data + /** The string data provided has already been unescaped, unless the + * WeaselJsonRaw flag is used. If `done` is false, this string may be + * incomplete and there will be another call, potentially with more data */ void (*on_string_data)(void *userdata, const char *buf, int len, int done); void (*on_begin_array)(void *userdata); void (*on_end_array)(void *userdata); /*If `done` is false, this number may be incomplete and there will be another - * call with more data*/ + * call, potentially with more data*/ void (*on_number_data)(void *userdata, const char *buf, int len, int done); void (*on_true_literal)(void *userdata); void (*on_false_literal)(void *userdata);