diff options
Diffstat (limited to 'src/platform/file.h')
-rw-r--r-- | src/platform/file.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/platform/file.h b/src/platform/file.h index 8bb22c8..a8aa8ea 100644 --- a/src/platform/file.h +++ b/src/platform/file.h @@ -16,4 +16,11 @@ typedef struct str8_opt { const char* string_from_file(const char* path); -str8_opt str8_from_file(arena* a, str8 path);
\ No newline at end of file +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 |