summaryrefslogtreecommitdiff
path: root/docs/type_system/namespace.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-28 13:41:22 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-28 13:41:22 -0400
commitcf9285b1dbdf687630076149413f16e5d4af82e8 (patch)
tree7c10f7587cab9cd40c0d1b9e019cd4a2135e7193 /docs/type_system/namespace.md
parent254059e2ea2df0cd63cf75d836ac9ebe00a28302 (diff)
type body object definitions and garbage collection algoHEADmain
Diffstat (limited to 'docs/type_system/namespace.md')
-rw-r--r--docs/type_system/namespace.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/type_system/namespace.md b/docs/type_system/namespace.md
index 8e300b9..d3a43db 100644
--- a/docs/type_system/namespace.md
+++ b/docs/type_system/namespace.md
@@ -3,7 +3,18 @@
---
```text
-Namespace[[NATIVE | MODULE] NAMESPACE_IDENTIFIER]
+Namespace[[NATIVE | MODULE | MAIN] NAMESPACE_POINTER]
+```
+
+## Type Body Object Definitions
+
+```c
+typedef struct {
+ union {
+ kpl_namespace_native *native;
+ kpl_namespace_module *module;
+ } namespace;
+} kpl_type_body_namespace;
```
## Exports