aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-09 19:07:08 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-09 19:07:08 +0200
commit15cb00dfffd777e97abf8732f84a3c3c3bd659e9 (patch)
tree1d0d399625edc249d736db1e7443afc2a2e84c19 /include
parentcc142e3e8223b6854ea08ba944c0a24905eedf88 (diff)
const
Diffstat (limited to 'include')
-rw-r--r--include/mgl/system/fileutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mgl/system/fileutils.h b/include/mgl/system/fileutils.h
index 5add345..6a5d139 100644
--- a/include/mgl/system/fileutils.h
+++ b/include/mgl/system/fileutils.h
@@ -27,11 +27,11 @@ typedef struct {
} mgl_memory_mapped_file_load_options;
/* |load_options| can be null, in which case the default options are used */
-int mgl_load_file(const char *filepath, mgl_filedata *filedata, mgl_file_load_options *load_options);
+int mgl_load_file(const char *filepath, mgl_filedata *filedata, const mgl_file_load_options *load_options);
void mgl_filedata_free(mgl_filedata *self);
/* |load_options| can be null, in which case the default options are used */
-int mgl_mapped_file_load(const char *filepath, mgl_memory_mapped_file *memory_mapped_file, mgl_memory_mapped_file_load_options *load_options);
+int mgl_mapped_file_load(const char *filepath, mgl_memory_mapped_file *memory_mapped_file, const mgl_memory_mapped_file_load_options *load_options);
void mgl_mapped_file_unload(mgl_memory_mapped_file *memory_mapped_file);
#endif /* MGL_FILEUTILS_H */