diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-10 10:21:32 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-10 10:21:32 -0400 |
| commit | aebce1e48e81559ffe5f496af855a1140d8e0107 (patch) | |
| tree | 4ae6a60e627e26a8cf748fef80de8929ddd2e83e /docs/application/type.md | |
| parent | 2ed2fbbc6f233f8aedf14e5d064451c3dea90d87 (diff) | |
rename shared qualifier to gc
Diffstat (limited to 'docs/application/type.md')
| -rw-r--r-- | docs/application/type.md | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
