summaryrefslogtreecommitdiff
path: root/docs/application/type.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-22 16:00:30 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-22 16:00:30 -0400
commit00f17d7a204d8add2426cc0b26a2158fd1dc62f6 (patch)
tree3b6ef46cfcd22f3f760d3351b68d0549dcd8a640 /docs/application/type.md
parent3a9cf2508dc7341a6d8ff4b8174064600d704994 (diff)
slab allocted through alloc
Diffstat (limited to 'docs/application/type.md')
-rw-r--r--docs/application/type.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/application/type.md b/docs/application/type.md
index 5ca4469..c985b35 100644
--- a/docs/application/type.md
+++ b/docs/application/type.md
@@ -10,7 +10,7 @@
#define KPL_TYPE_BLOCKS_SIZE UINT16_MAX
typedef struct {
- uint16_t block_index, array_index;
+ uint16_t slab_index, slab_array_index;
} kpl_type_ptr;
static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX };
@@ -39,9 +39,5 @@ typedef struct {
kpl_type_body body;
} kpl_type;
-static size_t type_array_block_index;
-
-static kpl_type *type_array_blocks[KPL_TYPE_BLOCKS_SIZE];
-
-static kpl_type_ptr type_pool_head;
+// TODO slab store for kpl_type_ptr
```