summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-10 13:40:55 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-10 13:40:55 +0100
commit2e94b629703396eb2cca7427bb96a938c11afc43 (patch)
treefe87b5798141cb08752c411be89dbac9edb7d75b
parent076a40465f2a962e01ab723fe6c3c5dff144c8a6 (diff)
Add missing const to jv_string_value() declaration
-rw-r--r--jq.pyx2
1 files changed, 1 insertions, 1 deletions
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)