diff options
Diffstat (limited to 'docs/application/type.md')
| -rw-r--r-- | docs/application/type.md | 14 |
1 files changed, 3 insertions, 11 deletions
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 ``` |
