diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-26 21:04:12 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-26 21:04:12 -0500 |
| commit | a21f9ddfd05c643049c22bb52ab3a60f41933492 (patch) | |
| tree | 8a4e3967f9d8b7863c238a357eb47e978d3a8c41 /src/types.h | |
| parent | 14c8cf34dd75fcf49cc56025efa93dd32e1958fd (diff) | |
Bugfix for accidental violation of immutable value guarantees due to
inner field members
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index b8f9a42f..8a2175d9 100644 --- a/src/types.h +++ b/src/types.h @@ -150,6 +150,7 @@ typedef enum { } precision_cmp_e; PUREFUNC precision_cmp_e compare_precision(type_t *a, type_t *b); PUREFUNC bool has_heap_memory(type_t *t); +PUREFUNC bool has_refcounts(type_t *t); PUREFUNC bool has_stack_memory(type_t *t); PUREFUNC bool can_promote(type_t *actual, type_t *needed); PUREFUNC const char *enum_single_value_tag(type_t *enum_type, type_t *t); |
