summaryrefslogtreecommitdiff
path: root/src/platform/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/file.h')
-rw-r--r--src/platform/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/file.h b/src/platform/file.h
index a8aa8ea..5e5e1e1 100644
--- a/src/platform/file.h
+++ b/src/platform/file.h
@@ -10,17 +10,17 @@
#include "str.h"
typedef struct str8_opt {
- str8 contents;
+ Str8 contents;
bool has_value;
} str8_opt;
const char* string_from_file(const char* path);
-str8_opt str8_from_file(arena* a, str8 path);
+str8_opt str8_from_file(arena* a, Str8 path);
typedef struct {
char* data;
size_t size;
} FileData;
-FileData load_spv_file(const char* path); \ No newline at end of file
+FileData load_spv_file(const char* path);