diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-11 12:08:10 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-11 12:08:10 -0400 |
| commit | 20a19f433956f063d8048f032aaf5dcce1d61e7c (patch) | |
| tree | c9720211c62e75a245c252c82f6353e5162fcb86 /docs/application/type.md | |
| parent | 51d055dc7e1a6edbaedb7ea80b1e678eff924fe0 (diff) | |
add algo for mutating shared object
Diffstat (limited to 'docs/application/type.md')
| -rw-r--r-- | docs/application/type.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/application/type.md b/docs/application/type.md index 03cc055..e462e6d 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -19,12 +19,11 @@ typedef enum : uint8_t { // ... } kpl_type_template; -typedef enum : uint8_t { +typedef enum { CONST = 1 << 0, EMPTY = 1 << 1, REF = 1 << 2, - SHARED = 1 << 3, - LOCK = 1 << 4 + SHARED = 1 << 3 } kpl_type_qualifiers; typedef union { @@ -33,7 +32,7 @@ typedef union { typedef struct { kpl_type_template template; - kpl_type_qualifiers qualifiers; + uint8_t qualifiers; uint16_t modifiers; _Atomic int32_t ref_count; kpl_type_ptr self, prev, next, parent; |
