Commit graph

8 commits

Author SHA1 Message Date
fef
c797540dbc
string: rename string type to nstr_t
This might annoy a bunch of people, but it kinda
follows the "traditional" C coding style and i
like it more.  Also it reminds you that strings
are absolutely not a primitive data type.
2021-07-22 12:20:53 +02:00
fef
b6659a321d
string: add static NSTR_DEFINE initializer macro 2021-07-18 21:00:07 +02:00
fef
30954cd078
string: add tests 2021-07-16 21:47:18 +02:00
fef
7169a434bf
utf: add utf8_ncheck 2021-07-16 13:59:11 +02:00
fef
9b40d46287
utf: add tests for utf8_strlen and utf8_check 2021-07-16 00:25:57 +02:00
fef
f41fc5ad44
test: add tests for utf8_chrsize 2021-07-16 00:12:39 +02:00
fef
3828cfb7c4
utf: add test cases for utf8_from_nchr 2021-07-15 23:49:57 +02:00
fef
630530109b
test: add test cases for utf8_to_nchr 2021-07-15 22:49:49 +02:00