3 Commits

Author SHA1 Message Date
bc4a8918e2 Add string functions 2025-12-23 14:11:06 +01:00
fad608e2ed Fix failed assertion in guf_str_copy
An assertion GUF_ASSERT(str_is_valid(dst)) failed in guf_str_copy when it called guf_str_cstr(dst)
 since guf_str_cstr assumes an already valid string, which was not the case when src was a short string.

Therefore, we get the dst's c_str now without calling guf_str_cstr(dst)

(Found by writing DbufStrTest.)
2025-12-23 14:11:06 +01:00
b541100a76 Change directory structure 2025-12-23 14:11:05 +01:00