From 88646efb1c2615e6d8ff0a2eae047a5ed2a31dd4 Mon Sep 17 00:00:00 2001 From: nodist Date: Thu, 25 Jun 2026 15:27:38 -0400 Subject: all names will live on global trie --- docs/application/type.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'docs/application/type.md') diff --git a/docs/application/type.md b/docs/application/type.md index c985b35..5377cf6 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -5,16 +5,6 @@ ## Object Definitions ```c -#define KPL_TYPE_BLOCK_ARRAY_SIZE UINT16_MAX - -#define KPL_TYPE_BLOCKS_SIZE UINT16_MAX - -typedef struct { - uint16_t slab_index, slab_array_index; -} kpl_type_ptr; - -static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX }; - typedef enum : uint8_t { // ... } kpl_type_template; @@ -35,9 +25,11 @@ typedef struct { uint8_t qualifiers; uint16_t modifiers; _Atomic int32_t ref_count; + kpl_namespace_module *module; + uint32_t token_line, token_position, token_length; kpl_ptr self; kpl_type_body body; } kpl_type; -// TODO slab store for kpl_type_ptr +// TODO SLAB WITH POOL ``` -- cgit v1.2.3