Rot127
f84510dc08
Add rz_set_u_take(). ( #6137 )
2026-04-04 12:04:25 +00:00
Rot127
dcb4acf661
Rename clean -> clear to match common API names. ( #5891 )
2026-02-08 15:03:52 +00:00
Rot127
0d5e300874
librz/util: add clean() function to hash tables and sets. ( #5889 )
2026-02-08 14:42:48 +08:00
Rot127
aaf9588c44
Constify rz_set_u/s_contains() ( #5888 )
2026-02-08 14:40:14 +08:00
Anton Angelov
067e319bac
Use ht_xx_size() instead of reading ht internal state ( #5885 )
2026-02-07 16:17:18 +00:00
Rot127
35731483dd
util: implement iterator for hash tables and sets ( #4639 )
...
* Implement iterators for hash tables.
* Implement iterator over set.
* Constify get-size() of hash tables.
* Mention iterators in documentation.
2024-09-24 21:36:54 +08:00
pelijah
50871923d6
Fix missing rz prefix for set_s_free ( #4512 )
2024-05-23 16:46:27 +08:00
pelijah
e4958fc146
Add rz prefix to set types/APIs ( #4499 )
2024-05-18 11:37:31 +03:00
pelijah
61c8074cbf
Add set_s_to_vector() API
2024-05-11 08:09:59 +08:00
pelijah
f2d8e0db3d
Add HtSP, HtSS, HtSU, SetS ( #4415 )
...
- All `ht_*_new0()` are removed
- `freefn` field of HT options was renamed to `finiKV`
- `finiKV_user` fields was added to HT options
- Added `ht_*_new_opt_size` API
- `HtSP` and `HtUP` are created with `ValueFree` callback that allows to reduce extra LOC and prevent bugs
- `SetP` replaced with `SetS` (based on `HtSP`)
- `rz_th_ht_*_new0()` and `rz_th_ht_*_new_opt()` are replaced with `rz_th_ht_*_new(HtXX *)`
2024-04-16 20:27:48 +08:00
Khairul Azhar Kasmiran
7a7945c1f7
Remove ../include/rz_util from rz_util_includes ( #3935 )
2023-10-22 19:38:56 +08:00
vansh
fb863aeb1c
Move Hashtable and Set primitives to RzUtil ( #3910 )
...
* update meson.build for changed file paths
* move ht_*.h to librz/include/rz_util
* add librz/include/rz_util/ht_*.h to librz/include/meson.build
2023-10-12 17:45:48 +02:00