From 2e94b629703396eb2cca7427bb96a938c11afc43 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 10 Jul 2026 13:40:55 +0100 Subject: Add missing const to jv_string_value() declaration --- jq.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jq.pyx b/jq.pyx index 1b2056c..c86d7c5 100644 --- a/jq.pyx +++ b/jq.pyx @@ -28,7 +28,7 @@ cdef extern from "jv.h": void jv_free(jv) jv jv_invalid_get_msg(jv) int jv_invalid_has_msg(jv) - char* jv_string_value(jv) + const char* jv_string_value(jv) jv jv_dump_string(jv, int flags) int jv_string_length_bytes(jv) int jv_is_integer(jv) -- cgit v1.2.3