diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/virtfsfuncs.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/fs/virtfsfuncs.h b/src/fs/virtfsfuncs.h index 1b17ac5db..8e0629dcf 100644 --- a/src/fs/virtfsfuncs.h +++ b/src/fs/virtfsfuncs.h @@ -29,8 +29,19 @@ struct VirtFile; -struct VirtFsFuncs +struct VirtFsFuncs final { + VirtFsFuncs() : + close(nullptr), + read(nullptr), + write(nullptr), + fileLength(nullptr), + tell(nullptr), + seek(nullptr), + eof(nullptr) + { + } + int (*close) (VirtFile *restrict const file); int64_t (*read) (VirtFile *restrict const file, void *restrict const buffer, |