aboutsummaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-02-10 22:11:54 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-02-10 22:11:54 +0100
commit577fe25f20c2e04b5e6444fbbbbcbc0e93943d7d (patch)
tree01a31c6afab45d264560d1a791f908060e4b80c3 /json.h
parent803deb4a70180f987fdeb99d617631cf9a092b4d (diff)
refactor(json): Input char*
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.h b/json.h
index 588cb6b..072f97d 100644
--- a/json.h
+++ b/json.h
@@ -9,5 +9,5 @@ typedef struct {
Vec *array;
Str *string;
} JSON;
-JSON JSON_parse(Arena *a, Str src);
+JSON JSON_parse(Arena *a, char *src);
#endif