1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add string slicing

This commit is contained in:
Nicolas Williams
2013-11-29 12:50:02 -06:00
parent 5aadaa79eb
commit 884e6c7d8b
3 changed files with 72 additions and 2 deletions

1
jv.h
View File

@@ -82,6 +82,7 @@ int jv_string_length_bytes(jv);
int jv_string_length_codepoints(jv);
unsigned long jv_string_hash(jv);
const char* jv_string_value(jv);
jv jv_string_slice(jv j, int start, int end);
jv jv_string_concat(jv, jv);
jv jv_string_fmt(const char*, ...);
jv jv_string_append_codepoint(jv a, uint32_t c);