From cff67f93caeb3f98261860904dd232f6b551299e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Feb 2019 00:02:41 +0100 Subject: fix crashes --- include/std/file.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/std/file.h') diff --git a/include/std/file.h b/include/std/file.h index ac2abec..53d9da3 100644 --- a/include/std/file.h +++ b/include/std/file.h @@ -24,4 +24,6 @@ CHECK_RESULT int scan_dir_recursive(const char *dir_path, scan_dir_callback_func CHECK_RESULT int mapped_file_init(MappedFile *self, const char *filepath, MappedFileMode file_mode); CHECK_RESULT int mapped_file_deinit(MappedFile *self); +CHECK_RESULT int read_whole_file(const char *filepath, char **data, usize *size); + #endif \ No newline at end of file -- cgit v1.2.3