diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-15 15:23:58 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-15 15:23:58 -0400 |
| commit | 47a27b0fd6eb0831a74479883ba0b4c30d226fbe (patch) | |
| tree | a77cb6d6beb89a944131de701b6bb4e96b7e0003 /docs/application/map.md | |
| parent | 2ec4d95567776f8211cd4588b295415b42876e5c (diff) | |
memory slab as well as pooling
Diffstat (limited to 'docs/application/map.md')
| -rw-r--r-- | docs/application/map.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/application/map.md b/docs/application/map.md index f2400a6..fd412e5 100644 --- a/docs/application/map.md +++ b/docs/application/map.md @@ -6,15 +6,15 @@ ```c typedef struct _kpl_map_bucket { - KPL_POOL_HEADER(_kpl_map_bucket); + KPL_SLAB_HEADER(_kpl_map_bucket); kpl_any key, value; } kpl_map_bucket; typedef struct _kpl_map { KPL_POOL_HEADER(_kpl_map); - int32_t length; + uint32_t length; kpl_interface *key_interface, *value_interface; - kpl_map_bucket *buckets[]; kpl_map_bucket *head, *tail; + kpl_map_bucket *buckets[]; } kpl_map; ``` |
