diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-18 14:44:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-18 14:44:37 -0500 |
| commit | c6c7cc727290663e50b8a4d28e92214fa805ca95 (patch) | |
| tree | a4f77690d44fedd445178a701969101030790a06 /types.h | |
| parent | aa262344712be27afc02441a309ddde03fa2bec9 (diff) | |
Revert "Deprecate "&" for stack references"
This reverts commit 41c0ea851a542bcd7d54b8c5c06d70e1e00095e1.
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ struct type_s { } ClosureType; struct { type_t *pointed; - bool is_view:1; + bool is_stack:1; } PointerType; struct { const char *name; @@ -144,7 +144,7 @@ type_t *value_type(type_t *a); typedef enum {NUM_PRECISION_EQUAL, NUM_PRECISION_LESS, NUM_PRECISION_MORE, NUM_PRECISION_INCOMPARABLE} 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_view_memory(type_t *t); +PUREFUNC bool has_stack_memory(type_t *t); PUREFUNC bool can_send_over_channel(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); |
