9 Commits

Author SHA1 Message Date
jun
614a9716cc 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-05-15 20:53:50 +02:00
jun
894d9e8fc4 Add name to alloc_tracker 2025-05-14 17:08:15 +02:00
jun
37f9011166 Add guf_alloc_tracker 2025-05-14 14:47:20 +02:00
jun
c4f3616b23 Refactor tests 2025-05-13 17:36:08 +02:00
jun
7630ecfdcf Change directory structure 2025-03-21 00:22:34 +01:00
jun
364dd603cf Fix guf_dict size types 2025-03-06 13:51:32 +01:00
jun
60e2849b01 Work on utf-8 2025-02-26 03:57:04 +01:00
jun
7a990c810e Add more tests 2025-02-25 15:12:38 +01:00
jun
6abe12c4c1 Improve tests 2025-02-25 14:01:20 +01:00