aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/strings.c
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-02-02 21:55:20 +0000
committerMichael Williamson <mike@zwobble.org>2024-02-02 22:08:35 +0000
commit26092973fe989c6b6ff16d6713c32d76603458a1 (patch)
tree598b2c506962cf7e1c2e5af1b97098c23f645586 /runtime/src/strings.c
parent11758c5da6ee5ff0ecc747810c9ea12a4fa1bf8b (diff)
Reduce size of GC object header
Diffstat (limited to 'runtime/src/strings.c')
-rw-r--r--runtime/src/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/strings.c b/runtime/src/strings.c
index 919e3daa..8ef25433 100644
--- a/runtime/src/strings.c
+++ b/runtime/src/strings.c
@@ -2,7 +2,7 @@
#include "./strings.h"
ShedString shed__runtime__string_alloc(ShedStringLength length) {
- return shed__runtime__gc_alloc(sizeof(struct ShedString) + length, 0, 0);
+ return shed__runtime__gc_alloc(sizeof(struct ShedString) + length, 0);
}
ShedString shed__runtime__string_add(ShedString left, ShedString right) {