From cf9285b1dbdf687630076149413f16e5d4af82e8 Mon Sep 17 00:00:00 2001 From: nodist Date: Sun, 28 Jun 2026 13:41:22 -0400 Subject: type body object definitions and garbage collection algo --- docs/type_system/namespace.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'docs/type_system/namespace.md') 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 -- cgit v1.2.3