diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/system/fileutils.h | 4 |
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 */ |