'length' function now measures string length in codepoints, not bytes.
This commit is contained in:
1 parent
c496a924ce
commit
e83e51eb56
9 files changed
+29
-17
No files matched your search
@@ -82,7 +82,8 @@ jv jv_array_slice(jv, int, int);
|
||||
|
||||
jv jv_string(const char*);
|
||||
jv jv_string_sized(const char*, int);
|
||||
int jv_string_length(jv);
|
||||
int jv_string_length_bytes(jv);
|
||||
int jv_string_length_codepoints(jv);
|
||||
uint32_t jv_string_hash(jv);
|
||||
const char* jv_string_value(jv);
|
||||
jv jv_string_concat(jv, jv);
|
||||
|
||||
Reference in new issue
Block a user