From aebce1e48e81559ffe5f496af855a1140d8e0107 Mon Sep 17 00:00:00 2001 From: nodist Date: Wed, 10 Jun 2026 10:21:32 -0400 Subject: rename shared qualifier to gc --- docs/application/type.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/application/type.md') diff --git a/docs/application/type.md b/docs/application/type.md index 1967386..735d752 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -15,15 +15,15 @@ typedef struct { static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX }; -typedef enum : uint8_t { +typedef enum : uint16_t { // ... } kpl_type_template; -typedef enum : uint8_t { +typedef enum : uint16_t { CONST = 1 << 0 EMPTY = 1 << 1, REF = 1 << 2, - SHARED = 1 << 3, + GC = 1 << 3 } kpl_type_flags; typedef union { @@ -33,7 +33,7 @@ typedef union { typedef struct { kpl_type_template template; kpl_type_flags flags; - _Atomic unt16_t ref_count; + _Atomic int32_t ref_count; kpl_type_ptr self, prev, next, parent; kpl_type_body body; } kpl_type; -- cgit v1.2.3