src/json.c

changeset 973
05910a8994f7
parent 969
72e5432f6b42
child 976
d9063c14d3fb
--- a/src/json.c	Sat Nov 02 19:27:45 2024 +0100
+++ b/src/json.c	Sat Nov 02 19:37:59 2024 +0100
@@ -599,11 +599,12 @@
     free(p->value_str);
 }
 
-void cxJsonFill(CxJson *p, const char *buf, size_t size) {
+int cxJsonFilln(CxJson *p, const char *buf, size_t size) {
     // TODO: implement rescue buffer like in CxProperties to allow subsequent fills
     p->buffer = buf;
     p->size = size;
     p->pos = 0;
+    return 0;
 }
 
 int cxJsonNext(CxJson *p, CxJsonValue **value) {

mercurial