summaryrefslogtreecommitdiff
path: root/docs/application
diff options
context:
space:
mode:
Diffstat (limited to 'docs/application')
-rw-r--r--docs/application/identifier.md4
-rw-r--r--docs/application/type.md6
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/application/identifier.md b/docs/application/identifier.md
index 3195955..8f85b15 100644
--- a/docs/application/identifier.md
+++ b/docs/application/identifier.md
@@ -7,9 +7,9 @@ Store vars, types and symbols as compressed strings
## Object Definitions
```c
-#define KPL_IDENTIFIER_PARTS 10
+#define KPL_IDENTIFIER_PARTS 9
-// TODO 100 charaters of [A-Za-z0-9_] in 80 bytes
+// TODO 90 charaters of [A-Za-z0-9_] in 72 bytes
typedef struct {
uint64_t parts[KPL_IDENTIFIER_PARTS];
diff --git a/docs/application/type.md b/docs/application/type.md
index e6adc81..43a8f2c 100644
--- a/docs/application/type.md
+++ b/docs/application/type.md
@@ -24,9 +24,9 @@ typedef struct {
kpl_type_template template;
uint8_t qualifiers;
uint16_t modifiers;
- kpl_ptr self;
- uint32_t token_position, token_length;
- int32_t id;
+ kpl_ptr self, prev, next;
+ uint32_t token_position,
+ uint16_t token_length, token_line;
_Atomic int32_t ref_count;
kpl_namespace_module *module;
kpl_type_body body;