aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-27 13:37:22 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-27 13:37:22 -0500
commit69067d2512ea495224508a854ab617bed0ea5ab5 (patch)
tree958c550420e7b61ed4438560e141909042f2f852 /src/types.h
parent7e85117099cc77a8c083a3479246d5e130b8afe1 (diff)
Bugfix for infinite recursion in some type methods
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/types.h b/src/types.h
index 8a2175d9..76632c66 100644
--- a/src/types.h
+++ b/src/types.h
@@ -149,9 +149,9 @@ typedef enum {
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_refcounts(type_t *t);
-PUREFUNC bool has_stack_memory(type_t *t);
+bool has_heap_memory(type_t *t);
+bool has_refcounts(type_t *t);
+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);
PUREFUNC bool is_int_type(type_t *t);