aboutsummaryrefslogtreecommitdiff
path: root/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string.h')
-rw-r--r--string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.h b/string.h
index d8835f4..10b3869 100644
--- a/string.h
+++ b/string.h
@@ -12,6 +12,6 @@ typedef struct {
} Str;
int Str_equals(Str a, Str b);
uint64_t Str_hash64(Str s);
-Str Str_copy(Arena *a, char *data, uintptr_t len);
+Str* Str_copy(Arena *a, char *data, uintptr_t len);
void Str_print(Str s);
#endif