diff options
Diffstat (limited to 'docs/application')
| -rw-r--r-- | docs/application/type.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/application/type.md b/docs/application/type.md index 735d752..03cc055 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -15,16 +15,17 @@ typedef struct { static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX }; -typedef enum : uint16_t { +typedef enum : uint8_t { // ... } kpl_type_template; -typedef enum : uint16_t { - CONST = 1 << 0 +typedef enum : uint8_t { + CONST = 1 << 0, EMPTY = 1 << 1, REF = 1 << 2, - GC = 1 << 3 -} kpl_type_flags; + SHARED = 1 << 3, + LOCK = 1 << 4 +} kpl_type_qualifiers; typedef union { // ... @@ -32,7 +33,8 @@ typedef union { typedef struct { kpl_type_template template; - kpl_type_flags flags; + kpl_type_qualifiers qualifiers; + uint16_t modifiers; _Atomic int32_t ref_count; kpl_type_ptr self, prev, next, parent; kpl_type_body body; |
