object: hashmap: implement key/value destructors

This commit is contained in:
2025-06-27 21:46:55 +01:00
parent 5634506433
commit 579a9e8505
3 changed files with 42 additions and 11 deletions

View File

@@ -20,6 +20,8 @@ struct b_hashmap_bucket {
struct b_hashmap {
struct b_object h_base;
struct b_btree h_buckets;
b_hashmap_key_destructor h_key_dtor;
b_hashmap_value_destructor h_value_dtor;
};
#endif