summaryrefslogtreecommitdiff
path: root/docs/application/map.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-07-08 20:21:32 -0400
committernodist <kevin.comas.git@gmail.com>2026-07-08 20:21:32 -0400
commit4b46d1e1b306a8573113aa971c5f8811256e2bd0 (patch)
treedc26bf8eb4185978063f91dc1c793bf79b06159e /docs/application/map.md
parent51c371db6ced53b8f9198890672961ef912a9aad (diff)
ring buffer pool allocators
Diffstat (limited to 'docs/application/map.md')
-rw-r--r--docs/application/map.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/application/map.md b/docs/application/map.md
index 01ba57f..18fa7a8 100644
--- a/docs/application/map.md
+++ b/docs/application/map.md
@@ -6,13 +6,13 @@
```c
typedef struct _kpl_map_bucket {
- KPL_SLAB_LIST_HEADER(struct _kpl_map_bucket);
+ struct _kpl_map_bucket *prev, *next;
kpl_any key, value;
} kpl_map_bucket;
typedef struct _kpl_map {
- KPL_ALLOC_HEADER(struct _kpl_map);
- uint32_t used_buckets, available_buckets;
+ KPL_DYNAMIC_OBJ_HEADER();
+ int32_t available_buckets;
kpl_interface *key_interface, *value_interface;
kpl_map_bucket *head, *tail;
kpl_map_bucket *buckets[];