aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-18 12:47:29 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-18 12:47:29 -0400
commitda4d07c6658f6b8189f98dfb051a7299fe45fb62 (patch)
treea452e26675e6fad1aa9e6147dc9bf57d1e08e6ad /types.h
parent752ab8212c7556ed714d1272582e57180b50c5a6 (diff)
Fix up some bigint logic issues
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index 8c3abb75..94896498 100644
--- a/types.h
+++ b/types.h
@@ -141,6 +141,8 @@ bool can_send_over_channel(type_t *t);
bool can_promote(type_t *actual, type_t *needed);
bool can_leave_uninitialized(type_t *t);
bool can_have_cycles(type_t *t);
+bool is_int_type(type_t *t);
+bool is_numeric_type(type_t *t);
type_t *replace_type(type_t *t, type_t *target, type_t *replacement);
size_t type_size(type_t *t);
size_t type_align(type_t *t);