aboutsummaryrefslogtreecommitdiff
path: root/builtins/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-29 12:37:09 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-29 12:37:09 -0500
commitec75208980f29628604aed45a4f64cfa3c62e0df (patch)
treeb1cf929cb2735f8ad258c60317410e111ad58462 /builtins/types.h
parenta7bbbe9584f6e4cd35c9a78e8f83b458ddd8f914 (diff)
Fix up some import issues and improve arrays to use saturating refcounts
instead of .copy_on_write
Diffstat (limited to 'builtins/types.h')
-rw-r--r--builtins/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/types.h b/builtins/types.h
index a11a95c7..019cc970 100644
--- a/builtins/types.h
+++ b/builtins/types.h
@@ -25,13 +25,13 @@ typedef struct TypeInfo {
} CustomInfo;
struct {
const char *sigil;
- struct TypeInfo *pointed;
+ const struct TypeInfo *pointed;
} PointerInfo;
struct {
- struct TypeInfo *item;
+ const struct TypeInfo *item;
} ArrayInfo;
struct {
- struct TypeInfo *key, *value;
+ const struct TypeInfo *key, *value;
} TableInfo;
struct {
const char *type_str;