aboutsummaryrefslogtreecommitdiff
path: root/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string.h')
-rw-r--r--string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/string.h b/string.h
index a984929..2785e99 100644
--- a/string.h
+++ b/string.h
@@ -1,5 +1,6 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include "memory.h"
#include "types.h"
@@ -15,5 +16,5 @@ typedef struct {
int Str_equals(Str a, Str b);
uint64_t Str_hash64(Str s);
Str *Str_copy(Arena *a, byte *data, size len);
-void Str_print(Str s);
+int Str_fprint(FILE *w, Str s);
#endif